Answer To: 30/10/2019 https://athena.ecs.csus.edu/~changw/205/prg/3/...
Gaurav answered on Nov 04 2021
result/a.out
#! /usr/share/iverilog-0.9.7/bin/vvp
:ivl_version "0.9.7 " "(v0_9_6)";
:vpi_time_precision + 0;
:vpi_module "system";
:vpi_module "v2005_math";
:vpi_module "va_math";
S_0x1b514e0 .scope module, "TestMod" "TestMod" 2 8;
.timescale 0 0;
P_0x1b53ae8 .param/l "MINUS_SIGN" 2 10, +C4<0101101>;
P_0x1b53b10 .param/l "PLUS_SIGN" 2 9, +C4<0101011>;
P_0x1b53b38 .param/l "STDIN" 2 11, C4<10000000000000000000000000000000>;
v0x1b7c660_0 .var "C0", 0 0;
v0x1b7c700_0 .net "E", 0 0, L_0x1b7d080; 1 drivers
v0x1b7c7b0_0 .net "S", 4 0, L_0x1b80e30; 1 drivers
v0x1b7c860_0 .var "X", 4 0;
v0x1b7c940_0 .var "Y", 4 0;
v0x1b7c9f0 .array "str", 3 1, 7 0;
S_0x1b515d0 .scope module, "dut" "AddSubMod" 2 17, 3 15, S_0x1b514e0;
.timescale 0 0;
L_0x1b795a0 .functor XOR 5, v0x1b7c940_0, L_0x1b7cc80, C4<00000>, C4<00000>;
L_0x1b7d080 .functor XOR 1, L_0x1b80d90, L_0x1b81070, C4<0>, C4<0>;
v0x1b7be70_0 .net "C0", 0 0, v0x1b7c660_0; 1 drivers
v0x1b7bf30_0 .net "Ciripple", 4 0, L_0x1b7cb10; 1 drivers
v0x1b7bfd0_0 .net "Coripple", 4 0, L_0x1b7d3d0; 1 drivers
v0x1b7c070_0 .alias "E", 0 0, v0x1b7c700_0;
v0x1b7c0f0_0 .alias "S", 4 0, v0x1b7c7b0_0;
v0x1b7c190_0 .net "X", 4 0, v0x1b7c860_0; 1 drivers
v0x1b7c230_0 .net "Y", 4 0, v0x1b7c940_0; 1 drivers
v0x1b7c2d0_0 .net "Yxor", 4 0, L_0x1b795a0; 1 drivers
v0x1b7c370_0 .net *"_s0", 5 0, L_0x1b7ca70; 1 drivers
v0x1b7c410_0 .net *"_s24", 0 0, L_0x1b80d90; 1 drivers
v0x1b7c4b0_0 .net *"_s26", 0 0, L_0x1b81070; 1 drivers
v0x1b7c550_0 .net *"_s4", 4 0, L_0x1b7cc80; 1 drivers
L_0x1b7ca70 .concat [ 1 5 0 0], v0x1b7c660_0, L_0x1b7d3d0;
L_0x1b7cb10 .part L_0x1b7ca70, 0, 5;
LS_0x1b7cc80_0_0 .concat [ 1 1 1 1], v0x1b7c660_0, v0x1b7c660_0, v0x1b7c660_0, v0x1b7c660_0;
LS_0x1b7cc80_0_4 .concat [ 1 0 0 0], v0x1b7c660_0;
L_0x1b7cc80 .concat [ 4 1 0 0], LS_0x1b7cc80_0_0, LS_0x1b7cc80_0_4;
L_0x1b7fc80 .part v0x1b7c860_0, 0, 1;
L_0x1b7fdc0 .part v0x1b7c860_0, 1, 1;
L_0x1b7feb0 .part v0x1b7c860_0, 2, 1;
L_0x1b80070 .part v0x1b7c860_0, 3, 1;
L_0x1b80110 .part v0x1b7c860_0, 4, 1;
L_0x1b80250 .part L_0x1b795a0, 0, 1;
L_0x1b80390 .part L_0x1b795a0, 1, 1;
L_0x1b80480 .part L_0x1b795a0, 2, 1;
L_0x1b805b0 .part L_0x1b795a0, 3, 1;
L_0x1b80650 .part L_0x1b795a0, 4, 1;
L_0x1b80740 .part L_0x1b7cb10, 0, 1;
L_0x1b80900 .part L_0x1b7cb10, 1, 1;
L_0x1b809f0 .part L_0x1b7cb10, 2, 1;
L_0x1b80c00 .part L_0x1b7cb10, 3, 1;
L_0x1b80ca0 .part L_0x1b7cb10, 4, 1;
LS_0x1b80e30_0_0 .concat [ 1 1 1 1], L_0x1b7cf10, L_0x1b7d890, L_0x1b7e1d0, L_0x1b7ea80;
LS_0x1b80e30_0_4 .concat [ 1 0 0 0], L_0x1b7f3d0;
L_0x1b80e30 .concat [ 4 1 0 0], LS_0x1b80e30_0_0, LS_0x1b80e30_0_4;
LS_0x1b7d3d0_0_0 .concat [ 1 1 1 1], L_0x1b7ce40, L_0x1b7d7f0, L_0x1b7e130, L_0x1b7e9e0;
LS_0x1b7d3d0_0_4 .concat [ 1 0 0 0], L_0x1b7f330;
L_0x1b7d3d0 .concat [ 4 1 0 0], LS_0x1b7d3d0_0_0, LS_0x1b7d3d0_0_4;
L_0x1b80d90 .part L_0x1b7d3d0, 3, 1;
L_0x1b81070 .part L_0x1b7d3d0, 4, 1;
S_0x1b7b4f0 .scope module, "my5FA[0]" "FullAdderMod" 3 30, 3 2, S_0x1b515d0;
.timescale 0 0;
v0x1b7b5e0_0 .net "A", 0 0, L_0x1b7fc80; 1 drivers
v0x1b7b6a0_0 .net "B", 0 0, L_0x1b80250; 1 drivers
v0x1b7b740_0 .net "Cin", 0 0, L_0x1b80740; 1 drivers
v0x1b7b7e0_0 .net "Cout", 0 0, L_0x1b7ce40; 1 drivers
v0x1b7b860_0 .net "Sum", 0 0, L_0x1b7cf10; 1 drivers
v0x1b7b900_0 .net *"_s10", 0 0, C4<0>; 1 drivers
v0x1b7b9a0_0 .net *"_s11", 1 0, L_0x1b7d330; 1 drivers
v0x1b7ba40_0 .net *"_s13", 1 0, L_0x1b7d540; 1 drivers
v0x1b7bae0_0 .net *"_s16", 0 0, C4<0>; 1 drivers
v0x1b7bb80_0 .net *"_s17", 1 0, L_0x1b7d6b0; 1 drivers
v0x1b7bc20_0 .net *"_s3", 1 0, L_0x1b7cfe0; 1 drivers
v0x1b7bcc0_0 .net *"_s6", 0 0, C4<0>; 1 drivers
v0x1b7bdd0_0 .net *"_s7", 1 0, L_0x1b7d170; 1 drivers
L_0x1b7ce40 .part L_0x1b7d6b0, 1, 1;
L_0x1b7cf10 .part L_0x1b7d6b0, 0, 1;
L_0x1b7cfe0 .concat [ 1 1 0 0], L_0x1b80740, C4<0>;
L_0x1b7d170 .concat [ 1 1 0 0], L_0x1b7fc80, C4<0>;
L_0x1b7d330 .arith/sum 2, L_0x1b7cfe0, L_0x1b7d170;
L_0x1b7d540 .concat [ 1 1 0 0], L_0x1b80250, C4<0>;
L_0x1b7d6b0 .arith/sum 2, L_0x1b7d330, L_0x1b7d540;
S_0x1b7ab70 .scope module, "my5FA[1]" "FullAdderMod" 3 30, 3 2, S_0x1b515d0;
.timescale 0 0;
v0x1b7ac60_0 .net "A", 0 0, L_0x1b7fdc0; 1 drivers
v0x1b7ad20_0 .net "B", 0 0, L_0x1b80390; 1 drivers
v0x1b7adc0_0 .net "Cin", 0 0, L_0x1b80900; 1 drivers
v0x1b7ae60_0 .net "Cout", 0 0, L_0x1b7d7f0; 1 drivers
v0x1b7aee0_0 .net "Sum", 0 0, L_0x1b7d890; 1 drivers
v0x1b7af80_0 .net *"_s10", 0 0, C4<0>; 1 drivers
v0x1b7b020_0 .net *"_s11", 1 0, L_0x1b7dca0; 1 drivers
v0x1b7b0c0_0 .net *"_s13", 1 0, L_0x1b7de40; 1 drivers
v0x1b7b160_0 .net *"_s16", 0 0, C4<0>; 1...