X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fsoc%2Fconfig%2Fstate.py;h=a3972ef1da9126cf0b74ba828c80944b6b95ac13;hb=755e84aba04a4cc02e535fcd269d126b7d4f556a;hp=ebc5bb861053713e430d077a44a5f6efb5b45cce;hpb=365bdcd2904e2b7a0bdadfd5528a366fc0c0863c;p=soc.git diff --git a/src/soc/config/state.py b/src/soc/config/state.py index ebc5bb86..a3972ef1 100644 --- a/src/soc/config/state.py +++ b/src/soc/config/state.py @@ -4,6 +4,13 @@ from soc.sv.svstate import SVSTATERec class CoreState(RecordObject): + """contains "Core State Information" which says exactly where things are + + example: eint says to PowerDecoder that it should fire an exception + rather than let the current decoded instruction proceed. likewise + if dec goes negative. MSR contains LE/BE and Priv state. PC contains + the Program Counter, and SVSTATE is the Sub-Program-Counter. + """ def __init__(self, name): super().__init__(name=name) self.pc = Signal(64) # Program Counter (CIA, NIA)