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.
133 lines
6.9 KiB
Plaintext
133 lines
6.9 KiB
Plaintext
#! /c/Source/iverilog-install/bin/vvp
|
|
:ivl_version "12.0 (devel)" "(s20150603-1539-g2693dd32b)";
|
|
:ivl_delay_selection "TYPICAL";
|
|
:vpi_time_precision + 0;
|
|
: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_000002a9cf0c0950 .scope module, "led" "led" 2 1;
|
|
.timescale 0 0;
|
|
.port_info 0 /INPUT 1 "key";
|
|
.port_info 1 /OUTPUT 1 "led";
|
|
P_000002a9cee86dc0 .param/l "WIDTH" 0 2 6, +C4<00000000000000000000000000000101>;
|
|
P_000002a9cee86df8 .param/l "w_1" 0 2 31, C4<0100>;
|
|
o000002a9cf0cd608 .functor BUFZ 1, C4<z>; HiZ drive
|
|
L_000002a9cf0bf320 .functor BUFZ 1, o000002a9cf0cd608, C4<0>, C4<0>, C4<0>;
|
|
L_000002a9cf0bf7f0 .functor AND 1, L_000002a9cf1227a0, L_000002a9cf1213a0, C4<1>, C4<1>;
|
|
o000002a9cf0cd038 .functor BUFZ 5, C4<zzzzz>; HiZ drive
|
|
L_000002a9cf0bf240 .functor AND 5, o000002a9cf0cd038, L_000002a9cf121620, C4<11111>, C4<11111>;
|
|
v000002a9cf0ba590_0 .net "U", 4 0, L_000002a9cf0bf240; 1 drivers
|
|
v000002a9cf0ba450_0 .net "V", 4 0, L_000002a9cf121620; 1 drivers
|
|
v000002a9cf0b9e10_0 .net "W", 4 0, o000002a9cf0cd038; 0 drivers
|
|
L_000002a9cf122ec8 .functor BUFT 1, C4<00110>, C4<0>, C4<0>, C4<0>;
|
|
v000002a9cf0ba4f0_0 .net "Y1", 4 0, L_000002a9cf122ec8; 1 drivers
|
|
v000002a9cf0ba950_0 .net "Y2", 4 0, L_000002a9cf121a80; 1 drivers
|
|
L_000002a9cf122f58 .functor BUFT 1, C4<01>, C4<0>, C4<0>, C4<0>;
|
|
v000002a9cf0ba630_0 .net *"_ivl_21", 1 0, L_000002a9cf122f58; 1 drivers
|
|
L_000002a9cf122fa0 .functor BUFT 1, C4<01>, C4<0>, C4<0>, C4<0>;
|
|
v000002a9cf0ba6d0_0 .net *"_ivl_25", 1 0, L_000002a9cf122fa0; 1 drivers
|
|
v000002a9cf0ba770_0 .net *"_ivl_29", 1 0, L_000002a9cf120d60; 1 drivers
|
|
v000002a9cf0b9eb0_0 .net *"_ivl_3", 0 0, L_000002a9cf0bf320; 1 drivers
|
|
v000002a9cf0b9f50_0 .net *"_ivl_31", 0 0, L_000002a9cf121b20; 1 drivers
|
|
v000002a9cf0ba9f0_0 .net *"_ivl_33", 0 0, L_000002a9cf121bc0; 1 drivers
|
|
L_000002a9cf122fe8 .functor BUFT 1, C4<01>, C4<0>, C4<0>, C4<0>;
|
|
v000002a9cf121300_0 .net *"_ivl_39", 1 0, L_000002a9cf122fe8; 1 drivers
|
|
L_000002a9cf123030 .functor BUFT 1, C4<01>, C4<0>, C4<0>, C4<0>;
|
|
v000002a9cf122660_0 .net *"_ivl_43", 1 0, L_000002a9cf123030; 1 drivers
|
|
v000002a9cf1223e0_0 .net *"_ivl_47", 1 0, L_000002a9cf122020; 1 drivers
|
|
L_000002a9cf122df0 .functor BUFT 1, C4<000>, C4<0>, C4<0>, C4<0>;
|
|
v000002a9cf1214e0_0 .net/2u *"_ivl_49", 2 0, L_000002a9cf122df0; 1 drivers
|
|
v000002a9cf120fe0_0 .net *"_ivl_51", 0 0, L_000002a9cf1227a0; 1 drivers
|
|
L_000002a9cf122e38 .functor BUFT 1, C4<000>, C4<0>, C4<0>, C4<0>;
|
|
v000002a9cf121760_0 .net/2u *"_ivl_53", 2 0, L_000002a9cf122e38; 1 drivers
|
|
v000002a9cf121260_0 .net *"_ivl_55", 0 0, L_000002a9cf1213a0; 1 drivers
|
|
v000002a9cf122480_0 .net *"_ivl_60", 0 0, L_000002a9cf121440; 1 drivers
|
|
L_000002a9cf122e80 .functor BUFT 1, C4<0000>, C4<0>, C4<0>, C4<0>;
|
|
v000002a9cf121ee0_0 .net *"_ivl_64", 3 0, L_000002a9cf122e80; 1 drivers
|
|
v000002a9cf122340_0 .net *"_ivl_7", 0 0, L_000002a9cf121800; 1 drivers
|
|
v000002a9cf122980_0 .net *"_ivl_71", 2 0, L_000002a9cf1216c0; 1 drivers
|
|
L_000002a9cf122f10 .functor BUFT 1, C4<00>, C4<0>, C4<0>, C4<0>;
|
|
v000002a9cf122ac0_0 .net *"_ivl_73", 1 0, L_000002a9cf122f10; 1 drivers
|
|
o000002a9cf0cd428 .functor BUFZ 4, C4<zzzz>; HiZ drive
|
|
; Elide local net with no drivers, v000002a9cf121f80_0 name=_ivl_83
|
|
L_000002a9cf122d60 .functor BUFT 1, C4<1>, C4<0>, C4<0>, C4<0>;
|
|
v000002a9cf121c60_0 .net "a", 0 0, L_000002a9cf122d60; 1 drivers
|
|
v000002a9cf121120_0 .var "a_1", 0 0;
|
|
L_000002a9cf122da8 .functor BUFT 1, C4<1>, C4<0>, C4<0>, C4<0>;
|
|
v000002a9cf121d00_0 .net "b", 0 0, L_000002a9cf122da8; 1 drivers
|
|
v000002a9cf1220c0_0 .var "b_1", 0 0;
|
|
L_000002a9cf122c88 .functor BUFT 1, C4<0>, C4<0>, C4<0>, C4<0>;
|
|
v000002a9cf1225c0_0 .net "c", 0 0, L_000002a9cf122c88; 1 drivers
|
|
v000002a9cf122b60_0 .var "c_1", 0 0;
|
|
v000002a9cf1222a0_0 .net "d", 0 0, L_000002a9cf121da0; 1 drivers
|
|
L_000002a9cf122cd0 .functor BUFT 1, C4<0>, C4<0>, C4<0>, C4<0>;
|
|
v000002a9cf1211c0_0 .net "f", 0 0, L_000002a9cf122cd0; 1 drivers
|
|
L_000002a9cf122d18 .functor BUFT 1, C4<010>, C4<0>, C4<0>, C4<0>;
|
|
v000002a9cf121580_0 .net "g", 2 0, L_000002a9cf122d18; 1 drivers
|
|
v000002a9cf120ea0_0 .net "key", 0 0, o000002a9cf0cd608; 0 drivers
|
|
o000002a9cf0cd638 .functor BUFZ 3, C4<zzz>; HiZ drive
|
|
v000002a9cf122520_0 .net "l_a", 2 0, o000002a9cf0cd638; 0 drivers
|
|
o000002a9cf0cd668 .functor BUFZ 3, C4<zzz>; HiZ drive
|
|
v000002a9cf122160_0 .net "l_b", 2 0, o000002a9cf0cd668; 0 drivers
|
|
v000002a9cf122a20_0 .net "l_c", 0 0, L_000002a9cf0bf7f0; 1 drivers
|
|
v000002a9cf121080_0 .var "led", 0 0;
|
|
o000002a9cf0cd6f8 .functor BUFZ 1, C4<z>; HiZ drive
|
|
v000002a9cf122840_0 .net "my_s", 0 0, o000002a9cf0cd6f8; 0 drivers
|
|
v000002a9cf120e00_0 .net "ret", 1 0, L_000002a9cf120f40; 1 drivers
|
|
v000002a9cf122200_0 .net "s", 0 0, L_000002a9cf1228e0; 1 drivers
|
|
v000002a9cf120cc0_0 .var "v_reg", 5 0;
|
|
v000002a9cf122700_0 .net "v_wire", 5 0, L_000002a9cf1218a0; 1 drivers
|
|
E_000002a9cf0bb410 .event anyedge, v000002a9cf121120_0, v000002a9cf1220c0_0;
|
|
E_000002a9cf0baf50 .event posedge, v000002a9cf122840_0;
|
|
E_000002a9cf0bb210 .event anyedge, v000002a9cf120ea0_0;
|
|
L_000002a9cf121800 .part v000002a9cf120cc0_0, 1, 1;
|
|
L_000002a9cf1228e0 .part L_000002a9cf120d60, 1, 1;
|
|
L_000002a9cf121da0 .part L_000002a9cf120d60, 0, 1;
|
|
L_000002a9cf120d60 .arith/sum 2, L_000002a9cf122f58, L_000002a9cf122fa0;
|
|
L_000002a9cf120f40 .concat8 [ 1 1 0 0], L_000002a9cf121bc0, L_000002a9cf121b20;
|
|
L_000002a9cf121b20 .part L_000002a9cf122020, 1, 1;
|
|
L_000002a9cf121bc0 .part L_000002a9cf122020, 0, 1;
|
|
L_000002a9cf122020 .arith/sum 2, L_000002a9cf122fe8, L_000002a9cf123030;
|
|
L_000002a9cf1227a0 .cmp/ne 3, o000002a9cf0cd638, L_000002a9cf122df0;
|
|
L_000002a9cf1213a0 .cmp/ne 3, o000002a9cf0cd668, L_000002a9cf122e38;
|
|
L_000002a9cf121440 .reduce/and o000002a9cf0cd038;
|
|
L_000002a9cf121620 .concat [ 1 4 0 0], L_000002a9cf121440, L_000002a9cf122e80;
|
|
L_000002a9cf1216c0 .part L_000002a9cf122ec8, 0, 3;
|
|
L_000002a9cf121a80 .concat [ 2 3 0 0], L_000002a9cf122f10, L_000002a9cf1216c0;
|
|
L_000002a9cf1218a0 .concat [ 1 1 4 0], L_000002a9cf0bf320, L_000002a9cf121800, o000002a9cf0cd428;
|
|
.scope S_000002a9cf0c0950;
|
|
T_0 ;
|
|
%wait E_000002a9cf0bb210;
|
|
%load/vec4 v000002a9cf120ea0_0;
|
|
%nor/r;
|
|
%store/vec4 v000002a9cf121080_0, 0, 1;
|
|
%load/vec4 v000002a9cf120ea0_0;
|
|
%ix/load 4, 1, 0;
|
|
%flag_set/imm 4, 0;
|
|
%store/vec4 v000002a9cf120cc0_0, 4, 1;
|
|
%jmp T_0;
|
|
.thread T_0, $push;
|
|
.scope S_000002a9cf0c0950;
|
|
T_1 ;
|
|
%wait E_000002a9cf0baf50;
|
|
%jmp T_1;
|
|
.thread T_1;
|
|
.scope S_000002a9cf0c0950;
|
|
T_2 ;
|
|
%wait E_000002a9cf0bb410;
|
|
%load/vec4 v000002a9cf121120_0;
|
|
%assign/vec4 v000002a9cf1220c0_0, 0;
|
|
%load/vec4 v000002a9cf1220c0_0;
|
|
%load/vec4 v000002a9cf121120_0;
|
|
%add;
|
|
%assign/vec4 v000002a9cf122b60_0, 0;
|
|
%jmp T_2;
|
|
.thread T_2, $push;
|
|
# The file index is used to find the file name in the following table.
|
|
:file_names 3;
|
|
"N/A";
|
|
"<interactive>";
|
|
"led_1.v";
|