• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Digital Implementation
  3. Macromodel Definition for blocks at Top Level

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 92
  • Views 17594
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Macromodel Definition for blocks at Top Level

gsc104
gsc104 over 14 years ago

Hi,

I'm tyring to validate whether the CTS step has considered the macromodel definitions I defined in the clock spec file for the blocks during my CTS at the Top Level i.e. Full Chip Level.

I have the following macro model defined on a particular block. block_abc is the module/cell name of the block and clk  is the pin on which I defined the macromodel.
#MacroModel pin <pin> <maxRiseDelay> <minRiseDelay> <maxFallDelay> <minFallDelay> <inputCap>
MacroModel port block_abc/clk 453.3ps 285.1ps 478.8ps 307.6ps 0fF hold_func level 15 8
MacroModel port block_abc/clk 981.5ps 776.1ps 1052ps 766.1ps 0fF setup_func level 15 8


In the clock.report which the encounter dumps after the CTS step, I see the following behavior:
Min trig. edge delay at sink(R): block_abc_inst/clk 4750.4(ps) *Mmodel*

However, when I try to get the latencies for all the block clock pins at the Top Level, the block_abc_inst/clk has the f
ollowing latency.

report_clock_timing -to block_abc_inst/clk -type latency
        ---Latency---
    Source        Network          Total         Clock Pin
---------------------------------------------------------------------------
      0.000         3.166          3.166        f    block_abc_inst/clk

 

So, I'm just wondering whether the tool is including the macromodel defn (i.e. the delay associated) when i execute the above command?

The main reason for the question arised due to the fact that I'm seeing approximately the same latency at the clock pins for all the blocks in the Top Level, inspite of these blocks having different delay values in their respective macromodel definitions. All these blocks are driven by the same clock.

Thanks,

gsc104

 

 

  • Cancel
Parents
  • Kari
    Kari over 14 years ago

     Hi,

    Where are you specifying the macromodels when you run CTS? If the macromodel is used correctly, then you should be able to look in the clock.report file that CTS generates and look at the insertion delay to the macro in question. Let's say you have a clk with an insertion delay of around 2 ns, and a macromodel for a macro that has a delay of 1ns. In the clock.report file, if you look at just any flop on the clk tree, you should see a delay of around 2ns, but if you look at the delay for the macro, it should be around 1ns (1ns delay + 1 ns macromodel delay = 2ns total). Do you see something like this?

    Typically, we have the macromodel lines at the top of the .ctstch file. Is that where you are specifying them?

    - Kari

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Kari
    Kari over 14 years ago

     Hi,

    Where are you specifying the macromodels when you run CTS? If the macromodel is used correctly, then you should be able to look in the clock.report file that CTS generates and look at the insertion delay to the macro in question. Let's say you have a clk with an insertion delay of around 2 ns, and a macromodel for a macro that has a delay of 1ns. In the clock.report file, if you look at just any flop on the clk tree, you should see a delay of around 2ns, but if you look at the delay for the macro, it should be around 1ns (1ns delay + 1 ns macromodel delay = 2ns total). Do you see something like this?

    Typically, we have the macromodel lines at the top of the .ctstch file. Is that where you are specifying them?

    - Kari

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information