data/full_repos/permissive/167489907/Data Path/Regfile and ALU/regfile_and_alu_datapath.v
1: b'%Error: Cannot find file containing module: Path/Regfile\n        ... Looked in:\n             data/full_repos/permissive/167489907/Data/Path/Regfile\n             data/full_repos/permissive/167489907/Data/Path/Regfile.v\n             data/full_repos/permissive/167489907/Data/Path/Regfile.sv\n             Path/Regfile\n             Path/Regfile.v\n             Path/Regfile.sv\n             obj_dir/Path/Regfile\n             obj_dir/Path/Regfile.v\n             obj_dir/Path/Regfile.sv\n%Error: Cannot find file containing module: and\n%Error: Cannot find file containing module: ALU,data/full_repos/permissive/167489907\n%Error: Cannot find file containing module: data/full_repos/permissive/167489907/Data\n%Error: Cannot find file containing module: ALU/regfile_and_alu_datapath.v\n%Error: Exiting due to 5 error(s)\n'
module regfile_and_alu_datapath(
	input W, clk, rst, EN_ALU, EN_B, K_SEL, C0,
	input [4:0] SA, SB, DA, FS,
	input [63:0] K,
	output [3:0] Status,
	output [63:0] r0, r1, r2, r3, r4, r5, r6, r7);

wire [63:0] A, B, F, D, Mux_out;

regfile32x64 regfile(.rdDataA(A), .rdDataB(B), .rdAddrA(SA), .rdAddrB(SB), .wrData(D), .wrAddr(DA), .write(W), .reset(rst), .clk(clk), .r0(r0), .r1(r1), .r2(r2), .r3(r3), .r4(r4), .r5(r5), .r6(r6), .r7(r7));
ALU_LEGv8 alu(.A(A), .B(Mux_out), .FS(FS), .C0(C0), .F(F), .status(Status));

Mux2to1 const_sel(.F(Mux_out), .A(K), .B(B), .Sel(K_SEL));
tribuf B_enable(.in(B), .out(D), .control(EN_B));
tribuf ALU_enable(.in(F), .out(D), .control(EN_ALU));

endmodule
module regfile_and_alu_datapath(
	input W, clk, rst, EN_ALU, EN_B, K_SEL, C0,
	input [4:0] SA, SB, DA, FS,
	input [63:0] K,
	output [3:0] Status,
	output [63:0] r0, r1, r2, r3, r4, r5, r6, r7);


wire [63:0] A, B, F, D, Mux_out;

regfile32x64 regfile(.rdDataA(A), .rdDataB(B), .rdAddrA(SA), .rdAddrB(SB), .wrData(D), .wrAddr(DA), .write(W), .reset(rst), .clk(clk), .r0(r0), .r1(r1), .r2(r2), .r3(r3), .r4(r4), .r5(r5), .r6(r6), .r7(r7));
ALU_LEGv8 alu(.A(A), .B(Mux_out), .FS(FS), .C0(C0), .F(F), .status(Status));

Mux2to1 const_sel(.F(Mux_out), .A(K), .B(B), .Sel(K_SEL));
tribuf B_enable(.in(B), .out(D), .control(EN_B));
tribuf ALU_enable(.in(F), .out(D), .control(EN_ALU));

endmodule