Very slow clock should be constraint as false path?
Hi there
Ive just created project in which 1200bps rs232 data is sampled and then loaded into 8 paralel registers to leds. All registers but the final latch are driven by 50MHz board, but set clk_enable siganl which is 1200Hz, avoiding as far as i could clock domain cross. It seems working fine based on simulations and timing results.
However my question is, basically quartus considers register on image a clock for sure:
however that clock is just the latch signal to the output registers and happens only 1200hz/11 at most because its only active when new rs232 8 bit data has been captured... I cannot create such a low "derived" clock on constraints as it says divide factor is out of range.
Should be considered false path between clk and output of Word registers?
Im not quite sure how to cover that constraint right now.
Thanks in advance
BR
The problem is that you are using DONE as a clock signal. It's not. You should just create combinatorial logic or better yet synchronize the loading of word with clk.
always @(negedge clk) begin if (reset) begin word<=0; end else if (DONE && clk_enable) begin word<=tmp[7:0]; end end