electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

Which is correct way to measure max frequency


Post new topic  Reply to topic    EDAboard.com Forum Index -> ASIC Design Methodologies & Tools (Digital) -> Which is correct way to measure max frequency
Author Message
tariq786



Joined: 24 Feb 2004
Posts: 194
Helped: 28


Post03 Jul 2009 17:22   

verilog measuring period


Dear Folks,
I synthesized AES (Advanced Encryption Standard) verilog core that i downloaded from www.opencores.org. For synthesis i used Synopsys Design compiler and tsmc180nm library. During synthesis, i specified the clock period constraint to be 5ns or (200 MHZ) and Design Compiler showed no violation of the period constraint during synthesis.

After synthesis, i did post synthesis verilog simulation. Here i started getting setup and hold time violations with 5ns clock period and had to increase clock period by a factor of 40 i.e. 200ns (5 MHZ) to get valid results.

I am confused either post synthesis frequency of 5 MHZ is the true frequency of the design or pre synthesis frequency of 200 MHZ is the true frequency of the design.

I also did PrimeTime static timing analysis of the design after synthesis and it also had no problem with the period constraint of 5ns.

I must mention that post synthesis verilog simulation of the design is dynamic one that is you have to give test_vectors in a test bench to get outputs while primetime and design compiler using static timing methods without any test vectors to report the maximum frequency.

Thanks for your help.
Back to top
jbeniston



Joined: 05 May 2005
Posts: 193
Helped: 25


Post04 Jul 2009 11:32   

verilog code frequency measure


Are your STA contraints complete. Did the SDF annotate correctly? Did you try reporting the same path in PT that you see the violation on in the simulation? How do they compare?
Back to top
tariq786



Joined: 24 Feb 2004
Posts: 194
Helped: 28


Post06 Jul 2009 6:06   

measure max


I am getting this error in post synthesis verilog simulation of AES core. DC synthesized the design correctly without any errors with a period constraint of 5ns( 200 MHZ)

But i am running post synthesis verilog simulation with a period of 20ns and i still get this error because of which the output is xxxxxxxxxxxxxxxxxxxxxxx.

Error: tsmc18t.v(6551): $hold( posedge CK &&& (flag == 1):30 ns, negedge D:30 ns, 500 ps );
# Time: 30 ns Iteration: 2 Instance: /test/u0/u0/r0/\out_reg[31]


Any idea how to fix this error?


Thanks a lot in advance
Back to top
dcreddy1980



Joined: 03 Dec 2004
Posts: 189
Helped: 25
Location: Munich, Germany


Post06 Jul 2009 8:00   

max frequency sta


Two reasons :

1. You are constraints are not full or wrong during synthesis and STA

2. Check for the same path wher it has violated the HOLD in the STA as well so that you can double check whether it has taken the same delay as that of gate level simulation. i.e compare the. delays from STA and gate level simulation(netlist + SDF).

It can be that your SDF file was not generated properly.
Back to top
tariq786



Joined: 24 Feb 2004
Posts: 194
Helped: 28


Post06 Jul 2009 18:49   

the measure of frequency


I am not doing sdf generation at this stage. How to know whether your constraints are full or not?
Back to top
dcreddy1980



Joined: 03 Dec 2004
Posts: 189
Helped: 25
Location: Munich, Germany


Post07 Jul 2009 8:28   

true frequency


with out using SDF for gate leve simulation, you are trying to compare Apples with Oranges. Dont compare the results with STA and gate level simulation.

To check whether your constraints are complete or not, its a detailed process. somebody has to know about your design and special things inside your design, where we can apply multicycle paths, false paths. If your design doesnt have this kind of special schemes, put your interface and constarints. somebody can help you out what is missing in your constraints.
Back to top
tariq786



Joined: 24 Feb 2004
Posts: 194
Helped: 28


Post08 Jul 2009 3:11   

how to measure frequency + verilog


dcredddy! Could you tell why sdf is needed in post synthesis simulation?
Back to top
dcreddy1980



Joined: 03 Dec 2004
Posts: 189
Helped: 25
Location: Munich, Germany


Post08 Jul 2009 6:32   

specify sdf overwrite verilog


without back annotating SDF file to your gate level simulation, how can you get your exact gate delays. These gate delays which you see in your simulation must be identical to what you will seeing in the STA for that particular PVT.
Back to top
tariq786



Joined: 24 Feb 2004
Posts: 194
Helped: 28


Post08 Jul 2009 16:55   

Re: Which is correct way to measure max frequency


dcreddy!
I have the verilog file tsmc018.v which is needed in post synthesis simulation. I am attaching it so that you could see it. Doesn't it have the delay or the timing information of the gates? I mean whats unique about sdf file.


Thanks



Sorry, but you need login in to view this attachment

Back to top
dcreddy1980



Joined: 03 Dec 2004
Posts: 189
Helped: 25
Location: Munich, Germany


Post09 Jul 2009 7:55   

Which is correct way to measure max frequency


The verilog file which u have attached will only have soem default delays for the cells. If we have SDF file of any design, the delay information from these SDF files will overwrite the cell delays specified in the given verilog file.

For example : in your design, you are using AND gate with a delay of 100 ps and another AND gate with a delay of 200 ps.

How do you want to tell the exact delays of your design.
Back to top
Google
AdSense
Google Adsense




Post09 Jul 2009 7:55   

Ads




Back to top
tariq786



Joined: 24 Feb 2004
Posts: 194
Helped: 28


Post09 Jul 2009 17:16   

Which is correct way to measure max frequency


dcreddy1980, You are simply awesome.

Thanks a lot for sharing your insight.
Back to top
hello_johnson



Joined: 14 Aug 2009
Posts: 1
Location: beijing, china


Post16 Aug 2009 1:54   

Which is correct way to measure max frequency


u can try this command in ur script : set_fix_hold

btw, it's better to fix the hold problems in post end
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> ASIC Design Methodologies & Tools (Digital) -> Which is correct way to measure max frequency
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
At the beginning choosing correct design way (3)
need the correct way to install latex in ubuntu (1)
tetra max questions - is there a way to run loops (3)
Correct method to measure negative resistive XOSC (6)
Which one is correct? (5)
Which is the correct answer?.... (3)
measure AC voltage simple way (12)
which one is the correct term? (8)
Which direction of current source is correct? (18)
Clock Latency - which definition is correct? (2)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS