From bd07747f44bf106e95b45163e11e9ff4bba6cbdf Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 23 May 2020 18:53:11 +0100 Subject: [PATCH] add TODO on multi-in multi-out Function Units --- src/soc/fu/compunits.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/soc/fu/compunits.py b/src/soc/fu/compunits.py index 68d42d88..897becac 100644 --- a/src/soc/fu/compunits.py +++ b/src/soc/fu/compunits.py @@ -13,6 +13,9 @@ from soc.fu.cr.pipeline import CRBasePipe from soc.fu.cr.pipe_data import CRPipeSpec +################################################################### +###### FunctionUnitBaseSingle - use to make single-stge pipes ##### + class FunctionUnitBaseSingle(MultiCompUnit): """FunctionUnitBaseSingle @@ -36,6 +39,13 @@ class FunctionUnitBaseSingle(MultiCompUnit): super().__init__(regspec, alu, opsubset) # pass to MultiCompUnit +############################################################## +# TODO: ReservationStations-based (FunctionUnitBaseConcurrent) + +class FunctionUnitBaseMulti: + pass + + ###################################################################### ###### actual Function Units: these are "single" stage pipelines ##### @@ -45,6 +55,7 @@ class ALUFunctionUnit(FunctionUnitBaseSingle): class CRFunctionUnit(FunctionUnitBaseSingle): def __init__(self): super().__init__(CRPipeSpec, CRBasePipe) + ##################################################################### ###### actual Function Units: these are "multi" stage pipelines ##### -- 2.30.2