Sign In

Don't have a Xilinx account yet?

  • Choose to receive important news and product information
  • Gain access to special content
  • Personalize your web experience on Xilinx.com

Create Account

Username

Password

Forgot your password?
XClose Panel
Xilinx Home
Reply
Visitor
melika
Posts: 24
Registered: ‎10-20-2011
0

INFO Xst:2169 - HDL ADVISOR - clock signals info

hello,

it's me again :|

I have this Info message for clock signal

 

INFO Xst:2169 - HDL ADVISOR - Some clock signals were not automatically buffered by XST with BUFG/BUFR resources. Please use the buffer_type constraint in order to insert these buffers to the clock signals to help prevent skew problems.

 

I have added this "attribute" to my code:

 

attribute clock_signal : string;
attribute clock_signal of rd_thrd_latch_clk : signal is "yes";
attribute clock_signal of and127 : signal is "yes";
attribute clock_signal of round10 : signal is "yes";

 

and now I have this Info message again, but now no signal is marked.

 

 

What is the problem?

 

Thanks a lot.


Expert Contributor
rcingham
Posts: 2,010
Registered: ‎09-09-2010
0

Re: INFO Xst:2169 - HDL ADVISOR - clock signals info

"What is the problem?"

That you are using signals generated by combinational logic as clocks. This indicates bad coding style, pehaps inferring latches. Post your code if you wish it to be critiqued.

------------------------------------------
"If it don't work in simulation, it won't work on the board."
Visitor
melika
Posts: 24
Registered: ‎10-20-2011
0

Re: INFO Xst:2169 - HDL ADVISOR - clock signals info

my code is structural based, this is part of my code that contains above signals.

 

 

rd_and_cntrl : entity work.and_std_logic(str)
port map( i => rd_sec_latch_out , j => and127 , q => rd_thrd_latch_clk);
-------------------------------------------------------------------------------------
rd_third_latch_cntrl : entity work. dff_inout_stdlogic(str)
port map( clk => rd_thrd_latch_clk, d => not_zero, q => rd_en); 

---------------------------------------------------------------------------------------

sixbit_cnt_control : entity work. dff_inout_stdlogic(str)
port map( clk => and127, d => not_zero, q => latch_out);  

-------------------------------------------------------------------------------------- 

cntrl_register : entity work.register(arch)
port map( clk => round10, d_in => after_sbox, d_out => enc_after_ff);

--------------------------------------------------------------------------------------

thanks for your guidance.

Expert Contributor
bassman59
Posts: 4,664
Registered: ‎02-25-2008

Re: INFO Xst:2169 - HDL ADVISOR - clock signals info


melika wrote:

my code is structural based, this is part of my code that contains above signals.

 

 

rd_and_cntrl : entity work.and_std_logic(str)
port map( i => rd_sec_latch_out , j => and127 , q => rd_thrd_latch_clk);
-------------------------------------------------------------------------------------
rd_third_latch_cntrl : entity work. dff_inout_stdlogic(str)
port map( clk => rd_thrd_latch_clk, d => not_zero, q => rd_en); 

---------------------------------------------------------------------------------------

sixbit_cnt_control : entity work. dff_inout_stdlogic(str)
port map( clk => and127, d => not_zero, q => latch_out);  

-------------------------------------------------------------------------------------- 

cntrl_register : entity work.register(arch)
port map( clk => round10, d_in => after_sbox, d_out => enc_after_ff);

--------------------------------------------------------------------------------------

thanks for your guidance.


Yikes, gated clocks, asking for trouble.


----------------------------------------------------------------
Yes, I do this for a living.
Expert Contributor
hgleamon1
Posts: 857
Registered: ‎11-14-2011
0

Re: INFO Xst:2169 - HDL ADVISOR - clock signals info

I apologise if I am cross-contaminating threads but the thought has occurred that this issue may well be related to another thread regarding clocks (or not): here

 

If these two threads are indeed related, or even from the same design, I feel you may be able to kill 2 birds with 1 stone by correcting your gated clock issues.

 

As I wrote, sorry if I am barking up the wrong tree.

 

Regards,

 

Howard

 

----------
"That which we must learn to do, we learn by doing." - Aristotle
Visitor
melika
Posts: 24
Registered: ‎10-20-2011
0

Re: INFO Xst:2169 - HDL ADVISOR - clock signals info

Hi hgleamon1,

Thanks for follow-up,

Really all of my warnings and Info messages are for one design, one big design,

and I have raised them in separate posts because I thought that they are separated.

 

Please guide me how I can kill 2 birds with 1 stone  :-)

 

Thank you very much

Visitor
melika
Posts: 24
Registered: ‎10-20-2011
0

Re: INFO Xst:2169 - HDL ADVISOR - clock signals info

[ Edited ]

bassman59, I dont know how I do I solve this "info", and does this ("info" message) matter?

 

Thanks

Expert Contributor
hgleamon1
Posts: 857
Registered: ‎11-14-2011
0

Re: INFO Xst:2169 - HDL ADVISOR - clock signals info

As bassman has pointed out, you seem to be using gated clocks. This is not good design practice and I can't really think of a reason why you might want to do it.

 

If you want a signal to clocked but not at the clock frequency, you would better off using a clock enable to clock the required signal through the gates, rather than ANDing a signal with your clock (which I inferred from the and127 signal described above). Thereby, your (genuine) clock remains a clock, routed through device clock resources available and your design remains synchronous.

 

I don't know your design or what you are trying to achieve but, from what you have described on your threads, I get the feeling that you could eliminate both combinatorial loops and the problems with your clock signals by investigating this line of thinking more closely.

 

Regards,

 

Howard

 

----------
"That which we must learn to do, we learn by doing." - Aristotle
Expert Contributor
eteam00
Posts: 7,505
Registered: ‎07-21-2009
0

Re: INFO Xst:2169 - HDL ADVISOR - clock signals info

melika,

 

Do you know how clock enables work?

You might be interested in post #8 of this thread.

 

-- Bob Elkind

SIGNATURE:
README for newbies is here: http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369

Summary:
1. Read the manual or user guide. Have you read the manual? Can you find the manual?
2. Search the forums (and search the web) for similar topics.
3. Do not post the same question on multiple forums.
4. Do not post a new topic or question on someone else's thread, start a new thread!
5. Students: Copying code is not the same as learning to design.
6 "It does not work" is not a question which can be answered. Provide useful details (with webpage, datasheet links, please).
7. You are not charged extra fees for comments in your code.
8. I am not paid for forum posts. If I write a good post, then I have been good for nothing.
Visitor
melika
Posts: 24
Registered: ‎10-20-2011
0

Re: INFO Xst:2169 - HDL ADVISOR - clock signals info

If you want a signal to clocked but not at the clock frequency, you would better off using a clock enable to clock the required signal through the gates, rather than ANDing a signal with your clock

 

I do that and INfo Xst:2169 was destroyed.

also I have this attribute :

attribute clock_signal : string;
attribute clock_signal of rd_thrd_latch_clk : signal is "yes";


 

Thanks,

 

I thought that clock gatting can reduce power because by register with enable port, input clk signal clocked every time At the time that was not needed.

 

Thanks A lot.