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.

164 lines
4.3 KiB
Plaintext

#! /c/Source/iverilog-install/bin/vvp
:ivl_version "12.0 (devel)" "(s20150603-1539-g2693dd32b)";
:ivl_delay_selection "TYPICAL";
:vpi_time_precision - 9;
:vpi_module "C:\iverilog\lib\ivl\system.vpi";
:vpi_module "C:\iverilog\lib\ivl\vhdl_sys.vpi";
:vpi_module "C:\iverilog\lib\ivl\vhdl_textio.vpi";
:vpi_module "C:\iverilog\lib\ivl\v2005_math.vpi";
:vpi_module "C:\iverilog\lib\ivl\va_math.vpi";
S_000001463bb446c0 .scope module, "tb_ram" "tb_ram" 2 2;
.timescale -9 -9;
L_000001463bb0a5a0 .functor AND 1, v000001463bb9e8c0_0, L_000001463bbe6b50, C4<1>, C4<1>;
L_000001463bb9eb48 .functor BUFT 1, C4<00000111>, C4<0>, C4<0>, C4<0>;
v000001463bb09810_0 .net/2u *"_ivl_0", 7 0, L_000001463bb9eb48; 1 drivers
v000001463bb06790_0 .net *"_ivl_2", 0 0, L_000001463bbe6b50; 1 drivers
v000001463bb098b0_0 .var "counter", 7 0;
v000001463bb09950_0 .var "ram_addr", 2 0;
v000001463bb9e820_0 .var "ram_data", 2 0;
v000001463bb9e8c0_0 .var "ram_en", 0 0;
v000001463bb9e960_0 .net "ram_rw", 0 0, L_000001463bb0a5a0; 1 drivers
v000001463bb9ea00_0 .var "sys_clk", 0 0;
v000001463bb9eaa0_0 .var "sys_rst", 0 0;
E_000001463bb5a060/0 .event negedge, v000001463bb9eaa0_0;
E_000001463bb5a060/1 .event posedge, v000001463bb9ea00_0;
E_000001463bb5a060 .event/or E_000001463bb5a060/0, E_000001463bb5a060/1;
L_000001463bbe6b50 .cmp/ge 8, L_000001463bb9eb48, v000001463bb098b0_0;
.scope S_000001463bb446c0;
T_0 ;
%delay 10, 0;
%load/vec4 v000001463bb9ea00_0;
%inv;
%store/vec4 v000001463bb9ea00_0, 0, 1;
%jmp T_0;
.thread T_0;
.scope S_000001463bb446c0;
T_1 ;
%pushi/vec4 0, 0, 1;
%assign/vec4 v000001463bb9ea00_0, 0;
%pushi/vec4 0, 0, 1;
%assign/vec4 v000001463bb9eaa0_0, 0;
%delay 50, 0;
%pushi/vec4 1, 0, 1;
%assign/vec4 v000001463bb9eaa0_0, 0;
%end;
.thread T_1;
.scope S_000001463bb446c0;
T_2 ;
%wait E_000001463bb5a060;
%load/vec4 v000001463bb9eaa0_0;
%nor/r;
%flag_set/vec4 8;
%jmp/0xz T_2.0, 8;
%pushi/vec4 0, 0, 1;
%assign/vec4 v000001463bb9e8c0_0, 0;
%jmp T_2.1;
T_2.0 ;
%pushi/vec4 1, 0, 1;
%assign/vec4 v000001463bb9e8c0_0, 0;
T_2.1 ;
%jmp T_2;
.thread T_2;
.scope S_000001463bb446c0;
T_3 ;
%wait E_000001463bb5a060;
%load/vec4 v000001463bb9eaa0_0;
%nor/r;
%flag_set/vec4 8;
%jmp/0xz T_3.0, 8;
%pushi/vec4 0, 0, 8;
%assign/vec4 v000001463bb098b0_0, 0;
%jmp T_3.1;
T_3.0 ;
%load/vec4 v000001463bb9e8c0_0;
%cmpi/e 0, 0, 1;
%jmp/1 T_3.4, 4;
%flag_mov 8, 4;
%load/vec4 v000001463bb098b0_0;
%cmpi/e 15, 0, 8;
%flag_or 4, 8;
T_3.4;
%jmp/0xz T_3.2, 4;
%pushi/vec4 0, 0, 8;
%assign/vec4 v000001463bb098b0_0, 0;
%jmp T_3.3;
T_3.2 ;
%load/vec4 v000001463bb098b0_0;
%addi 1, 0, 8;
%assign/vec4 v000001463bb098b0_0, 0;
T_3.3 ;
T_3.1 ;
%jmp T_3;
.thread T_3;
.scope S_000001463bb446c0;
T_4 ;
%wait E_000001463bb5a060;
%load/vec4 v000001463bb9eaa0_0;
%nor/r;
%flag_set/vec4 8;
%jmp/0xz T_4.0, 8;
%pushi/vec4 0, 0, 3;
%assign/vec4 v000001463bb9e820_0, 0;
%jmp T_4.1;
T_4.0 ;
%load/vec4 v000001463bb9e960_0;
%flag_set/vec4 9;
%flag_get/vec4 9;
%jmp/0 T_4.4, 9;
%load/vec4 v000001463bb9e820_0;
%cmpi/u 7, 0, 3;
%flag_get/vec4 5;
%and;
T_4.4;
%flag_set/vec4 8;
%jmp/0xz T_4.2, 8;
%load/vec4 v000001463bb9e820_0;
%addi 1, 0, 3;
%assign/vec4 v000001463bb9e820_0, 0;
%jmp T_4.3;
T_4.2 ;
%pushi/vec4 0, 0, 3;
%assign/vec4 v000001463bb9e820_0, 0;
T_4.3 ;
T_4.1 ;
%jmp T_4;
.thread T_4;
.scope S_000001463bb446c0;
T_5 ;
%wait E_000001463bb5a060;
%load/vec4 v000001463bb9eaa0_0;
%nor/r;
%flag_set/vec4 8;
%jmp/0xz T_5.0, 8;
%pushi/vec4 0, 0, 3;
%assign/vec4 v000001463bb09950_0, 0;
%jmp T_5.1;
T_5.0 ;
%load/vec4 v000001463bb9e8c0_0;
%flag_set/vec4 9;
%flag_get/vec4 9;
%jmp/0 T_5.4, 9;
%load/vec4 v000001463bb09950_0;
%cmpi/u 7, 0, 3;
%flag_get/vec4 5;
%and;
T_5.4;
%flag_set/vec4 8;
%jmp/0xz T_5.2, 8;
%load/vec4 v000001463bb09950_0;
%addi 1, 0, 3;
%assign/vec4 v000001463bb09950_0, 0;
%jmp T_5.3;
T_5.2 ;
%pushi/vec4 0, 0, 3;
%assign/vec4 v000001463bb09950_0, 0;
T_5.3 ;
T_5.1 ;
%jmp T_5;
.thread T_5;
# The file index is used to find the file name in the following table.
:file_names 3;
"N/A";
"<interactive>";
"tb_ram.v";