-
Notifications
You must be signed in to change notification settings - Fork 653
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
MMIO and front bus port not generated in MMIOScratchpadOnlyRocketConfig #1417
Comments
This looks like it's fixed right now on the master branch. We'll push a release by the end of the week. |
Hi, thanks for your quick reply! However I am already on the latest main branch (#26f86d). Maybe I am missing something, or the behavior is actually expected and the old 1.8.1 release behavior is wrong? |
No, it should definitely be generating ports...this is what I see on 9ef3001 :
|
That's interesting, I deleted my local repo and started from scratch with 9ef3001, now I can getting the same result as you have. However, isn't this still wrong? The MMIO port is present, but the front bus port is still missing. |
I'm also seeing the same issue as @zephray - DigitalTop contains a MMIO port, but is missing a Front Port. |
Yeah, I'm looking into this. |
The latest commit on this branch: https://github.com/ucb-bar/chipyard/pull/1399/files#diff-e72d7730b5de7057f15f513757aa310c4a51b21e8d5d0e1cb7b206b132e802d9 should fix this. |
Thanks Jerry, this resolved the issue. I also like what you're adding with the custom IO cells |
Awesome, thanks jerry, just tried and it works great! Should I close the issue or wait for the PR to be merged first? |
Background Work
Chipyard Version and Hash
Release: not on a release
Hash: 26f86d
OS Setup
Linux wenting-b650m 5.19.0-35-generic #36-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 3 18:36:56 UTC 2023 x86_64 GNU/Linux
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.10
Release: 22.10
Codename: kinetic
Other Setup
Ex: Prior steps taken / Documentation Followed / etc...
Current Behavior
When generating SV/ Verilog output for the provided "MMIOScratchpadOnlyRocketConfig" in sims/verilator by running
make CONFIG=MMIOScratchpadOnlyRocketConfig verilog
, no MMIO port or front port is generated in the output:Expected Behavior
Even though these signals might be tied off in the harness, they should be kept with
dut.dontTouchPorts()
inside TestHarness.scala, not optimized out. In older version of Chipyard (version 1.8.1), this is working as intended:Other Information
No response
The text was updated successfully, but these errors were encountered: