melpeza
Newbie level 4
Hi,
do you know how to correctly implement this:
I would like to do something in while loop.. After that i would like to generate internal signal that the while loop has finished... So, my question is, are these two operations parallel, or while loop first finish, and after that signal generates...
My code is:
Thanks!!!
do you know how to correctly implement this:
I would like to do something in while loop.. After that i would like to generate internal signal that the while loop has finished... So, my question is, are these two operations parallel, or while loop first finish, and after that signal generates...
My code is:
Code Verilog - [expand] 1 2 3 4 5 6 7 8 9 10 always @ (posedge mem_full) begin while( br2 < br1) begin out = out*mem[br1+1] + mem[br2]; br2 = br2+1; end signal = 1; end
Thanks!!!
Last edited by a moderator: