projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c8bb4f
)
add class containing all regfiles
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Wed, 3 Jun 2020 13:07:21 +0000
(14:07 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Wed, 3 Jun 2020 13:07:21 +0000
(14:07 +0100)
src/soc/regfile/regfiles.py
patch
|
blob
|
history
diff --git
a/src/soc/regfile/regfiles.py
b/src/soc/regfile/regfiles.py
index d44242a5161946cd23e2c6a8448a6f05f273c1ca..dc92f0c4973d6ed758baf118acb5bb6b6ac52b48 100644
(file)
--- a/
src/soc/regfile/regfiles.py
+++ b/
src/soc/regfile/regfiles.py
@@
-126,3
+126,13
@@
class SPRRegs(RegFile):
super().__init__(64, n_sprs)
self.w_ports = [self.write_port("dest")]
self.r_ports = [self.read_port("src")]
+
+
+class RegFiles:
+ def __init__(self):
+ self.int = IntRegs()
+ self.cr = CRRegs()
+ self.xer = XERRegs()
+ self.fasr = FastRegs()
+ self.spr = SPRRegs()
+