-
Notifications
You must be signed in to change notification settings - Fork 383
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
SDF duplicate MUX IOPATH paths with different delays #1192
Comments
Those are IOPATHs with different COND expressions that for some reason are not printed in the SDF. |
The explicit testcase is given in the text above. Use the actual, mpw-7a, default caravel_example project with all the default scripts that come with it. git clone -b mpw-7a https://github.com/efabless/caravel_user_project caravel_example The earliest SDF file I have quick access to is from Dec '21 where I was fooling around with MPW-3. Same problem there, so I guess you can find that issue on any given Openlane SDF file. |
The expectation is that you will package a standalone test case. See https://github.com/The-OpenROAD-Project/OpenLane/blob/master/docs/source/using_or_issue.md @donn can help if required. |
It looks like the issue is the sky130 liberty. They should have sdf_cond attributes to label them for the SDF. |
@jjcherry56 Conditions in the SDF file ? Is this possible ? So I guess that both paths are valid and my STA engine should take the most critical one, right ? |
There is syntax to support it in SDF: The timing engine will select the right arc. However your SDF is not valid because it lacks the COND statements for the reason Cherry describes above. |
I opened google/skywater-pdk#382 for this issue. @mithro @QuantumHD please advise if you will fix this in the upstream repo or not |
Unlikely to happen in the next few weeks. Best bet is to add something to open_pdks temporarily. |
@RTimothyEdwards @donn I'll leave it to you guys to hack the .lib in open_pdks. This isn't an OR issue. |
@RTimothyEdwards You're up. |
Description
The S-> X IOPATH of MUXes are duplicated in the SDF file and have different values:
SDF file snipset:
(CELL
(CELLTYPE "sky130_fd_sc_hd__mux2_2")
(INSTANCE 344)
(DELAY
(ABSOLUTE
(IOPATH A0 X (0.159:0.159:0.159) (0.268:0.268:0.268))
(IOPATH A1 X (0.125:0.125:0.125) (0.243:0.243:0.243))
(IOPATH S X (0.233:0.233:0.233) (0.341:0.341:0.341))
(IOPATH S X (0.163:0.163:0.163) (0.279:0.279:0.279)) <--- second arc with > 60 ps difference
)
)
)
This is most likely true for all MUXes, but not for other cells.
Environment
Tested on latest mpw-7a (but seen it before):
OpenLane f9b5781
PDK version 41c0908b47130d5675ff8484255b43f66463a7d6
Reproduction Material
Latest caravel example:
git clone -b mpw-7a https://github.com/efabless/caravel_user_project caravel_example
Expected behavior
Only one entry per arc.
PS: also wondering why bc:nc:wc numbers are identical at many cells.
The text was updated successfully, but these errors were encountered: