Multiple clocks in test bench [Xilinx ISE]

Status
Not open for further replies.

neocool

Member level 4
Joined
Jun 3, 2004
Messages
79
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,112
multiple clocks ise

I have created a test bench using Xilinx ISE software with multiple clocks and realized that I need to change dependency of a signal on different clock. 1. How would you do it without starting from scratch (tb wizzard)?

2. When creating a testbench with multiple clocks, ISE asks to enter dependency of signals on the relevant clocks. What is the purpose it? Isn't it enough just to use one system clock? I assume everything else needed for simulation should have been already specified in your tested VHDL code.

For example, if your clock is 40MHz, and bit clock is just 20MHz. There're clk, data_in, data_out, trigger_out, bit_clk_in, bit_clk_out. Which signals should you make dependent on which clock (clk and bit_clk_in) assuming that data_out and bit_clk_out are delayed by several clocks (variable depending on type of data_in)?

Regards
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…