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

FIRRTL Bump breaks code in JTAG Tap #1160

Closed
mwachs5 opened this issue Dec 18, 2017 · 3 comments
Closed

FIRRTL Bump breaks code in JTAG Tap #1160

mwachs5 opened this issue Dec 18, 2017 · 3 comments

Comments

@mwachs5
Copy link
Contributor

mwachs5 commented Dec 18, 2017

The currently submoduled version of Chisel/FIRRTL breaks the JTAG TAP controller (which is one of the few the only modules in the codebase written in chisel3._ . It blows away the irReg due to the way it interprets something in the JtagTapController and/or DebugTransportModuleJTAG.

In the "pre-bump" Chisel, there is a line in DebugTransportModuleJTAG FIRRTL output:

JtagTapController.io is invalid

That line is not present in the new version. It's not SUPPOSED to have to be present. But it seems to blow things away as a result in the output Verilog. And there is no complaint. Will file a relevant bug on FIRRTL as well. If this line is manually added to the FIRRTL, then things work as expected.

Note that reverting to Chisel._ works as a fix.

FYI @ducky64

@mwachs5
Copy link
Contributor Author

mwachs5 commented Dec 20, 2017

For rocket-chip this issue is fixed by using Chisel._ instead of chisel3._. Since the issue is already opened in FIRRTL, I am going to close this one since it is not actually affecting rocket-chip.

@mwachs5
Copy link
Contributor Author

mwachs5 commented Nov 21, 2019

@jackkoenig is there reason to believe that this issue was resolved in FIRRTL so that it is no longer a problem when converting the code to chisel3?

@jackkoenig
Copy link
Contributor

Yes this has been fixed since 6bd4103, but now with Async Reset we can both convert to import chisel3._ and use the native async reset support!

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

No branches or pull requests

2 participants