data/full_repos/permissive/42581625/PersonalComputer/Adder16.v
1: b"%Error: data/full_repos/permissive/42581625/PersonalComputer/Adder16.v:38: Cannot find file containing module: 'pg_to_PG'\npg_to_PG pgtoPG(_p_,_g_,P,G);\n^~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/42581625/PersonalComputer,data/full_repos/permissive/42581625/pg_to_PG\n             data/full_repos/permissive/42581625/PersonalComputer,data/full_repos/permissive/42581625/pg_to_PG.v\n             data/full_repos/permissive/42581625/PersonalComputer,data/full_repos/permissive/42581625/pg_to_PG.sv\n             pg_to_PG\n             pg_to_PG.v\n             pg_to_PG.sv\n             obj_dir/pg_to_PG\n             obj_dir/pg_to_PG.v\n             obj_dir/pg_to_PG.sv\n%Error: data/full_repos/permissive/42581625/PersonalComputer/Adder16.v:39: Cannot find file containing module: 'ParallelCarry4'\nParallelCarry4 PC(P,G,C0,C);\n^~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/42581625/PersonalComputer/Adder16.v:41: Cannot find file containing module: 'Adder4'\nAdder4 \n^~~~~~\n%Error: Exiting due to 3 error(s)\n"
module Adder16(
    input [15:0] A,
    input [15:0] B,
    input C0,
    output [3:0] P,
    output [3:0] G,
    output [15:0] sum,
    output SF,
    output CF,
    output OF,
    output PF,
    output ZF
    );
wire[15:0] _p_,_g_;
wire[4:0] C;
wire[3:0] _sf_,_cf_,_of_,_pf_,_zf_;

pg_to_PG pgtoPG(_p_,_g_,P,G);
ParallelCarry4 PC(P,G,C0,C);

Adder4 
    a1(A[ 3: 0],B[ 3: 0],C[0],_p_[ 3: 0],_g_[ 3: 0],sum[ 3: 0],_sf_[0],_cf_[0],_of_[0],_pf_[0],_zf_[0]),
    a2(A[ 7: 4],B[ 7: 4],C[1],_p_[ 7: 4],_g_[ 7: 4],sum[ 7: 4],_sf_[1],_cf_[1],_of_[1],_pf_[1],_zf_[1]),
    a3(A[11: 8],B[11: 8],C[2],_p_[11: 8],_g_[11: 8],sum[11: 8],_sf_[2],_cf_[2],_of_[2],_pf_[2],_zf_[2]),
    a4(A[15:12],B[15:12],C[3],_p_[15:12],_g_[15:12],sum[15:12],_sf_[3],_cf_[3],_of_[3],_pf_[3],_zf_[3]);

assign  SF=_sf_[3],
    CF=C[4],
    OF=_of_[3],
    PF=^_pf_[3:0],
    ZF= ~|(~_zf_[3:0]);

endmodule
module Adder16(
    input [15:0] A,
    input [15:0] B,
    input C0,
    output [3:0] P,
    output [3:0] G,
    output [15:0] sum,
    output SF,
    output CF,
    output OF,
    output PF,
    output ZF
    );

wire[15:0] _p_,_g_;
wire[4:0] C;
wire[3:0] _sf_,_cf_,_of_,_pf_,_zf_;

pg_to_PG pgtoPG(_p_,_g_,P,G);
ParallelCarry4 PC(P,G,C0,C);

Adder4 
    a1(A[ 3: 0],B[ 3: 0],C[0],_p_[ 3: 0],_g_[ 3: 0],sum[ 3: 0],_sf_[0],_cf_[0],_of_[0],_pf_[0],_zf_[0]),
    a2(A[ 7: 4],B[ 7: 4],C[1],_p_[ 7: 4],_g_[ 7: 4],sum[ 7: 4],_sf_[1],_cf_[1],_of_[1],_pf_[1],_zf_[1]),
    a3(A[11: 8],B[11: 8],C[2],_p_[11: 8],_g_[11: 8],sum[11: 8],_sf_[2],_cf_[2],_of_[2],_pf_[2],_zf_[2]),
    a4(A[15:12],B[15:12],C[3],_p_[15:12],_g_[15:12],sum[15:12],_sf_[3],_cf_[3],_of_[3],_pf_[3],_zf_[3]);

assign  SF=_sf_[3],
    CF=C[4],
    OF=_of_[3],
    PF=^_pf_[3:0],
    ZF= ~|(~_zf_[3:0]);

endmodule