We’ll want a server-function to take a state-like thing, and return a specs-like thing
They maybe look like:
@dataclass
class State:
mp1: int # These are all widths? Number of fingers? Write it down whatever it is.
mn1: int
mp3: int
mn3: int
mn4: int
mn5: int
cc: float # Or maybe `str`, or the Hdl21/ VLSIR `Prefixed` fixed-point type
@dataclass
class Specs:
ugbw: float
gain: float
phm: float
ibias: float
So it looks like -
We’ll want a server-function to take a state-like thing, and return a specs-like thing They maybe look like: