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-16 12:27:02 +09:00
2026-03-16 16:01:40 +02:00
2026-03-16 16:01:40 +02:00
2026-03-16 16:01:40 +02:00
2026-03-16 16:01:40 +02:00
2026-03-16 16:01:40 +02:00
2026-03-16 16:01:40 +02:00
2026-03-16 16:01:40 +02:00
2026-04-12 14:21:03 +05:45
2026-04-12 14:21:03 +05:45
2026-03-16 16:23:01 +02:00
2026-03-16 16:23:01 +02:00
2026-03-16 16:23:01 +02:00
2026-03-16 16:23:01 +02:00
2026-04-12 14:21:03 +05:45
2026-03-16 16:01:40 +02:00
2026-03-16 16:01:40 +02:00
2026-03-16 16:01:40 +02:00
2026-03-16 16:01:40 +02:00
2026-04-12 14:21:03 +05:45
2026-03-27 23:05:28 +02:00
2026-03-27 23:05:28 +02:00
2026-03-27 23:05:28 +02:00
2026-03-27 23:05:28 +02:00
2026-03-27 23:05:28 +02:00
2026-03-27 23:05:28 +02:00
2026-03-27 23:05:28 +02:00
2026-03-16 18:09:26 +02:00
2026-03-27 23:05:28 +02:00
2026-04-12 14:21:03 +05:45
2026-04-12 14:21:03 +05:45
2026-04-12 14:21:03 +05:45
2026-04-12 14:21:03 +05:45
2026-04-12 14:21:03 +05:45
2026-03-16 16:23:01 +02:00
2026-03-16 16:23:01 +02:00
2026-03-16 16:23:01 +02:00
2026-03-16 16:23:01 +02:00
2026-03-16 16:23:01 +02:00
2026-03-16 16:23:01 +02:00
2026-03-16 16:23:01 +02:00
2026-03-16 16:23:01 +02:00
2026-03-16 16:23:01 +02:00
2026-03-16 16:23:01 +02:00
2026-03-16 16:23:01 +02:00
2026-03-16 16:23:01 +02:00
2026-03-16 16:23:01 +02:00
2026-03-16 16:23:01 +02:00
2026-03-16 16:23:01 +02:00
2026-03-16 16:23:01 +02:00
2026-03-16 16:23:01 +02:00
2026-03-16 16:23:01 +02:00
2026-03-16 16:23:01 +02:00
2026-03-16 16:23:01 +02:00
2026-03-16 16:23:01 +02:00
2026-03-16 16:23:01 +02:00
2026-03-16 16:23:01 +02:00
2026-03-16 16:23:01 +02:00
2026-03-16 18:09:26 +02:00
2026-03-16 18:09:26 +02:00
2026-03-16 18:09:26 +02:00
2026-03-16 18:09:26 +02:00
2026-03-16 18:09:26 +02:00
2026-03-16 18:09:26 +02:00
2026-03-16 18:09:26 +02:00
2026-03-16 18:09:26 +02:00
2026-03-16 18:09:26 +02:00
2026-03-16 18:09:26 +02:00
2026-03-16 18:09:26 +02:00
2026-03-16 18:09:26 +02:00
2026-03-16 18:09:26 +02:00
2026-03-16 18:09:26 +02:00
2026-03-16 18:09:26 +02:00
2026-03-16 18:09:26 +02:00
2026-03-16 18:09:26 +02:00
2026-03-16 18:09:26 +02:00
2026-03-16 18:09:26 +02:00
2026-03-16 18:09:26 +02:00
2026-03-16 18:09:26 +02:00
2026-03-16 18:09:26 +02:00
2026-03-16 18:09:26 +02:00
2026-03-16 18:09:26 +02:00
2026-03-16 18:09:26 +02:00
2026-03-16 18:09:26 +02:00
2026-04-12 14:21:03 +05:45
2026-03-16 16:01:40 +02:00
2026-03-16 16:01:40 +02:00
2026-03-19 22:59:46 +02:00
2026-03-16 16:01:40 +02:00
2026-03-16 16:01:40 +02:00
2026-03-16 16:01:40 +02:00
2026-03-16 16:01:40 +02:00
2026-03-16 16:23:01 +02:00
2026-03-16 16:23:01 +02:00
2026-03-16 16:23:01 +02:00
2026-03-16 16:23:01 +02:00
2026-04-14 00:08:26 +05:45
2026-03-16 16:01:40 +02:00
2026-04-12 14:21:03 +05:45