Juniper / open-register-design-tool

Tool to generate register RTL, models, and docs using SystemRDL or JSpec input
Apache License 2.0
195 stars 69 forks source link

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

Open neenuprince opened 5 years ago

neenuprince commented 5 years ago

The .jrdllogic.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 commented 5 years ago

See issue #65

sdnellen commented 5 years ago

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