# Pastebin FKzmpohi litejpeg/litejpeg$ python test/new_dct_tb.py Input data to the DCT Module [140, 144, 147, 140, 140, 155, 179, 175, 144, 152, 140, 147, 140, 148, 167, 179, 152, 155, 136, 167, 163, 162, 152, 172, 168, 145, 156, 160, 152, 155, 136, 160, 162, 148, 156, 148, 140, 136, 147, 162, 147, 167, 140, 155, 155, 140, 136, 162, 136, 156, 123, 167, 162, 144, 140, 147, 148, 155, 136, 155, 152, 147, 147, 136] Reference output data [186, -18, 15, -9, 23, -9, -14, 19, 21, -34, 26, -9, -11, 11, 14, 7, -10, -24, -2, 6, -18, 3, -20, -1, -8, -5, 14, -15, -8, -3, -3, 8, -3, 10, 8, 1, -11, 18, 18, 15, 4, -2, -18, 8, 8, -4, 1, -7, 9, 1, -3, 4, -1, -7, -1, -2, 0, -8, -2, 2, 1, 4, -6, 0] Output data by the DCT Module [186, -17, 14, -8, 23, -9, -13, -18, 20, -34, 26, -9, -10, 10, 13, 6, -10, -23, -1, 6, -18, 3, -20, 0, -8, -5, 14, -14, -8, -2, -3, 8, -3, 9, 7, 1, -11, 17, 18, 15, 3, -2, -18, 8, 8, -3, 0, -6, 8, 0, -2, 3, -1, -7, -1, -1, 0, -7, -2, 1, 1, 4, -6, 0] ^CTraceback (most recent call last): File "test/new_dct_tb.py", line 65, in run_simulation(tb, generators, clocks, vcd_name="dct.vcd") File "/home/tim/hdmi2usb/HDMI2USB-litex-firmware/third_party/litex/litex/gen/sim/core.py", line 387, in run_simulation s.run() File "/home/tim/hdmi2usb/HDMI2USB-litex-firmware/third_party/litex/litex/gen/sim/core.py", line 374, in run self.evaluator.execute(self.fragment.sync[cd]) File "/home/tim/hdmi2usb/HDMI2USB-litex-firmware/third_party/litex/litex/gen/sim/core.py", line 202, in execute self.execute(s.t) File "/home/tim/hdmi2usb/HDMI2USB-litex-firmware/third_party/litex/litex/gen/sim/core.py", line 199, in execute self.assign(s.l, self.eval(s.r)) File "/home/tim/hdmi2usb/HDMI2USB-litex-firmware/third_party/litex/litex/gen/sim/core.py", line 186, in assign self.assign(node.value, full_value) File "/home/tim/hdmi2usb/HDMI2USB-litex-firmware/third_party/litex/litex/gen/sim/core.py", line 173, in assign node.nbits, node.signed) File "/home/tim/hdmi2usb/HDMI2USB-litex-firmware/third_party/litex/litex/gen/sim/core.py", line 85, in _truncate value = value & (2**nbits - 1) KeyboardInterrupt