#! /usr/bin/vvp :ivl_version "12.0 (stable)"; :ivl_delay_selection "TYPICAL"; :vpi_time_precision + 0; :vpi_module "/usr/lib64/ivl/system.vpi"; :vpi_module "/usr/lib64/ivl/vhdl_sys.vpi"; :vpi_module "/usr/lib64/ivl/vhdl_textio.vpi"; :vpi_module "/usr/lib64/ivl/v2005_math.vpi"; :vpi_module "/usr/lib64/ivl/va_math.vpi"; S_0x56486b9b1530 .scope module, "pcTB" "pcTB" 2 1; .timescale 0 0; v0x56486b9c2f90_0 .var "clk", 0 0; v0x56486b9c3050_0 .net "next_pc", 31 0, v0x56486b9c2c50_0; 1 drivers v0x56486b9c3120_0 .net "pc", 31 0, v0x56486b9c2d30_0; 1 drivers v0x56486b9c3220_0 .var "rst", 0 0; S_0x56486b9b16c0 .scope module, "uut" "pc" 2 8, 3 1 0, S_0x56486b9b1530; .timescale 0 0; .port_info 0 /INPUT 1 "rst"; .port_info 1 /INPUT 1 "clk"; .port_info 2 /OUTPUT 32 "pc"; .port_info 3 /OUTPUT 32 "next_pc"; v0x56486b99e730_0 .net "clk", 0 0, v0x56486b9c2f90_0; 1 drivers v0x56486b9c2c50_0 .var "next_pc", 31 0; v0x56486b9c2d30_0 .var "pc", 31 0; v0x56486b9c2e20_0 .net "rst", 0 0, v0x56486b9c3220_0; 1 drivers E_0x56486b9afa90 .event posedge, v0x56486b99e730_0; .scope S_0x56486b9b16c0; T_0 ; %wait E_0x56486b9afa90; %load/vec4 v0x56486b9c2e20_0; %flag_set/vec4 8; %jmp/0xz T_0.0, 8; %pushi/vec4 0, 0, 32; %assign/vec4 v0x56486b9c2d30_0, 0; %jmp T_0.1; T_0.0 ; %load/vec4 v0x56486b9c2d30_0; %assign/vec4 v0x56486b9c2c50_0, 0; %load/vec4 v0x56486b9c2d30_0; %addi 1, 0, 32; %assign/vec4 v0x56486b9c2d30_0, 0; T_0.1 ; %jmp T_0; .thread T_0; .scope S_0x56486b9b1530; T_1 ; %load/vec4 v0x56486b9c2f90_0; %inv; %store/vec4 v0x56486b9c2f90_0, 0, 1; %delay 2, 0; %jmp T_1; .thread T_1; .scope S_0x56486b9b1530; T_2 ; %vpi_call 2 20 "$dumpfile", "pc.vcd" {0 0 0}; %vpi_call 2 21 "$dumpvars" {0 0 0}; %pushi/vec4 0, 0, 1; %store/vec4 v0x56486b9c2f90_0, 0, 1; %pushi/vec4 1, 0, 1; %store/vec4 v0x56486b9c3220_0, 0, 1; %delay 4, 0; %pushi/vec4 0, 0, 1; %store/vec4 v0x56486b9c3220_0, 0, 1; %delay 80, 0; %vpi_call 2 25 "$finish" {0 0 0}; %end; .thread T_2; # The file index is used to find the file name in the following table. :file_names 4; "N/A"; ""; "pcTB.v"; "pc.v";