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

Pass design parameters by verilog parameters #885

Merged
merged 3 commits into from
Dec 7, 2024
Merged

Conversation

FanShupei
Copy link
Contributor

Today DPI get deisgn through a very unintuitive way:
Chisel -> mlirbc -> omreader -> nix -> env variables -> DPI

After this PR, the information flow follows the patterns below:

  • Design parameters: Chisel -> VerbatimModule(parameters) -> DPI
  • Runtime parameters: VerbatimModule(plusargs) -> DPI

We may still use omreader to pass information to other components. Howerver, for DPI, I believe the way taken is this PR is much more intuitive.

@sequencer sequencer merged commit 591c317 into master Dec 7, 2024
192 checks passed
@sequencer sequencer deleted the nix-online branch December 7, 2024 19:21
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.

2 participants