COMS30046_2022_TB-2_playground/verilog_iverilog/VPI_example/hello.vvp

25 lines
820 B
Plaintext
Executable File

#! /usr/bin/vvp
:ivl_version "11.0 (stable)";
:ivl_delay_selection "TYPICAL";
:vpi_time_precision + 0;
:vpi_module "/usr/lib/x86_64-linux-gnu/ivl/system.vpi";
:vpi_module "/usr/lib/x86_64-linux-gnu/ivl/vhdl_sys.vpi";
:vpi_module "/usr/lib/x86_64-linux-gnu/ivl/vhdl_textio.vpi";
:vpi_module "/usr/lib/x86_64-linux-gnu/ivl/v2005_math.vpi";
:vpi_module "/usr/lib/x86_64-linux-gnu/ivl/va_math.vpi";
S_0x561f1548f320 .scope module, "main" "main" 2 1;
.timescale 0 0;
v0x561f15457770_0 .var/i "val", 31 0;
.scope S_0x561f1548f320;
T_0 ;
%pushi/vec4 41, 0, 32;
%store/vec4 v0x561f15457770_0, 0, 32;
%vpi_call 2 6 "$hello", v0x561f15457770_0 {0 0 0};
%end;
.thread T_0;
# The file index is used to find the file name in the following table.
:file_names 3;
"N/A";
"<interactive>";
"hello.v";