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

syn: move dont_use processing to yosys #1813

Merged
merged 1 commit into from
Mar 18, 2024

Conversation

rovinski
Copy link
Collaborator

  • Use new dont_use flag for dfflibmap
  • Remove dont_use preprocessing from markDontUse.py
  • Rename markDontUse.py to preprocessLib.py

This change requires a sync from upstream yosys. Support was added in YosysHQ/yosys#4219; it should be upstream next month in yosys 0.39. Alternatively, we could update yosys immediately.

@maliberty
Copy link
Member

This will have to wait for 0.39 to be release and for us to qualify it in ORFS (so far not a trivial process each time).

flow/util/preprocessLib.py Outdated Show resolved Hide resolved
@rovinski
Copy link
Collaborator Author

Waiting on #1848

@maliberty
Copy link
Member

Wait

merged

* Use new dont_use flag for dfflibmap
* Remove dont_use preprocessing from markDontUse.py
* Rename markDontUse.py to preprocessLib.py

Signed-off-by: Austin Rovinski <[email protected]>
@rovinski rovinski marked this pull request as ready for review March 17, 2024 21:18
@rovinski
Copy link
Collaborator Author

@maliberty @vvbandeira ready for review. I rebased on master.

exec $::env(UTILS_DIR)/markDontUse.py -p $::env(DONT_USE_CELLS) -i $f -o "../../[file tail $f]-mod.lib"
exec $::env(UTILS_DIR)/preprocessLib.py -i $f -o "../../[file tail $f]-mod.lib"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gadfort FYI for the regular SC flow

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@maliberty thanks. I already switched over to it.

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

Successfully merging this pull request may close these issues.

3 participants