From: Luke Kenneth Casson Leighton Date: Sat, 23 May 2020 17:53:11 +0000 (+0100) Subject: add TODO on multi-in multi-out Function Units X-Git-Tag: div_pipeline~906 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bd07747f44bf106e95b45163e11e9ff4bba6cbdf;p=soc.git add TODO on multi-in multi-out Function Units --- 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 #####