#! /usr/bin/vvp :ivl_version "0.9.7 " "(v0_9_7)"; :vpi_time_precision + 0; :vpi_module "system"; :vpi_module "v2005_math"; :vpi_module "va_math"; S_0x22ff060 .scope module, "negvalue" "negvalue" 2 1; .timescale 0 0; v0x22ff150_0 .var "reg1", 7 0; E_0x22fef90 .event edge, v0x22ff150_0; .scope S_0x22ff060; T_0 ; %movi 8, 8, 8; %ix/load 0, 8, 0; %assign/v0 v0x22ff150_0, 0, 8; %delay 1, 0; %movi 8, 8, 8; %ix/load 0, 8, 0; %assign/v0 v0x22ff150_0, 0, 8; %end; .thread T_0; .scope S_0x22ff060; T_1 ; %wait E_0x22fef90; %vpi_call 2 12 "$display", "%d (should be 8)", v0x22ff150_0; %jmp T_1; .thread T_1, $push; # The file index is used to find the file name in the following table. :file_names 3; "N/A"; ""; "ivtest-master/ivltests/negvalue.v";