diff --git a/tests/test_parity/tb_template.sv b/tests/test_parity/tb_template.sv index a92b483..7f32452 100644 --- a/tests/test_parity/tb_template.sv +++ b/tests/test_parity/tb_template.sv @@ -24,8 +24,13 @@ disable fork; cpuif.write('h0, 'd0); +`ifdef XILINX_XSIM + assign dut.field_storage.r1.f1.value = 16'd1; + deassign dut.field_storage.r1.f1.value; +`else force dut.field_storage.r1.f1.value = 16'd1; release dut.field_storage.r1.f1.value; +`endif @cb; @cb; assert(cb.parity_error == 1'b1);