How to compare integer values with binary in for loop for Delay Generation in Synthesis?
I still do not know how to generate delay in Verilog for synthesis and call it any line in Verilog for synthesis. For finding this, I write code, but it does not work. Please help me if you know how to generate delay and call in any line like a C function. Actually if you tell me why I use for loop here then my answer is I want to move pointer inside for loop until and unless they completes its calculation that I made for delay generation. module state_delay; reg Clk=1'b0; reg [3:0]stmp=4'b0000; integer i,a; always begin #50 Clk=~Clk; end always @(posedge Clk) begin a=1'b1; delay(); a=1'b0; de
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.