You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
96 lines
3.3 KiB
Plaintext
96 lines
3.3 KiB
Plaintext
#! /usr/local/Cellar/icarus-verilog/12.0/bin/vvp
|
|
:ivl_version "12.0 (stable)";
|
|
:ivl_delay_selection "TYPICAL";
|
|
:vpi_time_precision + 0;
|
|
:vpi_module "/usr/local/Cellar/icarus-verilog/12.0/lib/ivl/system.vpi";
|
|
:vpi_module "/usr/local/Cellar/icarus-verilog/12.0/lib/ivl/vhdl_sys.vpi";
|
|
:vpi_module "/usr/local/Cellar/icarus-verilog/12.0/lib/ivl/vhdl_textio.vpi";
|
|
:vpi_module "/usr/local/Cellar/icarus-verilog/12.0/lib/ivl/v2005_math.vpi";
|
|
:vpi_module "/usr/local/Cellar/icarus-verilog/12.0/lib/ivl/va_math.vpi";
|
|
S_0x7fa89ad06690 .scope module, "div" "div" 2 1;
|
|
.timescale 0 0;
|
|
.port_info 0 /INPUT 1 "sys_clk";
|
|
.port_info 1 /INPUT 1 "sys_rst";
|
|
P_0x7fa89ad057c0 .param/l "t_1" 0 2 7, +C4<00000000000000000000000000001000>;
|
|
P_0x7fa89ad05800 .param/l "t_2" 0 2 24, +C4<00000000000000000000000000010000>;
|
|
v0x7fa89ad06880_0 .net *"_ivl_0", 7 0, L_0x7fa89ad17050; 1 drivers
|
|
v0x7fa89ad168e0_0 .net *"_ivl_4", 15 0, L_0x7fa89ad17210; 1 drivers
|
|
v0x7fa89ad16980_0 .var "a_16", 15 0;
|
|
v0x7fa89ad16ad0_0 .var "a_8", 7 0;
|
|
v0x7fa89ad16ba0_0 .var "b_16", 15 0;
|
|
v0x7fa89ad16cf0_0 .var "b_8", 7 0;
|
|
v0x7fa89ad16d80_0 .net "o_18", 0 0, L_0x7fa89ad172f0; 1 drivers
|
|
v0x7fa89ad16e20_0 .net "o_8", 0 0, L_0x7fa89ad17110; 1 drivers
|
|
o0x7fa89aa32188 .functor BUFZ 1, C4<z>; HiZ drive
|
|
v0x7fa89ad16ee0_0 .net "sys_clk", 0 0, o0x7fa89aa32188; 0 drivers
|
|
o0x7fa89aa321b8 .functor BUFZ 1, C4<z>; HiZ drive
|
|
v0x7fa89ad16f80_0 .net "sys_rst", 0 0, o0x7fa89aa321b8; 0 drivers
|
|
E_0x7fa89ad056c0/0 .event negedge, v0x7fa89ad16f80_0;
|
|
E_0x7fa89ad056c0/1 .event posedge, v0x7fa89ad16ee0_0;
|
|
E_0x7fa89ad056c0 .event/or E_0x7fa89ad056c0/0, E_0x7fa89ad056c0/1;
|
|
L_0x7fa89ad17050 .arith/div 8, v0x7fa89ad16ad0_0, v0x7fa89ad16cf0_0;
|
|
L_0x7fa89ad17110 .part L_0x7fa89ad17050, 0, 1;
|
|
L_0x7fa89ad17210 .arith/div 16, v0x7fa89ad16980_0, v0x7fa89ad16ba0_0;
|
|
L_0x7fa89ad172f0 .part L_0x7fa89ad17210, 0, 1;
|
|
.scope S_0x7fa89ad06690;
|
|
T_0 ;
|
|
%pushi/vec4 1, 0, 8;
|
|
%store/vec4 v0x7fa89ad16ad0_0, 0, 8;
|
|
%pushi/vec4 1, 0, 8;
|
|
%store/vec4 v0x7fa89ad16cf0_0, 0, 8;
|
|
%pushi/vec4 1, 0, 16;
|
|
%store/vec4 v0x7fa89ad16980_0, 0, 16;
|
|
%pushi/vec4 1, 0, 16;
|
|
%store/vec4 v0x7fa89ad16ba0_0, 0, 16;
|
|
%end;
|
|
.thread T_0;
|
|
.scope S_0x7fa89ad06690;
|
|
T_1 ;
|
|
%wait E_0x7fa89ad056c0;
|
|
%load/vec4 v0x7fa89ad16f80_0;
|
|
%nor/r;
|
|
%flag_set/vec4 8;
|
|
%jmp/0xz T_1.0, 8;
|
|
%pushi/vec4 1, 0, 8;
|
|
%assign/vec4 v0x7fa89ad16ad0_0, 0;
|
|
%pushi/vec4 1, 0, 8;
|
|
%assign/vec4 v0x7fa89ad16cf0_0, 0;
|
|
%jmp T_1.1;
|
|
T_1.0 ;
|
|
%load/vec4 v0x7fa89ad16ad0_0;
|
|
%addi 1, 0, 8;
|
|
%assign/vec4 v0x7fa89ad16ad0_0, 0;
|
|
%load/vec4 v0x7fa89ad16cf0_0;
|
|
%addi 1, 0, 8;
|
|
%assign/vec4 v0x7fa89ad16cf0_0, 0;
|
|
T_1.1 ;
|
|
%jmp T_1;
|
|
.thread T_1;
|
|
.scope S_0x7fa89ad06690;
|
|
T_2 ;
|
|
%wait E_0x7fa89ad056c0;
|
|
%load/vec4 v0x7fa89ad16f80_0;
|
|
%nor/r;
|
|
%flag_set/vec4 8;
|
|
%jmp/0xz T_2.0, 8;
|
|
%pushi/vec4 1, 0, 16;
|
|
%assign/vec4 v0x7fa89ad16980_0, 0;
|
|
%pushi/vec4 1, 0, 16;
|
|
%assign/vec4 v0x7fa89ad16ba0_0, 0;
|
|
%jmp T_2.1;
|
|
T_2.0 ;
|
|
%load/vec4 v0x7fa89ad16980_0;
|
|
%addi 1, 0, 16;
|
|
%assign/vec4 v0x7fa89ad16980_0, 0;
|
|
%load/vec4 v0x7fa89ad16ba0_0;
|
|
%addi 1, 0, 16;
|
|
%assign/vec4 v0x7fa89ad16ba0_0, 0;
|
|
T_2.1 ;
|
|
%jmp T_2;
|
|
.thread T_2;
|
|
# The file index is used to find the file name in the following table.
|
|
:file_names 3;
|
|
"N/A";
|
|
"<interactive>";
|
|
"div.v";
|