// This file ONLY is placed under the Creative Commons Public Domain.
// SPDX-FileCopyrightText: 2026 PlanV GmbH
// SPDX-License-Identifier: CC0-1.0
// verilog_format: off
`define stop $stop
`define checkh(gotv,expv) do if ((gotv) !== (expv)) begin $write("%%Error: %s:%0d: got=%0x exp=%0x (%s !== %s)\n", `__FILE__,`__LINE__, (gotv), (expv), `"gotv`", `"expv`"); `stop; end while(0);
`define checkd(gotv,expv) do if ((gotv) !== (expv)) begin $write("%%Error: %s:%0d: got=%0d exp=%0d\n", `__FILE__,`__LINE__, (gotv), (expv)); `stop; end while(0);
// verilog_format: on
modulet(
inputclk
);
intcyc;
reg[63:0]crc;
// Derive signals from non-adjacent CRC bits
wirea=crc[0];
wireb=crc[4];
wirec=crc[8];
wired=crc[12];
intcount_fail1=0;
intcount_fail2=0;
intcount_fail3=0;
intcount_fail4=0;
intcount_fail5=0;
// Test 1: a[*3] |-> b (3 consecutive, overlapping implication)