[libre-riscv-dev] [Bug 353] formal proof of soc.regfile classes RegFile and RegFileArray needed
bugzilla-daemon at libre-soc.org
bugzilla-daemon at libre-soc.org
Wed May 27 19:48:12 BST 2020
https://bugs.libre-soc.org/show_bug.cgi?id=353
--- Comment #8 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
18 def elaborate(self, platform):
19 m = Module()
20 comb = m.d.comb
21 m.submodules.dut = dut = Register(32)
yep not going to work, trying to access domething that has not had elaborate
called.
derive Driver *from* Register, instead, and replace the above with
m = super().elaborate(platform)
then the Register.elaborate will have been called.
then self.reg will exist
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-riscv-dev
mailing list