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 #9

Open
sdnellen opened this issue Jul 25, 2019 · 1 comment

Comments

@sdnellen
Copy link
Owner

From open-register-design-tool created by neenuprince: Juniper#70

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
Owner Author

See issue Juniper#65

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

1 participant