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

External Reset signals Causing RTL generation to fail #78

Open
neenuprince opened this issue Dec 19, 2019 · 2 comments
Open

External Reset signals Causing RTL generation to fail #78

neenuprince opened this issue Dec 19, 2019 · 2 comments

Comments

@neenuprince
Copy link

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
};

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;

};

@sdnellen
Copy link
Contributor

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

@sdnellen
Copy link
Contributor

See sdnellen fork update - pls submit issues there going forward.

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