교수가 아래 코드를 제공합니다. 그리고 나는 그것이 결코 멈추지 않을 이유를 알아 내야 만합니다.내 Verilog 테스트 벤치가 절대 멈추지 않아
모듈 tb_problem1();
reg a, b, c, d, e;
wire x;
reg [4:0] ins;
problem1 dut(a, b, c, d, e, x);
initial begin
ins = 0;
while(ins < 32) begin
{a, b, c, d, e} = ins;
#20;
ins = ins + 1;
end
end
endmodule
우리가 ins = ins+1'b1;
을 수행해야하기 때문입니까?
물고기를주는 것보다 ... 디버깅 101 :'$ display'. 교수님은 시험 중 인터넷 접속을 허용 하시겠습니까? – toolic