From 5ef5b14d86fbd3321b67478731f98dc989ab2c1e Mon Sep 17 00:00:00 2001 From: Tobias Platen Date: Mon, 13 Dec 2021 13:01:45 +0100 Subject: [PATCH] add namedtuple proposed by lkcl in chat --- src/soc/experiment/pimem.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/soc/experiment/pimem.py b/src/soc/experiment/pimem.py index c1bd168c..7077fbde 100644 --- 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 -- 2.30.2