# Pastebin Cg1LM7Mh Traceback (most recent call last): File "new_huffman_tb.py", line 73, in run_simulation(tb, generators, clocks, vcd_name="sim.vcd") File "/home/ishan/gsoc/environment/HDMI2USB-litex-firmware/third_party/litex/litex/gen/sim/core.py", line 385, in run_simulation with Simulator(*args, **kwargs) as s: File "/home/ishan/gsoc/environment/HDMI2USB-litex-firmware/third_party/litex/litex/gen/sim/core.py", line 244, in __init__ self.fragment = fragment_or_module.get_fragment() File "/home/ishan/gsoc/environment/HDMI2USB-litex-firmware/third_party/litex/litex/gen/fhdl/module.py", line 102, in get_fragment self.finalize() File "/home/ishan/gsoc/environment/HDMI2USB-litex-firmware/third_party/litex/litex/gen/fhdl/module.py", line 156, in finalize subfragments = self._collect_submodules() File "/home/ishan/gsoc/environment/HDMI2USB-litex-firmware/third_party/litex/litex/gen/fhdl/module.py", line 149, in _collect_submodules r.append((name, submodule.get_fragment())) File "/home/ishan/gsoc/environment/HDMI2USB-litex-firmware/third_party/litex/litex/gen/fhdl/module.py", line 102, in get_fragment self.finalize() File "/home/ishan/gsoc/environment/HDMI2USB-litex-firmware/third_party/litex/litex/gen/fhdl/module.py", line 156, in finalize subfragments = self._collect_submodules() File "/home/ishan/gsoc/environment/HDMI2USB-litex-firmware/third_party/litex/litex/gen/fhdl/module.py", line 149, in _collect_submodules r.append((name, submodule.get_fragment())) File "/home/ishan/gsoc/environment/HDMI2USB-litex-firmware/third_party/litex/litex/gen/fhdl/decorators.py", line 27, in get_fragment self.transform_fragment(i, f) File "/home/ishan/gsoc/environment/HDMI2USB-litex-firmware/third_party/litex/litex/gen/fhdl/decorators.py", line 81, in transform_fragment self.transform_fragment_insert(i, f, to_insert) File "/home/ishan/gsoc/environment/HDMI2USB-litex-firmware/third_party/litex/litex/gen/fhdl/decorators.py", line 89, in transform_fragment_insert f.sync[cdn] = [If(ce, *f.sync[cdn])] File "/home/ishan/gsoc/environment/HDMI2USB-litex-firmware/third_party/litex/litex/gen/fhdl/structure.py", line 471, in __init__ raise TypeError("Not all test body objects are Migen statements") TypeError: Not all test body objects are Migen statements