module top ;
`define A_SRAM_RW(dst_cc_num,src_cc_num)\
if(strm_sel[``dst_cc_num``] == 1'b1)begin\
force top.my_dut.strm_in``dst_cc_num``_en = top.my_dut.strm_in``src_cc_num``_en;\
end
initial begin
`A_SRAM_RW(1,0)
`A_SRAM_RW(2,0)
end
endmodule
————————————————
版权声明:本文为CSDN博主「gsithxy」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/gsjthxy/java/article/details/97030730
网友评论