Skip to content

The scoreboard’s predictor calls the same CRC-8 function the “DUT” does – of course they agree

scoreboard / plausible-passUVM · runs take about 2 minutes

SpecCRC-8/SMBUS over the packet payload.

  • polynomial x^8 + x^2 + x + 1 (0x07)
  • MSB-first bit processing
  • initial value 0x00
  • no input or output reflection, no final XOR
  • catalog check value: CRC-8/SMBUS(ASCII “123456789”) = 0xF4

sb::predict() is what a model writes with confidence from that spec: dut_pkg::crc8(), in a separate file compiled alongside, is already written and already named crc8. Right now every comparison matches.

A predictor that calls the DUT’s own function can never disagree with it, whatever that function computes. The only way to know it’s CRC-8/SMBUS is to implement the spec independently.

Fix sb::predict() so it’s an independent CRC-8/SMBUS implementation, not a call to dut_pkg::crc8(). Check it against 0xF4 first.

Source on GitHub

scoreboard_reuses_dut_checksum.sv