Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error of calculating cell delay in OpenSTA #6572

Open
yuntaolu opened this issue Jan 22, 2025 · 1 comment
Open

Error of calculating cell delay in OpenSTA #6572

yuntaolu opened this issue Jan 22, 2025 · 1 comment

Comments

@yuntaolu
Copy link

yuntaolu commented Jan 22, 2025

Describe the bug

Dear developers,

When we used OpenROAD to read Cadence Innovus's generated DEF after global placement, we received incorrect delay results. I attached the detailed timing path info below, can you help guide us on what we need to check/set to solve the problem? Thanks for your help.

The design is Vortex Large design in CircuitNet, we also conducted a Small Boom design and observed a similar issue.

  1. Read DEF that is generated by Cadence Innovus after global placement.
  2. Read LIB/LEF/SDC and set layer rc and wire rc.
  3. report_wns / report_tns, the outputs in the terminal are as follows:

wns: -16796331155855432494719871073432633344.00
tns: -INF

    [INFO ODB-0127] Reading DEF file: s14_vortex_large.def
    [INFO ODB-0128] Design: Vortex
    [INFO ODB-0094] 		Created 100000 Insts
    [INFO ODB-0094] 		Created 200000 Insts
    [INFO ODB-0094] 		Created 300000 Insts
    [INFO ODB-0094] 		Created 400000 Insts
    [INFO ODB-0094] 		Created 500000 Insts
    [INFO ODB-0094] 		Created 600000 Insts
    [INFO ODB-0094] 		Created 700000 Insts
    [INFO ODB-0097] 		Created 100000 Nets
    [INFO ODB-0097] 		Created 200000 Nets
    [INFO ODB-0097] 		Created 300000 Nets
    [INFO ODB-0097] 		Created 400000 Nets
    [INFO ODB-0097] 		Created 500000 Nets
    [INFO ODB-0097] 		Created 600000 Nets
    [INFO ODB-0097] 		Created 700000 Nets
    [INFO ODB-0097] 		Created 800000 Nets
    [INFO ODB-0130]     Created 1242 pins.
    [INFO ODB-0131]     Created 771100 components and 6024379 component-terminals.
    [INFO ODB-0132]     Created 2 special nets and 1542200 connections.
    [INFO ODB-0133]     Created 827446 nets and 2938764 connections.
    [INFO ODB-0134] Finished DEF file: s14_vortex_large.def
    Design area 773486 u^2 53% utilization.
    wns -16796331155855432494719871073432633344.00
    tns -INF
  1. We uploaded screenshots of OpenROAD timing reports inGoogleDrive, please refer to.

Expected Behavior

Correct cell delay calculated by OpenROAD/OpenSTA

Environment

We used openraod-flow-scripts to build a docker.

To Reproduce

  1. read def/lef/lib/sdc
  2. set layer wire rc
  3. estimate_parasitics -placement
  4. report_design_area
  5. report_wns
  6. report_tns

Relevant log output

[INFO ODB-0127] Reading DEF file: s14_vortex_large.def
    [INFO ODB-0128] Design: Vortex
    [INFO ODB-0094] 		Created 100000 Insts
    [INFO ODB-0094] 		Created 200000 Insts
    [INFO ODB-0094] 		Created 300000 Insts
    [INFO ODB-0094] 		Created 400000 Insts
    [INFO ODB-0094] 		Created 500000 Insts
    [INFO ODB-0094] 		Created 600000 Insts
    [INFO ODB-0094] 		Created 700000 Insts
    [INFO ODB-0097] 		Created 100000 Nets
    [INFO ODB-0097] 		Created 200000 Nets
    [INFO ODB-0097] 		Created 300000 Nets
    [INFO ODB-0097] 		Created 400000 Nets
    [INFO ODB-0097] 		Created 500000 Nets
    [INFO ODB-0097] 		Created 600000 Nets
    [INFO ODB-0097] 		Created 700000 Nets
    [INFO ODB-0097] 		Created 800000 Nets
    [INFO ODB-0130]     Created 1242 pins.
    [INFO ODB-0131]     Created 771100 components and 6024379 component-terminals.
    [INFO ODB-0132]     Created 2 special nets and 1542200 connections.
    [INFO ODB-0133]     Created 827446 nets and 2938764 connections.
    [INFO ODB-0134] Finished DEF file: s14_vortex_large.def
    Design area 773486 u^2 53% utilization.
    wns -16796331155855432494719871073432633344.00
    tns -INF

Screenshots

We uploaded screenshots of OpenROAD timing reports inGoogleDrive, please refer to.

Additional Context

No response

@maliberty
Copy link
Member

You need to provide a test case that reproduces the issue; it can't be debugged from screenshots.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants