From b4aa0d3e0871db37bf4d7e02e4ff4812f46f1114 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 21 May 2020 18:57:59 +0100 Subject: [PATCH] document subkls in CompUnitRecord --- src/soc/experiment/compalu_multi.py | 3 +++ 1 file changed, 3 insertions(+) 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): -- 2.30.2