https://www.bilibili.com/video/BV14L411p7Zn/
本实验为quartus ii 与modelism联合仿真的实验
代码为module upcount (Resetn, Clock, E, Q;input Resetn, Clock, E;
output reg [3:0] Q;
always @(negedge Resetn, posedge Clock)if(!Resetn)
Q<= 0;
else if (E)
Q<=Q+ l;
endmodule