cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Voyager
Voyager
4,099 Views
Registered: ‎04-11-2016

Debug clock for ILA

Hi,

I am trying to use 200 MHz differential system clock to generate 200 MHz clock and use this clock to debug other clocks(148.5 Mhz, 148.3 Mhz, 27Mhz etc.) in the design.

This is how I proceed:

 

pin config:

 

#200MHz system clock option board
set_property PACKAGE_PIN AD12 [get_ports sys_clk_p]
set_property PACKAGE_PIN AD11 [get_ports sys_clk_n]
set_property IOSTANDARD LVDS [get_ports sys_clk_p]
set_property IOSTANDARD LVDS [get_ports sys_clk_n]

 

generating single ended using IBUF:

// sys clock to test
IBUFDS
sys_clk_inst (

.I (sys_clk_p),
.IB (sys_clk_n),
.O (sys_clk)
);

 

//just to test

always @ (posedge sys_clk)
test_x <= test_y;

 

now I want to use sys_clk to debug another clocks in the design.

 

but sys_clock didn't appear in the debug(see attachment) core clock selection. What should has to be done ?

There is no error during bit generation.

 

debug_clock.jpg
0 Kudos
2 Replies
Highlighted
Moderator
Moderator
4,044 Views
Registered: ‎07-01-2015

Hi @fpgalearner,

 

First of all when you are debugging a signal of 148.5MHz then the clock connected to ILA should be atleast twice of 148.5MHz.

After doing setup debug and saving the project constraints will be saved to XDC file. There change the below commands according to your clock net requirement:

connect_debug_port u_ila_0/clk [get_nets [list CLK_BUFG]]

connect_debug_port dbg_hub/clk [get_nets CLK_BUFG]

Thanks,
Arpan
----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
0 Kudos
Highlighted
Moderator
Moderator
3,998 Views
Registered: ‎07-01-2015

Hi @fpgalearner,

 

Were the suggestions provided helpful?

Thanks,
Arpan
----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
0 Kudos