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.

98 lines
2.7 KiB
Plaintext

#! /usr/local/Cellar/icarus-verilog/12.0/bin/vvp
:ivl_version "12.0 (stable)";
:ivl_delay_selection "TYPICAL";
:vpi_time_precision - 9;
: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_0x7f9736404160 .scope module, "tb_dt" "tb_dt" 2 2;
.timescale -9 -9;
v0x7f9736404340_0 .var "CNT", 5 0;
v0x7f97365140b0_0 .var "data", 7 0;
v0x7f9736514160_0 .var "sys_clk", 0 0;
v0x7f9736514210_0 .var "sys_rst", 0 0;
E_0x7f97364042e0/0 .event negedge, v0x7f9736514210_0;
E_0x7f97364042e0/1 .event posedge, v0x7f9736514160_0;
E_0x7f97364042e0 .event/or E_0x7f97364042e0/0, E_0x7f97364042e0/1;
.scope S_0x7f9736404160;
T_0 ;
%pushi/vec4 0, 0, 1;
%assign/vec4 v0x7f9736514160_0, 0;
%pushi/vec4 0, 0, 1;
%assign/vec4 v0x7f9736514210_0, 0;
%delay 200, 0;
%pushi/vec4 1, 0, 1;
%assign/vec4 v0x7f9736514210_0, 0;
%end;
.thread T_0;
.scope S_0x7f9736404160;
T_1 ;
%delay 10, 0;
%load/vec4 v0x7f9736514160_0;
%inv;
%store/vec4 v0x7f9736514160_0, 0, 1;
%jmp T_1;
.thread T_1;
.scope S_0x7f9736404160;
T_2 ;
%wait E_0x7f97364042e0;
%load/vec4 v0x7f9736514210_0;
%cmpi/e 0, 0, 1;
%jmp/0xz T_2.0, 4;
%pushi/vec4 0, 0, 6;
%assign/vec4 v0x7f9736404340_0, 0;
%jmp T_2.1;
T_2.0 ;
%load/vec4 v0x7f9736404340_0;
%cmpi/u 24, 0, 6;
%jmp/0xz T_2.2, 5;
%load/vec4 v0x7f9736404340_0;
%addi 1, 0, 6;
%assign/vec4 v0x7f9736404340_0, 0;
%jmp T_2.3;
T_2.2 ;
%pushi/vec4 0, 0, 6;
%assign/vec4 v0x7f9736404340_0, 0;
T_2.3 ;
T_2.1 ;
%jmp T_2;
.thread T_2;
.scope S_0x7f9736404160;
T_3 ;
%wait E_0x7f97364042e0;
%load/vec4 v0x7f9736514210_0;
%cmpi/e 0, 0, 1;
%jmp/0xz T_3.0, 4;
%pushi/vec4 128, 0, 8;
%assign/vec4 v0x7f97365140b0_0, 0;
%jmp T_3.1;
T_3.0 ;
%load/vec4 v0x7f9736404340_0;
%cmpi/e 24, 0, 6;
%jmp/0xz T_3.2, 4;
%load/vec4 v0x7f97365140b0_0;
%parti/s 4, 0, 2;
%addi 1, 0, 4;
%ix/load 4, 0, 0;
%ix/load 5, 0, 0;
%flag_set/imm 4, 0;
%assign/vec4/off/d v0x7f97365140b0_0, 4, 5;
%load/vec4 v0x7f97365140b0_0;
%parti/s 2, 5, 4;
%addi 1, 0, 2;
%ix/load 4, 5, 0;
%ix/load 5, 0, 0;
%flag_set/imm 4, 0;
%assign/vec4/off/d v0x7f97365140b0_0, 4, 5;
T_3.2 ;
T_3.1 ;
%jmp T_3;
.thread T_3;
# The file index is used to find the file name in the following table.
:file_names 3;
"N/A";
"<interactive>";
"tb_dt.v";