melpeza
Newbie level 4
- Joined
- Jun 10, 2014
- Messages
- 6
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 41
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: