我写的testbench 给 rdaddress的值, 但是
仿真出来的 rdaddress的值是 0~7,0~5 这样14位 而不是 0~14看仿真图
// #10 rdaddress = 3'd0;
#15 rdaddress = 3'd0;
#20 rdaddress = 3'd1;
#20 rdaddress = 3'd2;
#20 rdaddress = 3'd3;
#20 rdaddress = 3'd4;
#20 rdaddress = 3'd5;
#20 rdaddress = 3'd6;
#20 rdaddress = 3'd7;
#20 rdaddress = 3'd8;
#20 rdaddress = 3'd9;
#20 rdaddress = 3'd10;
#20 rdaddress = 3'd11;
#20 rdaddress = 3'd12;
#20 rdaddress = 3'd13;
3’d111;不是 十进制111吗 不是7吧???
一周热门 更多>