verilog/project0.2/logicUnit

289 lines
14 KiB
Plaintext

#! /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_0x56004b80baa0 .scope module, "logicUnitTB" "logicUnitTB" 2 1;
.timescale 0 0;
v0x56004b83a150_0 .var "A", 3 0;
v0x56004b83a230_0 .var "B", 3 0;
v0x56004b83a300_0 .var "opCode", 2 0;
v0x56004b83a400_0 .net "resultA", 3 0, L_0x56004b83d920; 1 drivers
v0x56004b83a4d0_0 .net "resultO", 3 0, L_0x56004b83ec00; 1 drivers
v0x56004b83a570_0 .net "resultX", 3 0, L_0x56004b83fe60; 1 drivers
S_0x56004b80bc30 .scope module, "uut" "logicUnit" 2 7, 3 1 0, S_0x56004b80baa0;
.timescale 0 0;
.port_info 0 /INPUT 3 "opCode";
.port_info 1 /INPUT 4 "A";
.port_info 2 /INPUT 4 "B";
.port_info 3 /OUTPUT 4 "resultA";
.port_info 4 /OUTPUT 4 "resultO";
.port_info 5 /OUTPUT 4 "resultX";
L_0x56004b83a640 .functor AND 1, L_0x56004b83a740, L_0x56004b83a880, C4<1>, C4<1>;
L_0x56004b83a9c0 .functor AND 1, L_0x56004b83aa30, L_0x56004b83ab20, C4<1>, C4<1>;
L_0x56004b83ac40 .functor AND 1, L_0x56004b83acb0, L_0x56004b83ada0, C4<1>, C4<1>;
L_0x56004b83afc0 .functor AND 1, L_0x56004b83b0b0, L_0x56004b83b1f0, C4<1>, C4<1>;
L_0x56004b83b2e0 .functor OR 1, L_0x56004b83b350, L_0x56004b83b4a0, C4<0>, C4<0>;
L_0x56004b83b540 .functor OR 1, L_0x56004b83b5f0, L_0x56004b83b750, C4<0>, C4<0>;
L_0x56004b83b840 .functor OR 1, L_0x56004b83b8b0, L_0x56004b83ba20, C4<0>, C4<0>;
L_0x56004b83b6e0 .functor OR 1, L_0x56004b83bdd0, L_0x56004b83bec0, C4<0>, C4<0>;
L_0x56004b83c050 .functor XOR 1, L_0x56004b83c0c0, L_0x56004b83c1b0, C4<0>, C4<0>;
L_0x56004b83c350 .functor XOR 1, L_0x56004b83bfb0, L_0x56004b83c450, C4<0>, C4<0>;
L_0x56004b83c600 .functor XOR 1, L_0x56004b83c6a0, L_0x56004b83c790, C4<0>, C4<0>;
L_0x56004b83cae0 .functor XOR 1, L_0x56004b83cc10, L_0x56004b83cde0, C4<0>, C4<0>;
L_0x56004b83ced0 .functor AND 1, L_0x56004b83cf40, L_0x56004b83d170, C4<1>, C4<1>;
L_0x56004b83d2b0 .functor AND 1, L_0x56004b83d3a0, L_0x56004b83d590, C4<1>, C4<1>;
L_0x56004b83cba0 .functor AND 1, L_0x56004b83d680, L_0x56004b83d880, C4<1>, C4<1>;
L_0x56004b83dbd0 .functor AND 1, L_0x56004b83dd20, L_0x56004b83de10, C4<1>, C4<1>;
L_0x56004b83e030 .functor AND 1, L_0x56004b83e0a0, L_0x56004b83e190, C4<1>, C4<1>;
L_0x56004b83e410 .functor AND 1, L_0x56004b83e520, L_0x56004b83e610, C4<1>, C4<1>;
L_0x56004b83e850 .functor AND 1, L_0x56004b83e8c0, L_0x56004b83e9b0, C4<1>, C4<1>;
L_0x56004b83ed90 .functor AND 1, L_0x56004b83e480, L_0x56004b83f0c0, C4<1>, C4<1>;
L_0x56004b83f1b0 .functor AND 1, L_0x56004b83f220, L_0x56004b83f490, C4<1>, C4<1>;
L_0x56004b83f5d0 .functor AND 1, L_0x56004b83f700, L_0x56004b83f980, C4<1>, C4<1>;
L_0x56004b83fa70 .functor AND 1, L_0x56004b83fae0, L_0x56004b83fd70, C4<1>, C4<1>;
L_0x56004b8401a0 .functor AND 1, L_0x56004b840330, L_0x56004b840420, C4<1>, C4<1>;
v0x56004b7c9cf0_0 .net "A", 3 0, v0x56004b83a150_0; 1 drivers
v0x56004b835650_0 .net "B", 3 0, v0x56004b83a230_0; 1 drivers
v0x56004b835730_0 .net *"_ivl_0", 0 0, L_0x56004b83a640; 1 drivers
v0x56004b8357f0_0 .net *"_ivl_100", 0 0, L_0x56004b83e030; 1 drivers
v0x56004b8358d0_0 .net *"_ivl_103", 0 0, L_0x56004b83e0a0; 1 drivers
v0x56004b835a00_0 .net *"_ivl_105", 0 0, L_0x56004b83e190; 1 drivers
v0x56004b835ae0_0 .net *"_ivl_106", 0 0, L_0x56004b83e410; 1 drivers
v0x56004b835bc0_0 .net *"_ivl_109", 0 0, L_0x56004b83e520; 1 drivers
v0x56004b835ca0_0 .net *"_ivl_11", 0 0, L_0x56004b83ab20; 1 drivers
v0x56004b835d80_0 .net *"_ivl_111", 0 0, L_0x56004b83e610; 1 drivers
v0x56004b835e60_0 .net *"_ivl_112", 0 0, L_0x56004b83e850; 1 drivers
v0x56004b835f40_0 .net *"_ivl_115", 0 0, L_0x56004b83e8c0; 1 drivers
v0x56004b836020_0 .net *"_ivl_117", 0 0, L_0x56004b83e9b0; 1 drivers
v0x56004b836100_0 .net *"_ivl_118", 0 0, L_0x56004b83ed90; 1 drivers
v0x56004b8361e0_0 .net *"_ivl_12", 0 0, L_0x56004b83ac40; 1 drivers
v0x56004b8362c0_0 .net *"_ivl_122", 0 0, L_0x56004b83e480; 1 drivers
v0x56004b8363a0_0 .net *"_ivl_124", 0 0, L_0x56004b83f0c0; 1 drivers
v0x56004b836480_0 .net *"_ivl_125", 0 0, L_0x56004b83f1b0; 1 drivers
v0x56004b836560_0 .net *"_ivl_128", 0 0, L_0x56004b83f220; 1 drivers
v0x56004b836640_0 .net *"_ivl_130", 0 0, L_0x56004b83f490; 1 drivers
v0x56004b836720_0 .net *"_ivl_131", 0 0, L_0x56004b83f5d0; 1 drivers
v0x56004b836800_0 .net *"_ivl_134", 0 0, L_0x56004b83f700; 1 drivers
v0x56004b8368e0_0 .net *"_ivl_136", 0 0, L_0x56004b83f980; 1 drivers
v0x56004b8369c0_0 .net *"_ivl_137", 0 0, L_0x56004b83fa70; 1 drivers
v0x56004b836aa0_0 .net *"_ivl_140", 0 0, L_0x56004b83fae0; 1 drivers
v0x56004b836b80_0 .net *"_ivl_142", 0 0, L_0x56004b83fd70; 1 drivers
v0x56004b836c60_0 .net *"_ivl_143", 0 0, L_0x56004b8401a0; 1 drivers
v0x56004b836d40_0 .net *"_ivl_147", 0 0, L_0x56004b840330; 1 drivers
v0x56004b836e20_0 .net *"_ivl_149", 0 0, L_0x56004b840420; 1 drivers
v0x56004b836f00_0 .net *"_ivl_15", 0 0, L_0x56004b83acb0; 1 drivers
v0x56004b836fe0_0 .net *"_ivl_17", 0 0, L_0x56004b83ada0; 1 drivers
v0x56004b8370c0_0 .net *"_ivl_18", 0 0, L_0x56004b83afc0; 1 drivers
v0x56004b8371a0_0 .net *"_ivl_22", 0 0, L_0x56004b83b0b0; 1 drivers
v0x56004b837280_0 .net *"_ivl_24", 0 0, L_0x56004b83b1f0; 1 drivers
v0x56004b837360_0 .net *"_ivl_25", 0 0, L_0x56004b83b2e0; 1 drivers
v0x56004b837440_0 .net *"_ivl_28", 0 0, L_0x56004b83b350; 1 drivers
v0x56004b837520_0 .net *"_ivl_3", 0 0, L_0x56004b83a740; 1 drivers
v0x56004b837600_0 .net *"_ivl_30", 0 0, L_0x56004b83b4a0; 1 drivers
v0x56004b8376e0_0 .net *"_ivl_31", 0 0, L_0x56004b83b540; 1 drivers
v0x56004b8377c0_0 .net *"_ivl_34", 0 0, L_0x56004b83b5f0; 1 drivers
v0x56004b8378a0_0 .net *"_ivl_36", 0 0, L_0x56004b83b750; 1 drivers
v0x56004b837980_0 .net *"_ivl_37", 0 0, L_0x56004b83b840; 1 drivers
v0x56004b837a60_0 .net *"_ivl_40", 0 0, L_0x56004b83b8b0; 1 drivers
v0x56004b837b40_0 .net *"_ivl_42", 0 0, L_0x56004b83ba20; 1 drivers
v0x56004b837c20_0 .net *"_ivl_43", 0 0, L_0x56004b83b6e0; 1 drivers
v0x56004b837d00_0 .net *"_ivl_47", 0 0, L_0x56004b83bdd0; 1 drivers
v0x56004b837de0_0 .net *"_ivl_49", 0 0, L_0x56004b83bec0; 1 drivers
v0x56004b837ec0_0 .net *"_ivl_5", 0 0, L_0x56004b83a880; 1 drivers
v0x56004b837fa0_0 .net *"_ivl_50", 0 0, L_0x56004b83c050; 1 drivers
v0x56004b838080_0 .net *"_ivl_53", 0 0, L_0x56004b83c0c0; 1 drivers
v0x56004b838160_0 .net *"_ivl_55", 0 0, L_0x56004b83c1b0; 1 drivers
v0x56004b838240_0 .net *"_ivl_56", 0 0, L_0x56004b83c350; 1 drivers
v0x56004b838320_0 .net *"_ivl_59", 0 0, L_0x56004b83bfb0; 1 drivers
v0x56004b838400_0 .net *"_ivl_6", 0 0, L_0x56004b83a9c0; 1 drivers
v0x56004b8384e0_0 .net *"_ivl_61", 0 0, L_0x56004b83c450; 1 drivers
v0x56004b8385c0_0 .net *"_ivl_62", 0 0, L_0x56004b83c600; 1 drivers
v0x56004b8386a0_0 .net *"_ivl_65", 0 0, L_0x56004b83c6a0; 1 drivers
v0x56004b838780_0 .net *"_ivl_67", 0 0, L_0x56004b83c790; 1 drivers
v0x56004b838860_0 .net *"_ivl_68", 0 0, L_0x56004b83cae0; 1 drivers
v0x56004b838940_0 .net *"_ivl_72", 0 0, L_0x56004b83cc10; 1 drivers
v0x56004b838a20_0 .net *"_ivl_74", 0 0, L_0x56004b83cde0; 1 drivers
v0x56004b838b00_0 .net *"_ivl_75", 0 0, L_0x56004b83ced0; 1 drivers
v0x56004b838be0_0 .net *"_ivl_78", 0 0, L_0x56004b83cf40; 1 drivers
v0x56004b838cc0_0 .net *"_ivl_80", 0 0, L_0x56004b83d170; 1 drivers
v0x56004b838da0_0 .net *"_ivl_81", 0 0, L_0x56004b83d2b0; 1 drivers
v0x56004b839290_0 .net *"_ivl_84", 0 0, L_0x56004b83d3a0; 1 drivers
v0x56004b839370_0 .net *"_ivl_86", 0 0, L_0x56004b83d590; 1 drivers
v0x56004b839450_0 .net *"_ivl_87", 0 0, L_0x56004b83cba0; 1 drivers
v0x56004b839530_0 .net *"_ivl_9", 0 0, L_0x56004b83aa30; 1 drivers
v0x56004b839610_0 .net *"_ivl_90", 0 0, L_0x56004b83d680; 1 drivers
v0x56004b8396f0_0 .net *"_ivl_92", 0 0, L_0x56004b83d880; 1 drivers
v0x56004b8397d0_0 .net *"_ivl_93", 0 0, L_0x56004b83dbd0; 1 drivers
v0x56004b8398b0_0 .net *"_ivl_97", 0 0, L_0x56004b83dd20; 1 drivers
v0x56004b839990_0 .net *"_ivl_99", 0 0, L_0x56004b83de10; 1 drivers
v0x56004b839a70_0 .net "and1", 3 0, L_0x56004b83ae80; 1 drivers
v0x56004b839b50_0 .net "opCode", 2 0, v0x56004b83a300_0; 1 drivers
v0x56004b839c30_0 .net "or1", 3 0, L_0x56004b83bb10; 1 drivers
v0x56004b839d10_0 .net "resultA", 3 0, L_0x56004b83d920; alias, 1 drivers
v0x56004b839df0_0 .net "resultO", 3 0, L_0x56004b83ec00; alias, 1 drivers
v0x56004b839ed0_0 .net "resultX", 3 0, L_0x56004b83fe60; alias, 1 drivers
v0x56004b839fb0_0 .net "xor1", 3 0, L_0x56004b83c950; 1 drivers
L_0x56004b83a740 .part v0x56004b83a150_0, 0, 1;
L_0x56004b83a880 .part v0x56004b83a230_0, 0, 1;
L_0x56004b83aa30 .part v0x56004b83a150_0, 1, 1;
L_0x56004b83ab20 .part v0x56004b83a230_0, 1, 1;
L_0x56004b83acb0 .part v0x56004b83a150_0, 2, 1;
L_0x56004b83ada0 .part v0x56004b83a230_0, 2, 1;
L_0x56004b83ae80 .concat8 [ 1 1 1 1], L_0x56004b83a640, L_0x56004b83a9c0, L_0x56004b83ac40, L_0x56004b83afc0;
L_0x56004b83b0b0 .part v0x56004b83a150_0, 3, 1;
L_0x56004b83b1f0 .part v0x56004b83a230_0, 3, 1;
L_0x56004b83b350 .part v0x56004b83a150_0, 0, 1;
L_0x56004b83b4a0 .part v0x56004b83a230_0, 0, 1;
L_0x56004b83b5f0 .part v0x56004b83a150_0, 1, 1;
L_0x56004b83b750 .part v0x56004b83a230_0, 1, 1;
L_0x56004b83b8b0 .part v0x56004b83a150_0, 2, 1;
L_0x56004b83ba20 .part v0x56004b83a230_0, 2, 1;
L_0x56004b83bb10 .concat8 [ 1 1 1 1], L_0x56004b83b2e0, L_0x56004b83b540, L_0x56004b83b840, L_0x56004b83b6e0;
L_0x56004b83bdd0 .part v0x56004b83a150_0, 3, 1;
L_0x56004b83bec0 .part v0x56004b83a230_0, 3, 1;
L_0x56004b83c0c0 .part v0x56004b83a150_0, 0, 1;
L_0x56004b83c1b0 .part v0x56004b83a230_0, 0, 1;
L_0x56004b83bfb0 .part v0x56004b83a150_0, 1, 1;
L_0x56004b83c450 .part v0x56004b83a230_0, 1, 1;
L_0x56004b83c6a0 .part v0x56004b83a150_0, 2, 1;
L_0x56004b83c790 .part v0x56004b83a230_0, 2, 1;
L_0x56004b83c950 .concat8 [ 1 1 1 1], L_0x56004b83c050, L_0x56004b83c350, L_0x56004b83c600, L_0x56004b83cae0;
L_0x56004b83cc10 .part v0x56004b83a150_0, 3, 1;
L_0x56004b83cde0 .part v0x56004b83a230_0, 3, 1;
L_0x56004b83cf40 .part v0x56004b83a300_0, 0, 1;
L_0x56004b83d170 .part L_0x56004b83ae80, 0, 1;
L_0x56004b83d3a0 .part v0x56004b83a300_0, 0, 1;
L_0x56004b83d590 .part L_0x56004b83ae80, 1, 1;
L_0x56004b83d680 .part v0x56004b83a300_0, 0, 1;
L_0x56004b83d880 .part L_0x56004b83ae80, 2, 1;
L_0x56004b83d920 .concat8 [ 1 1 1 1], L_0x56004b83ced0, L_0x56004b83d2b0, L_0x56004b83cba0, L_0x56004b83dbd0;
L_0x56004b83dd20 .part v0x56004b83a300_0, 0, 1;
L_0x56004b83de10 .part L_0x56004b83ae80, 3, 1;
L_0x56004b83e0a0 .part v0x56004b83a300_0, 1, 1;
L_0x56004b83e190 .part L_0x56004b83bb10, 0, 1;
L_0x56004b83e520 .part v0x56004b83a300_0, 1, 1;
L_0x56004b83e610 .part L_0x56004b83bb10, 1, 1;
L_0x56004b83e8c0 .part v0x56004b83a300_0, 1, 1;
L_0x56004b83e9b0 .part L_0x56004b83bb10, 2, 1;
L_0x56004b83ec00 .concat8 [ 1 1 1 1], L_0x56004b83e030, L_0x56004b83e410, L_0x56004b83e850, L_0x56004b83ed90;
L_0x56004b83e480 .part v0x56004b83a300_0, 1, 1;
L_0x56004b83f0c0 .part L_0x56004b83bb10, 3, 1;
L_0x56004b83f220 .part v0x56004b83a300_0, 2, 1;
L_0x56004b83f490 .part L_0x56004b83c950, 0, 1;
L_0x56004b83f700 .part v0x56004b83a300_0, 2, 1;
L_0x56004b83f980 .part L_0x56004b83c950, 1, 1;
L_0x56004b83fae0 .part v0x56004b83a300_0, 2, 1;
L_0x56004b83fd70 .part L_0x56004b83c950, 2, 1;
L_0x56004b83fe60 .concat8 [ 1 1 1 1], L_0x56004b83f1b0, L_0x56004b83f5d0, L_0x56004b83fa70, L_0x56004b8401a0;
L_0x56004b840330 .part v0x56004b83a300_0, 2, 1;
L_0x56004b840420 .part L_0x56004b83c950, 3, 1;
.scope S_0x56004b80baa0;
T_0 ;
%vpi_call 2 17 "$dumpfile", "logicUnit.vcd" {0 0 0};
%vpi_call 2 18 "$dumpvars" {0 0 0};
%pushi/vec4 1, 0, 3;
%store/vec4 v0x56004b83a300_0, 0, 3;
%pushi/vec4 1, 0, 4;
%store/vec4 v0x56004b83a150_0, 0, 4;
%pushi/vec4 1, 0, 4;
%store/vec4 v0x56004b83a230_0, 0, 4;
%delay 2, 0;
%pushi/vec4 1, 0, 3;
%store/vec4 v0x56004b83a300_0, 0, 3;
%pushi/vec4 3, 0, 4;
%store/vec4 v0x56004b83a150_0, 0, 4;
%pushi/vec4 1, 0, 4;
%store/vec4 v0x56004b83a230_0, 0, 4;
%delay 2, 0;
%pushi/vec4 1, 0, 3;
%store/vec4 v0x56004b83a300_0, 0, 3;
%pushi/vec4 9, 0, 4;
%store/vec4 v0x56004b83a150_0, 0, 4;
%pushi/vec4 9, 0, 4;
%store/vec4 v0x56004b83a230_0, 0, 4;
%delay 2, 0;
%pushi/vec4 1, 0, 3;
%store/vec4 v0x56004b83a300_0, 0, 3;
%pushi/vec4 15, 0, 4;
%store/vec4 v0x56004b83a150_0, 0, 4;
%pushi/vec4 15, 0, 4;
%store/vec4 v0x56004b83a230_0, 0, 4;
%delay 2, 0;
%pushi/vec4 1, 0, 3;
%store/vec4 v0x56004b83a300_0, 0, 3;
%pushi/vec4 0, 0, 4;
%store/vec4 v0x56004b83a150_0, 0, 4;
%pushi/vec4 0, 0, 4;
%store/vec4 v0x56004b83a230_0, 0, 4;
%delay 2, 0;
%pushi/vec4 2, 0, 3;
%store/vec4 v0x56004b83a300_0, 0, 3;
%pushi/vec4 1, 0, 4;
%store/vec4 v0x56004b83a150_0, 0, 4;
%pushi/vec4 5, 0, 4;
%store/vec4 v0x56004b83a230_0, 0, 4;
%delay 2, 0;
%pushi/vec4 2, 0, 3;
%store/vec4 v0x56004b83a300_0, 0, 3;
%pushi/vec4 9, 0, 4;
%store/vec4 v0x56004b83a150_0, 0, 4;
%pushi/vec4 5, 0, 4;
%store/vec4 v0x56004b83a230_0, 0, 4;
%delay 2, 0;
%pushi/vec4 2, 0, 3;
%store/vec4 v0x56004b83a300_0, 0, 3;
%pushi/vec4 1, 0, 4;
%store/vec4 v0x56004b83a150_0, 0, 4;
%pushi/vec4 15, 0, 4;
%store/vec4 v0x56004b83a230_0, 0, 4;
%delay 2, 0;
%pushi/vec4 2, 0, 3;
%store/vec4 v0x56004b83a300_0, 0, 3;
%pushi/vec4 0, 0, 4;
%store/vec4 v0x56004b83a150_0, 0, 4;
%pushi/vec4 5, 0, 4;
%store/vec4 v0x56004b83a230_0, 0, 4;
%delay 2, 0;
%pushi/vec4 4, 0, 3;
%store/vec4 v0x56004b83a300_0, 0, 3;
%pushi/vec4 0, 0, 4;
%store/vec4 v0x56004b83a150_0, 0, 4;
%pushi/vec4 5, 0, 4;
%store/vec4 v0x56004b83a230_0, 0, 4;
%delay 2, 0;
%pushi/vec4 4, 0, 3;
%store/vec4 v0x56004b83a300_0, 0, 3;
%pushi/vec4 0, 0, 4;
%store/vec4 v0x56004b83a150_0, 0, 4;
%pushi/vec4 0, 0, 4;
%store/vec4 v0x56004b83a230_0, 0, 4;
%delay 2, 0;
%pushi/vec4 4, 0, 3;
%store/vec4 v0x56004b83a300_0, 0, 3;
%pushi/vec4 0, 0, 4;
%store/vec4 v0x56004b83a150_0, 0, 4;
%pushi/vec4 5, 0, 4;
%store/vec4 v0x56004b83a230_0, 0, 4;
%delay 2, 0;
%pushi/vec4 4, 0, 3;
%store/vec4 v0x56004b83a300_0, 0, 3;
%pushi/vec4 15, 0, 4;
%store/vec4 v0x56004b83a150_0, 0, 4;
%pushi/vec4 15, 0, 4;
%store/vec4 v0x56004b83a230_0, 0, 4;
%delay 2, 0;
%vpi_call 2 34 "$finish" {0 0 0};
%end;
.thread T_0;
# The file index is used to find the file name in the following table.
:file_names 4;
"N/A";
"<interactive>";
"logicUnitTB.v";
"logicUnit.v";