You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, Recently we noticed that the external reset registers, ( registers that gets reset using an external reset signal) that has resetsignal attribute causes an Error and hence cannot generate RTL.
We had generated the RTL with these resetsignal attribute earlier, but even older releases seems to fail. the error we get is as below.
*** ERROR ***: Unable to resolve rhs assignment reference test_rst_sig
Below I have mentioned the Reg defns and addr map.
Register Definition
signal test_rst_sig {
async;
} test_rst_sig;
regfile other_regs_defns_rf {
reg attr_resetsignal_t {
name = "Reg resetsignal";
desc = "A register with resetsignal to verify resetsignal works correctly";
default hw = r; //Register default hw field type to read/write
default sw = rw; //Register default sw field type to read/write
field {
name = "rstsignal check";
desc = "Verifying that rstsignal works";
resetsignal = test_rst_sig; //signal used to reset field's register and hardware logic
fieldwidth = 32;
reset = 32'h0;
} fieldrstextsig;
};
attr_resetsignal_t attr_rstsignal
};
Hi, Recently we noticed that the external reset registers, ( registers that gets reset using an external reset signal) that has resetsignal attribute causes an Error and hence cannot generate RTL.
We had generated the RTL with these resetsignal attribute earlier, but even older releases seems to fail. the error we get is as below.
*** ERROR ***: Unable to resolve rhs assignment reference test_rst_sig
Below I have mentioned the Reg defns and addr map.
Register Definition
regfile other_regs_defns_rf {
reg attr_resetsignal_t {
name = "Reg resetsignal";
desc = "A register with resetsignal to verify resetsignal works correctly";
default hw = r; //Register default hw field type to read/write
default sw = rw; //Register default sw field type to read/write
field {
name = "rstsignal check";
desc = "Verifying that rstsignal works";
resetsignal = test_rst_sig; //signal used to reset field's register and hardware logic
fieldwidth = 32;
reset = 32'h0;
} fieldrstextsig;
};
attr_resetsignal_t attr_rstsignal
};
Top RDL address map
addrmap ordtreg_regs {
test_rst_sig test_rst_sig;
other_regs_defns_rf other_rf @ 0x000100;
other_rf.attr_rstsignal.fieldrstextsig->resetsignal = test_rst_sig;
};
The text was updated successfully, but these errors were encountered: