JunghwanNA
a9ceb3c851
fix(cosim): align golden_reference ADC sign conversion with RTL
...
The golden reference used (adc_val - 128) << 9 which subtracts 65536,
but the Verilog RTL computes {1'b0,adc,9'b0} - {1'b0,8'hFF,9'b0}/2
which subtracts 0xFF00 = 65280. This creates a constant 256-LSB DC
offset between the golden reference and RTL for all 256 ADC values.
The bit-accurate model in fpga_model.py already uses the correct RTL
formula. This aligns golden_reference.py to match.
Verified: all 256 ADC input values now produce zero offset against
fpga_model.py.
2026-04-16 12:27:02 +09:00
..
2026-04-14 00:08:26 +05:45
2026-04-06 23:15:50 +03:00
2026-04-13 19:24:11 +05:45
2026-04-16 12:27:02 +09:00
2026-03-19 11:31:46 +02:00
2026-04-07 05:17:11 +03:00
2026-03-19 22:59:46 +02:00
2026-04-14 00:08:26 +05:45
2026-03-17 19:38:09 +02:00
2026-03-20 05:24:08 +02:00
2026-03-20 01:45:00 +02:00
2026-04-13 19:24:11 +05:45
2026-03-16 22:24:22 +02:00
2026-04-14 00:08:26 +05:45
2026-03-16 18:14:06 +02:00
2026-03-27 23:05:28 +02:00
2026-03-17 13:48:47 +02:00
2026-03-20 00:20:59 +02:00
2026-03-27 23:05:28 +02:00
2026-03-16 10:25:07 +02:00
2026-04-07 14:45:47 +03:00
2026-04-14 00:08:26 +05:45
2026-03-17 20:11:13 +02:00
2026-03-18 01:28:42 +02:00
2026-03-19 10:31:16 +02:00
2026-03-16 19:53:40 +02:00
2026-03-16 19:53:40 +02:00
2026-03-16 19:53:40 +02:00
2026-03-16 19:53:40 +02:00
2026-03-16 19:53:40 +02:00
2026-03-16 19:53:40 +02:00
2026-03-16 19:53:40 +02:00
2026-03-16 19:53:40 +02:00
2026-03-19 20:53:29 +02:00
2026-03-16 10:25:07 +02:00
2026-03-20 16:39:17 +02:00
2026-03-17 23:51:04 +02:00
2026-03-20 01:45:00 +02:00
2026-03-19 23:54:48 +02:00
2026-04-13 19:24:11 +05:45
2026-04-13 19:24:11 +05:45
2026-03-18 03:57:26 +02:00
2026-03-19 16:47:59 +02:00
2026-03-21 20:43:52 +02:00
2026-04-13 19:24:11 +05:45
2026-03-17 19:38:09 +02:00
2026-03-20 04:38:35 +02:00
2026-04-09 02:36:14 +03:00
2026-04-13 23:35:10 +05:45
2026-03-16 19:53:40 +02:00
2026-03-16 19:53:40 +02:00
2026-04-13 19:24:11 +05:45
2026-04-14 00:08:26 +05:45
2026-04-07 02:51:48 +03:00