From: Luke Kenneth Casson Leighton Date: Thu, 21 May 2020 17:57:59 +0000 (+0100) Subject: document subkls in CompUnitRecord X-Git-Tag: div_pipeline~979 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b4aa0d3e0871db37bf4d7e02e4ff4812f46f1114;p=soc.git document subkls in CompUnitRecord --- diff --git a/src/soc/experiment/compalu_multi.py b/src/soc/experiment/compalu_multi.py index 80148cb2..aa32022c 100644 --- a/src/soc/experiment/compalu_multi.py +++ b/src/soc/experiment/compalu_multi.py @@ -63,11 +63,14 @@ class CompUnitRecord(RecordObject): LDSTCompUnitRecord should derive from this class and add the additional signals it requires + + :subkls: the class (not an instance) needed to construct the opcode """ def __init__(self, subkls, rwid, n_src, n_dst, name=None): RecordObject.__init__(self, name) self._n_src, self._n_dst = n_src, n_dst self._rwid = rwid + self._subkls = subkls src = [] for i in range(n_src):