Forum Discussion
Altera_Forum
Honored Contributor
8 years agoFPGA Development Board - strange shift operation behavior
My development board based on: Cyclone IV EP4CE10E22C8N Quartus: 17.0.0 Lite Edition top-level entity code:
module led4_reg(clk, led);
parameter BASE_LED_SEQUENCE = 12'b000011101101...
Altera_Forum
Honored Contributor
8 years ago --- Quote Start --- Thank you, It's pretty well working. But could you explain me why I can't get previous value for `led` in other always blocks? --- Quote End --- Not sure what you mean by this. led[11:0] is a register, so you can access it at any time in any logic equation within that module. The value will only change when the always block that encloses it is triggered and the value is updated.