add namedtuple proposed by lkcl in chat
authorTobias Platen <tplaten@posteo.de>
Mon, 13 Dec 2021 12:01:45 +0000 (13:01 +0100)
committerTobias Platen <tplaten@posteo.de>
Mon, 13 Dec 2021 12:01:45 +0000 (13:01 +0100)
src/soc/experiment/pimem.py

index c1bd168c44d9a1f42a348e2e0125f67251590efa..7077fbde7b19ee914ddf28c01241542638903b2e 100644 (file)
@@ -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