You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
demo1.v<br />
module demo(input clk, mode, output reg [7:0] cnt);<br />
always @(posedge clk) begin<br />
if (cnt != 0 && mode == 0)<br />
cnt