projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c4e20c
)
add namedtuple proposed by lkcl in chat
author
Tobias Platen
<tplaten@posteo.de>
Mon, 13 Dec 2021 12:01:45 +0000
(13:01 +0100)
committer
Tobias Platen
<tplaten@posteo.de>
Mon, 13 Dec 2021 12:01:45 +0000
(13:01 +0100)
src/soc/experiment/pimem.py
patch
|
blob
|
history
diff --git
a/src/soc/experiment/pimem.py
b/src/soc/experiment/pimem.py
index c1bd168c44d9a1f42a348e2e0125f67251590efa..7077fbde7b19ee914ddf28c01241542638903b2e 100644
(file)
--- a/
src/soc/experiment/pimem.py
+++ b/
src/soc/experiment/pimem.py
@@
-32,6
+32,8
@@
from soc.experiment.mem_types import LDSTException
from soc.experiment.testmem import TestMemory
#from soc.scoreboard.addr_split import LDSTSplitter
from nmutil.util import Display
+from collections import namedtuple
+MSRSpec = namedtuple("MSRSpec", ["dr", "pr", "sf"]) # used in unit tests
import unittest