{"body":"litejpeg/litejpeg$ python test/new_dct_tb.py \n\n\nInput data to the DCT Module\n[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]\n\n\nReference output data\n[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]\n\n\nOutput data by the DCT Module\n[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]\n^CTraceback (most recent call last):\n  File \"test/new_dct_tb.py\", line 65, in <module>\n    run_simulation(tb, generators, clocks, vcd_name=\"dct.vcd\")\n  File \"/home/tim/hdmi2usb/HDMI2USB-litex-firmware/third_party/litex/litex/gen/sim/core.py\", line 387, in run_simulation\n    s.run()\n  File \"/home/tim/hdmi2usb/HDMI2USB-litex-firmware/third_party/litex/litex/gen/sim/core.py\", line 374, in run\n    self.evaluator.execute(self.fragment.sync[cd])\n  File \"/home/tim/hdmi2usb/HDMI2USB-litex-firmware/third_party/litex/litex/gen/sim/core.py\", line 202, in execute\n    self.execute(s.t)\n  File \"/home/tim/hdmi2usb/HDMI2USB-litex-firmware/third_party/litex/litex/gen/sim/core.py\", line 199, in execute\n    self.assign(s.l, self.eval(s.r))\n  File \"/home/tim/hdmi2usb/HDMI2USB-litex-firmware/third_party/litex/litex/gen/sim/core.py\", line 186, in assign\n    self.assign(node.value, full_value)\n  File \"/home/tim/hdmi2usb/HDMI2USB-litex-firmware/third_party/litex/litex/gen/sim/core.py\", line 173, in assign\n    node.nbits, node.signed)\n  File \"/home/tim/hdmi2usb/HDMI2USB-litex-firmware/third_party/litex/litex/gen/sim/core.py\", line 85, in _truncate\n    value = value & (2**nbits - 1)\nKeyboardInterrupt\n","name":"","extension":"txt","url":"https://www.irccloud.com/pastebin/FKzmpohi","modified":1496907950,"id":"FKzmpohi","size":2149,"lines":31,"own_paste":false,"theme":"","date":1496907950}