Altera_Forum
Honored Contributor
11 years agoClock Enable not a register, RTL Viewer shows a MUX
The design runs off a 250 Mhz clock with a 125 Mhz clock enable. I added the set_multicycle_path constraint to the .SDC file and the design does meet timing. I'm a little concerned how the tool implements the clock enable at the register level. I'm seeing some run-time issues with the design and they appear to be associated with the 125 Mhz clock enable logic. Looking at the RTL Viewer, a clock enable is implemented as a dual mux. The schematic should work, but I'm concerned about timing.
Code... data_in : process (clk_250) begin if clk_250= '1' and clk_250'event then if reset = '1' then lut_data_in <= (others => '0'); elsif clk_125_ce = '1' then lut_data_in <= lut_data_i_reg; end if; end if; end process; RTL Viewer... https://www.alteraforum.com/forum/attachment.php?attachmentid=9274 Any suggestions? I tried using the direct_enable with no success and I'm not sure if I should be concerned about this, or looking in a different section of the design for the error. Code.. attribute direct_enable: boolean; attribute direct_enable of clk_125_ce: signal is true; Thanks