data/full_repos/permissive/174155074/systems/microprocessors/programable-8-bit-microprocessor/core-parts/counter8.v
1: b'%Warning-IMPLICIT: data/full_repos/permissive/174155074/systems/microprocessors/programable-8-bit-microprocessor/core-parts/counter8.v:19: Signal definition not found, creating implicitly: \'HIGH\'\nassign HIGH             = 1\'b1;\n       ^~~~\n                   ... Use "/* verilator lint_off IMPLICIT */" and lint_on around source to disable this message.\n%Error: data/full_repos/permissive/174155074/systems/microprocessors/programable-8-bit-microprocessor/core-parts/counter8.v:22: Cannot find file containing module: \'ta161_bar\'\nta161_bar COUNTER1 (\n^~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/174155074/systems/microprocessors/programable-8-bit-microprocessor/core-parts,data/full_repos/permissive/174155074/ta161_bar\n             data/full_repos/permissive/174155074/systems/microprocessors/programable-8-bit-microprocessor/core-parts,data/full_repos/permissive/174155074/ta161_bar.v\n             data/full_repos/permissive/174155074/systems/microprocessors/programable-8-bit-microprocessor/core-parts,data/full_repos/permissive/174155074/ta161_bar.sv\n             ta161_bar\n             ta161_bar.v\n             ta161_bar.sv\n             obj_dir/ta161_bar\n             obj_dir/ta161_bar.v\n             obj_dir/ta161_bar.sv\n%Error: data/full_repos/permissive/174155074/systems/microprocessors/programable-8-bit-microprocessor/core-parts/counter8.v:40: Cannot find file containing module: \'ta161_bar\'\nta161_bar COUNTER2 (\n^~~~~~~~~\n%Error: Exiting due to 2 error(s), 1 warning(s)\n'
module counter8(
    input  [3:0]    COUNTER_IN_LOW,
    input  [7:4]    COUNTER_IN_HIGH,
    input           MPC_LOAD_BAR,
    input           RESET,
    input           COUNT,
    input           SYSTEM_CLK,
    output [7:0]    COUNTER_OUT
);


wire            CARRY;
wire            NOTHING;


assign HIGH             = 1'b1;


ta161_bar COUNTER1 (
    .CLR_BAR(RESET),
    .LD_BAR(MPC_LOAD_BAR),
    .ENT(HIGH),
    .ENP(COUNT),
    .CLK(SYSTEM_CLK),
    .A(COUNTER_IN_LOW[0]),
    .B(COUNTER_IN_LOW[1]),
    .C(COUNTER_IN_LOW[2]),
    .D(COUNTER_IN_LOW[3]),
    .QA(COUNTER_OUT[0]),
    .QB(COUNTER_OUT[1]),
    .QC(COUNTER_OUT[2]),
    .QD(COUNTER_OUT[3]),
    .RCO(CARRY)
);


ta161_bar COUNTER2 (
    .CLR_BAR(RESET),
    .LD_BAR(MPC_LOAD_BAR),
    .ENT(CARRY),
    .ENP(COUNT),
    .CLK(SYSTEM_CLK),
    .A(COUNTER_IN_HIGH[4]),
    .B(COUNTER_IN_HIGH[5]),
    .C(COUNTER_IN_HIGH[6]),
    .D(COUNTER_IN_HIGH[7]),
    .QA(COUNTER_OUT[4]),
    .QB(COUNTER_OUT[5]),
    .QC(COUNTER_OUT[6]),
    .QD(COUNTER_OUT[7]),
    .RCO(NOTHING)
);

endmodule
module counter8(
    input  [3:0]    COUNTER_IN_LOW,
    input  [7:4]    COUNTER_IN_HIGH,
    input           MPC_LOAD_BAR,
    input           RESET,
    input           COUNT,
    input           SYSTEM_CLK,
    output [7:0]    COUNTER_OUT
);



wire            CARRY;
wire            NOTHING;


assign HIGH             = 1'b1;


ta161_bar COUNTER1 (
    .CLR_BAR(RESET),
    .LD_BAR(MPC_LOAD_BAR),
    .ENT(HIGH),
    .ENP(COUNT),
    .CLK(SYSTEM_CLK),
    .A(COUNTER_IN_LOW[0]),
    .B(COUNTER_IN_LOW[1]),
    .C(COUNTER_IN_LOW[2]),
    .D(COUNTER_IN_LOW[3]),
    .QA(COUNTER_OUT[0]),
    .QB(COUNTER_OUT[1]),
    .QC(COUNTER_OUT[2]),
    .QD(COUNTER_OUT[3]),
    .RCO(CARRY)
);


ta161_bar COUNTER2 (
    .CLR_BAR(RESET),
    .LD_BAR(MPC_LOAD_BAR),
    .ENT(CARRY),
    .ENP(COUNT),
    .CLK(SYSTEM_CLK),
    .A(COUNTER_IN_HIGH[4]),
    .B(COUNTER_IN_HIGH[5]),
    .C(COUNTER_IN_HIGH[6]),
    .D(COUNTER_IN_HIGH[7]),
    .QA(COUNTER_OUT[4]),
    .QB(COUNTER_OUT[5]),
    .QC(COUNTER_OUT[6]),
    .QD(COUNTER_OUT[7]),
    .RCO(NOTHING)
);

endmodule