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

RTl code has floating signals for HWRead SWwrite registers causing X's #70

Open
neenuprince opened this issue Jul 18, 2019 · 2 comments

Comments

@neenuprince
Copy link

The .jrdl_logic.sv file generates a signal for the HW Read SW write register, that is floating.
the signal l2d__r is the signal that remains floating, causing X's to propogate.
what I found is that this register genenrated code misses an assignment as below
always_comb begin
l2d_other_rf_attr_hwrsww_r = rg_other_rf_attr_hwrsww_hwrsww;
end

Simple rdl is as below
//Register with hw = r and sw = w
reg attr_hwrsww_t {
name = "Hw r and sw w";
desc = "register with hw = r and sw = w";
default hw = r;
default sw = w;
field {
fieldwidth = 32;
// reset = 32'h0;
} hwrsww = 32'h0;
};

@sdnellen
Copy link
Contributor

See issue #65

@sdnellen
Copy link
Contributor

Kamino cloned this issue to sdnellen/open-register-design-tool

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