data/full_repos/permissive/475928601/Counters/Up Down Counter/UDC.v
1: b'%Error: Cannot find file containing module: Down\n        ... Looked in:\n             data/full_repos/permissive/475928601/Counters/Up/Down\n             data/full_repos/permissive/475928601/Counters/Up/Down.v\n             data/full_repos/permissive/475928601/Counters/Up/Down.sv\n             Down\n             Down.v\n             Down.sv\n             obj_dir/Down\n             obj_dir/Down.v\n             obj_dir/Down.sv\n%Error: Cannot find file containing module: Counter,data/full_repos/permissive/475928601\n%Error: Cannot find file containing module: data/full_repos/permissive/475928601/Counters/Up\n%Error: Cannot find file containing module: Counter/UDC.v\n%Error: Exiting due to 4 error(s)\n'
module UpDownCounter(
  input sel,
  input clk,
  input reset,
  output reg [2:0] out
);

  initial out = 3'b000;
  

  always @(posedge clk or reset)
    out <= reset ? 0 : (out + (sel ? 1 : -1));
endmodule
module UpDownCounter(
  input sel,
  input clk,
  input reset,
  output reg [2:0] out
);


  initial out = 3'b000;
  

  always @(posedge clk or reset)
    out <= reset ? 0 : (out + (sel ? 1 : -1));
endmodule