Forum Discussion
Altera_Forum
Honored Contributor
11 years agoRemember that verilog and vhdl aren't software, they generate hardware. To do something at the first clock edge when rdy is 1 use:
always @(posedge(clk))
begin
if (rdy == 1)
stuff to do goes here
endif
end
This will synthesize into what I think you are after.