Use only the 144 MHz clock and maybe the 72 MHz. if the others are
necessary because you cant "guess" the correct position of the edge, then
use a double flip flop and an xor to generate internal clock enables for all
the rest (just treat them as inputs.)
A simple state machine could also be used to monitor the other clocks and
generate the same clocks internally to the
FPGA so that they are always in
the correct phase.
You can do the same with the clock sources but remember monostability (add a
third flip flop in front of the two).
Simon
"A Day & A Knight" <
[email protected]> wrote in message
news:
[email protected]
> Hi, there:
>
> I have ASIC source codes from a previous communication chip. It has some
23
> clocks,
> many of them are derived from a 144MHz clock (72/36/24/18/.../2/1MHz),
only
> three from
> other sources. The ASIC codes made use of a clock generator with clock
> gating...
>
> How am I going to handle all these different clocks? In a Vertex chip,
there
> is only 16 clock buffers.
>
> May I use a "always @ posedge clk144mhz clk72mhz <= ~clk72mhz " to
generate
> a 72mhz while
> use same global buffer as 144mhz?
>
> Best Regards,
> Kelvin
>
>
>