Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

In gate-level simulation, how to set stimulus with respect to PLL generated clk?

Status
Not open for further replies.

nervecell_23

Member level 1
Joined
Apr 26, 2013
Messages
38
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,565
Hi,

I have a design which contains a PLL that generates system clk.
Now I want to do gate-level simulation for that design. Since some of the stimulus in the testbench are with respect to the system clk (The testbench only generates reference clk for the design), I wonder how to capture the system clk generated by PLL?

If I simply set up another clk with the same frequency as the system clk in the testbench, will it work? (I'm not sure whether the rising edge of this clk will be in alignment with the system clk)

Thanks!
 

If stimulus in the testbench are with respect to the system clock then it seems to me the system design needs some work.

An internal clock generated off a PLL shouldn't be used for signals outside the chip, unless you generate a system clock from the FPGA that runs the rest of the system or you are using a zero delay setting for the PLL to remove the clock insertion. Even then you should have constraints on the I/O to address the timing between the internal system clock and the external version of system clock.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top