Forum Discussion
Altera_Forum
Honored Contributor
14 years agoRotating square in seven segment LED
now I want to make a rotating square using the seven segment.. The pattern I want to create looks something like the attached picture. Im new to verilog so here is the code I came up with... I ...
Altera_Forum
Honored Contributor
14 years agoYour statement:
fourth = 1; fourth = 2; etc does not implement fourth to be 1 then 2. It is compile time settled to fourth = 2 as it updates the sequential statement on same node. you need to create logic for that using a flag: 0 to assign 1, 1 to assign 2 to same signal.