data/full_repos/permissive/523043017/Verilog microcontroller/MUX_unit.v
1: b'%Error: Cannot find file containing module: microcontroller,data/full_repos/permissive/523043017\n        ... Looked in:\n             data/full_repos/permissive/523043017/Verilog/microcontroller,data/full_repos/permissive/523043017\n             data/full_repos/permissive/523043017/Verilog/microcontroller,data/full_repos/permissive/523043017.v\n             data/full_repos/permissive/523043017/Verilog/microcontroller,data/full_repos/permissive/523043017.sv\n             microcontroller,data/full_repos/permissive/523043017\n             microcontroller,data/full_repos/permissive/523043017.v\n             microcontroller,data/full_repos/permissive/523043017.sv\n             obj_dir/microcontroller,data/full_repos/permissive/523043017\n             obj_dir/microcontroller,data/full_repos/permissive/523043017.v\n             obj_dir/microcontroller,data/full_repos/permissive/523043017.sv\n%Error: Cannot find file containing module: data/full_repos/permissive/523043017/Verilog\n%Error: Cannot find file containing module: microcontroller/MUX_unit.v\n%Error: Exiting due to 3 error(s)\n'
module MUX_unit(

  input [7:0] rom,
  input [7:0] ram,
  input wire ch,
  output reg [7:0] out

);

always@(rom or ram)
begin
	if (ch)
		out <= ram;
	else
		out <= rom;
	
end
    
endmodule
module MUX_unit(

  input [7:0] rom,
  input [7:0] ram,
  input wire ch,
  output reg [7:0] out

);


always@(rom or ram)
begin
	if (ch)
		out <= ram;
	else
		out <= rom;
	
end
    
endmodule