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

add top module and search path for parmys #2365

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

huoshenlaile
Copy link

Fix temp_dir parse error and add features for Yosys+Parmys

Description

This PR fixed the issue for #2347, which may cause Parmys+Yosys synthesize failure.
This PR also adds two features for #2351
Since the VTR project moves to Parmys+Yosys front end, more people are likely to write projects using SystemVerilog and use the include syntax to organize projects, so I added the command line support for letting Yosys search for the include directory.
In addition, I added support for manually specifying the top module for Yosys, in case sometimes Yosys find the wrong top module hierarchy.

Related Issue

#2347
#2351

Motivation and Context

I am doing my project with VTR and using SystemVerilog as my main language, so I added the two features to support wider use.

How Has This Been Tested?

Tested on Ubuntu 22.04 LTS.

Types of changes

  • Bug fix (change which fixes an issue)
  • New feature (change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My change requires a change to the documentation
  • I have updated the documentation accordingly
  • I have added tests to cover my changes
  • All new and existing tests passed
    The -top seems to exist in the document https://docs.verilogtorouting.org/en/latest/parmys/parmys_plugin/, but was not supported in the command line, so I added this.
    The include dir needs a documentation change to let people know this feature.

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.

1 participant