data/full_repos/permissive/174155074/combinational-logic/multiplexers-and-demultiplexers/mux-to-demux/mux-to-demux.v
[Errno 2] No such file or directory: 'preprocess.output'
1: b"%Error: data/full_repos/permissive/174155074/combinational-logic/multiplexers-and-demultiplexers/mux-to-demux/mux-to-demux.v:11: Cannot find file containing module: 'mux_4x1'\nmux_4x1 MUX_4X1 (\n^~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/174155074/combinational-logic/multiplexers-and-demultiplexers/mux-to-demux,data/full_repos/permissive/174155074/mux_4x1\n             data/full_repos/permissive/174155074/combinational-logic/multiplexers-and-demultiplexers/mux-to-demux,data/full_repos/permissive/174155074/mux_4x1.v\n             data/full_repos/permissive/174155074/combinational-logic/multiplexers-and-demultiplexers/mux-to-demux,data/full_repos/permissive/174155074/mux_4x1.sv\n             mux_4x1\n             mux_4x1.v\n             mux_4x1.sv\n             obj_dir/mux_4x1\n             obj_dir/mux_4x1.v\n             obj_dir/mux_4x1.sv\n%Error: data/full_repos/permissive/174155074/combinational-logic/multiplexers-and-demultiplexers/mux-to-demux/mux-to-demux.v:17: Cannot find file containing module: 'demux_1x4'\ndemux_1x4 DEMUX_1X4 (\n^~~~~~~~~\n%Error: Exiting due to 2 error(s)\n"
module mux_to_demux(
    input  a_in, b_in, c_in, d_in,
    input  [1:0] sel,
    output a_out, b_out, c_out, d_out
);

wire  y;

mux_4x1 MUX_4X1 (
    .a(a_in), .b(b_in), .c(c_in), .d(d_in),
    .sel(sel),
    .y(y)
);

demux_1x4 DEMUX_1X4 (
    .y(y),
    .sel(sel),
    .a(a_out), .b(b_out), .c(c_out), .d(d_out)
);

endmodule
module mux_to_demux(
    input  a_in, b_in, c_in, d_in,
    input  [1:0] sel,
    output a_out, b_out, c_out, d_out
);


wire  y;

mux_4x1 MUX_4X1 (
    .a(a_in), .b(b_in), .c(c_in), .d(d_in),
    .sel(sel),
    .y(y)
);

demux_1x4 DEMUX_1X4 (
    .y(y),
    .sel(sel),
    .a(a_out), .b(b_out), .c(c_out), .d(d_out)
);

endmodule