data/full_repos/permissive/180022606/conditional.v
1: b"%Error: data/full_repos/permissive/180022606/conditional.v:9: Cannot find file containing module: 'condmux'\ncondmux cond1(FlagsE2[2],~FlagsE2[2],~(FlagsE2[3] ^ FlagsE2[0]),FlagsE2[3] ^ FlagsE2[0],~FlagsE2[2] & ~(FlagsE2[3] ^ FlagsE2[0]),\n^~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/180022606,data/full_repos/permissive/180022606/condmux\n             data/full_repos/permissive/180022606,data/full_repos/permissive/180022606/condmux.v\n             data/full_repos/permissive/180022606,data/full_repos/permissive/180022606/condmux.sv\n             condmux\n             condmux.v\n             condmux.sv\n             obj_dir/condmux\n             obj_dir/condmux.v\n             obj_dir/condmux.sv\n%Error: Exiting due to 1 error(s)\n"
module conditional(input wire [1:0] FlagWriteE2, input wire [3:0] CondE2, 
input wire [3:0] FlagsE2, input wire [3:0] ALUFlags, 
output wire [3:0] Flags, output wire CondExE2);

assign Flags[3:2] = (CondExE2 & FlagWriteE2[1]) ? ALUFlags[3:2] : FlagsE2[3:2];
assign Flags[1:0] = (CondExE2 & FlagWriteE2[0]) ? ALUFlags[1:0] : FlagsE2[1:0];


condmux cond1(FlagsE2[2],~FlagsE2[2],~(FlagsE2[3] ^ FlagsE2[0]),FlagsE2[3] ^ FlagsE2[0],~FlagsE2[2] & ~(FlagsE2[3] ^ FlagsE2[0]),
FlagsE2[2] | (FlagsE2[3] ^ FlagsE2[0]),1'b1,1'b0,FlagsE2[1],~FlagsE2[1],FlagsE2[3],~FlagsE2[3],
FlagsE2[0],~FlagsE2[0],~FlagsE2[2] & FlagsE2[1],FlagsE2[2] & ~FlagsE2[1],
CondE2,CondExE2);

endmodule
module conditional(input wire [1:0] FlagWriteE2, input wire [3:0] CondE2, 
input wire [3:0] FlagsE2, input wire [3:0] ALUFlags, 
output wire [3:0] Flags, output wire CondExE2);


assign Flags[3:2] = (CondExE2 & FlagWriteE2[1]) ? ALUFlags[3:2] : FlagsE2[3:2];
assign Flags[1:0] = (CondExE2 & FlagWriteE2[0]) ? ALUFlags[1:0] : FlagsE2[1:0];


condmux cond1(FlagsE2[2],~FlagsE2[2],~(FlagsE2[3] ^ FlagsE2[0]),FlagsE2[3] ^ FlagsE2[0],~FlagsE2[2] & ~(FlagsE2[3] ^ FlagsE2[0]),
FlagsE2[2] | (FlagsE2[3] ^ FlagsE2[0]),1'b1,1'b0,FlagsE2[1],~FlagsE2[1],FlagsE2[3],~FlagsE2[3],
FlagsE2[0],~FlagsE2[0],~FlagsE2[2] & FlagsE2[1],FlagsE2[2] & ~FlagsE2[1],
CondE2,CondExE2);

endmodule