Forum Discussion
Altera_Forum
Honored Contributor
11 years agoHave you simulated the code? Software you need is called ModelSim and is supplied with Quartus II.
This does not look fine: assign clk3 = q[24]; // 3 Hz Use your real clock for rising edge and your newly derived clk3 with an if-statement like this: always @(posedge clk) begin if (clk3) begin...