|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
module randomgenerator_test_v;
// Inputs
reg clk;
reg nrst;
// Outputs
wire [3:0] random;
// Instantiate the Unit Under Test (UUT)
randomgenerator uut (
.clk(clk),
.nrst(nrst),
.random(random)
);
initial begin
// Initialize Inputs
clk = 0;
nrst = 0;
// Wait 100 ns for global reset to finish
#100;
always #20 clk=!clk;
// Add stimulus here
#10 nrst=1;
#20 nrst=0;
#20 nrst=1;
end
endmodule
就上面红字体的显示错误,到底是什么问题?我用的是ISE的仿真器
有知道的指教一下! |
|