data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson.v
1: b"%Error: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson.v:25: Cannot find file containing module: 'compare'\ncompare alu_compare( compare2mux, a, b, compare_ctrl );\n^~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/184332405,data/full_repos/permissive/184332405/compare\n             data/full_repos/permissive/184332405,data/full_repos/permissive/184332405/compare.v\n             data/full_repos/permissive/184332405,data/full_repos/permissive/184332405/compare.sv\n             compare\n             compare.v\n             compare.sv\n             obj_dir/compare\n             obj_dir/compare.v\n             obj_dir/compare.sv\n%Error: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson.v:26: Cannot find file containing module: 'andornot'\nandornot alu_andornot( andornot2mux, a, b, andornot_ctrl );\n^~~~~~~~\n%Error: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson.v:27: Cannot find file containing module: 'adder_subtractor'\nadder_subtractor alu_addsub( addsub2mux, overflow, a, b, addsub_ctrl );\n^~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson.v:29: Cannot find file containing module: 'control'\ncontrol alu_control( opcode, compare_ctrl, andornot_ctrl, addsub_ctrl, mux_ctrl, clk);\n^~~~~~~\n%Error: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson.v:30: Cannot find file containing module: 'mux'\nmux alu_mux( mux2accu, mux_ctrl, compare2mux, andornot2mux, addsub2mux, overflow );\n^~~\n%Error: data/full_repos/permissive/184332405/PowerALU_Ryan_Thompson.v:31: Cannot find file containing module: 'accumulator'\naccumulator alu_accu(b, mux2accu, clk);\n^~~~~~~~~~~\n%Error: Exiting due to 6 error(s)\n"
module PowerALU( b, opcode, a, clk);


output [7:0] b;
input  [3:0] opcode;
input  [7:0] a;
input clk;


wire [3:0] compare_ctrl;
wire [1:0] andornot_ctrl;
wire       addsub_ctrl;
wire [1:0] mux_ctrl;


wire [7:0] compare2mux;
wire [7:0] andornot2mux;
wire [7:0] addsub2mux;
wire overflow;
wire [7:0] mux2accu;



compare alu_compare( compare2mux, a, b, compare_ctrl );
andornot alu_andornot( andornot2mux, a, b, andornot_ctrl );
adder_subtractor alu_addsub( addsub2mux, overflow, a, b, addsub_ctrl );

control alu_control( opcode, compare_ctrl, andornot_ctrl, addsub_ctrl, mux_ctrl, clk);
mux alu_mux( mux2accu, mux_ctrl, compare2mux, andornot2mux, addsub2mux, overflow );
accumulator alu_accu(b, mux2accu, clk);
endmodule
module PowerALU( b, opcode, a, clk);



output [7:0] b;
input  [3:0] opcode;
input  [7:0] a;
input clk;


wire [3:0] compare_ctrl;
wire [1:0] andornot_ctrl;
wire       addsub_ctrl;
wire [1:0] mux_ctrl;


wire [7:0] compare2mux;
wire [7:0] andornot2mux;
wire [7:0] addsub2mux;
wire overflow;
wire [7:0] mux2accu;



compare alu_compare( compare2mux, a, b, compare_ctrl );
andornot alu_andornot( andornot2mux, a, b, andornot_ctrl );
adder_subtractor alu_addsub( addsub2mux, overflow, a, b, addsub_ctrl );

control alu_control( opcode, compare_ctrl, andornot_ctrl, addsub_ctrl, mux_ctrl, clk);
mux alu_mux( mux2accu, mux_ctrl, compare2mux, andornot2mux, addsub2mux, overflow );
accumulator alu_accu(b, mux2accu, clk);
endmodule