Hello group,
We are modelling our ASIC in an FPGA (Spartan) for system testing and as a demonstrator.
For power reasons, we have globally (centrally) gated clocks of frequency f, f/2, f/4 etc (named clk_div2, clk_div4) Both the clocks and the gating signals (clk_en) are distributed to the endpoints so that in the FPGA we only have one clock of frequency f (named clk)
For the FPGA, I add a BUFG at the root of clock f, use a generic to disable all clock gates, and apply a constraint for the frequency.
The question is : How do I constrain the frequency f/2, f/4 etc. The synthesis tool optimizes nets clk_div2, clk_div4 so that only one net exists (clk), so I have no where to put the constraints (or do select all endpoints).
(I currently add constraints via the UCF).
Any suggestions or pointers grreatly appreciated.
Thanks,
Steven