data/full_repos/permissive/500128826/HDLBits/Circuits/Sequential Logic/Counters/ece241_2014_q7a/count4.v
1: b'%Error: Cannot find file containing module: Logic/Counters/ece241_2014_q7a,data/full_repos/permissive/500128826\n        ... Looked in:\n             data/full_repos/permissive/500128826/HDLBits/Circuits/Sequential/Logic/Counters/ece241_2014_q7a,data/full_repos/permissive/500128826\n             data/full_repos/permissive/500128826/HDLBits/Circuits/Sequential/Logic/Counters/ece241_2014_q7a,data/full_repos/permissive/500128826.v\n             data/full_repos/permissive/500128826/HDLBits/Circuits/Sequential/Logic/Counters/ece241_2014_q7a,data/full_repos/permissive/500128826.sv\n             Logic/Counters/ece241_2014_q7a,data/full_repos/permissive/500128826\n             Logic/Counters/ece241_2014_q7a,data/full_repos/permissive/500128826.v\n             Logic/Counters/ece241_2014_q7a,data/full_repos/permissive/500128826.sv\n             obj_dir/Logic/Counters/ece241_2014_q7a,data/full_repos/permissive/500128826\n             obj_dir/Logic/Counters/ece241_2014_q7a,data/full_repos/permissive/500128826.v\n             obj_dir/Logic/Counters/ece241_2014_q7a,data/full_repos/permissive/500128826.sv\n%Error: Cannot find file containing module: data/full_repos/permissive/500128826/HDLBits/Circuits/Sequential\n%Error: Cannot find file containing module: Logic/Counters/ece241_2014_q7a/count4.v\n%Error: Exiting due to 3 error(s)\n'
module count4 (
    input wire clk,
    input wire enable,
    input wire load,
    input wire [3:0] d,
    output reg [3:0] Q
);

  initial begin
    Q = 4'b0;
  end

  always @(posedge clk) begin
    if (load) begin
      Q <= d;
    end else if (enable) begin
      Q <= Q + 1'b1;
    end
  end

endmodule
module count4 (
    input wire clk,
    input wire enable,
    input wire load,
    input wire [3:0] d,
    output reg [3:0] Q
);


  initial begin
    Q = 4'b0;
  end

  always @(posedge clk) begin
    if (load) begin
      Q <= d;
    end else if (enable) begin
      Q <= Q + 1'b1;
    end
  end

endmodule