-
Notifications
You must be signed in to change notification settings - Fork 59
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
Added UPF Support #775
Added UPF Support #775
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this PR! A couple comments:
- It seems like these are UPF 2.0 commands. You might want to include a
upf_version
command in the header. Similarly, this comment may need to reflect that - Building on previous point, supporting UPF 3+ could be a switch? That option there could be like
upf_2.0
orupf_3.1
, etc. if you desire. - Is there any corresponding updates needed for the Cadence plugins?
hammer/vlsi/hammer_vlsi_impl.py
Outdated
for g_net in ground_nets: | ||
if(g_net.pin != None): | ||
output.append("add_port_state {g} \\".format(g=g_net.name)) | ||
output.append("\t-state {default off}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this is correct according to my understanding of the command... instead it should be a voltage of 0. "off" is distinctly a different state?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was mistaken. Will fix that as soon as I get to it.
Really nitpicky here but could we switch to f-strings. Might just be nice to stick to for future code. |
@kenhoberkeley Added fstrings |
Added UPF support to hammer. Generates a single power domain UPF. It should do exactly what hasCPFsupport does. Tested it by running PAR on the tapeout vlsi lab and manually feeding into innovus with the innovus command below:
read_power_intent -1801 power_spec.upf
power_spec.pdf
.
Related PRs / Issues
Type of change:
Impact:
Contributor Checklist:
master
as the base branch?poetry.lock
file if you updated the requirements inpyproject.toml
?e2e/
if this feature depends on updated plugins?