-
I am trying to implement a locking bit called LOCK, which is part of my register file. when LOCK = 1 , writing to all other registers is disabled. When running peakrdl I get the following error:
I get this error also when I try swwe=LOCK What am I doing wrong ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Due to how namespace scopes work in SystemRDL, you cannot access
Also unrelated - I see you are creating an alternate reset signal, presumably to override the default reset to be asynchronous. PeakRDL-regblock lets you set the default reset via the command-line ( |
Beta Was this translation helpful? Give feedback.
Due to how namespace scopes work in SystemRDL, you cannot access
LOCKREG
directly from within the lexical scope ofCSR1
orcsr
. Instead, try using a dynamic property assignment outside of the blocks:Also unrelated - I see you are creating an alternate reset signal, presumably to override the default reset to be asynchronous. PeakRDL-regblock lets you set the default reset via the command-line (
peakrdl regblock --default-reset arst ...
) or via the tool's TOML config.