-
Notifications
You must be signed in to change notification settings - Fork 762
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
[regtool] hwext register with rw1c fields results in partial implementation. #19696
Comments
Actually, it looks like I can work around this by making the Is this what you intended? Should you be throwing an error here rather than outputting broken RTL or was this intended to be an option? I was also trying this with |
To make sure I understand the problem:
Is that right? If so, I suspect we need to make a small tweak to the Python code that generates the package defining reg2hw. If you want to debug further, you could poke around by locally adding edits to the |
@rswarbrick Exactly right. I'm assuming that those signals aren't templated unless the register has a hardware read interface. I'll see if I can do some poking. |
Description
I've been trying to get regtool to output sensible RTL that uses an external register with swaccess of
rw1c
. When running the following HJSON through the tool, I get a reg_top.sv that tries to use a non-existentreg2hw.enable.re
signal.I'm working around this at the moment by burning registers duplicating the external ones.
The pkg file looks like:
and the snippet of the RTL top level looks like:
The text was updated successfully, but these errors were encountered: