data/full_repos/permissive/128497744/fsm_calculator_part3/Full_Calculator/Full_Calculator.srcs/sources_1/new/Full_Calculator_Top.v
1: b"%Error: data/full_repos/permissive/128497744/fsm_calculator_part3/Full_Calculator/Full_Calculator.srcs/sources_1/new/Full_Calculator_Top.v:45: Cannot find file containing module: 'Full_Calculator_DP'\n    Full_Calculator_DP DP (\n    ^~~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/128497744/fsm_calculator_part3/Full_Calculator/Full_Calculator.srcs/sources_1/new,data/full_repos/permissive/128497744/Full_Calculator_DP\n             data/full_repos/permissive/128497744/fsm_calculator_part3/Full_Calculator/Full_Calculator.srcs/sources_1/new,data/full_repos/permissive/128497744/Full_Calculator_DP.v\n             data/full_repos/permissive/128497744/fsm_calculator_part3/Full_Calculator/Full_Calculator.srcs/sources_1/new,data/full_repos/permissive/128497744/Full_Calculator_DP.sv\n             Full_Calculator_DP\n             Full_Calculator_DP.v\n             Full_Calculator_DP.sv\n             obj_dir/Full_Calculator_DP\n             obj_dir/Full_Calculator_DP.v\n             obj_dir/Full_Calculator_DP.sv\n%Error: data/full_repos/permissive/128497744/fsm_calculator_part3/Full_Calculator/Full_Calculator.srcs/sources_1/new/Full_Calculator_Top.v:60: Cannot find file containing module: 'Full_Calculator_CU'\n    Full_Calculator_CU CU (\n    ^~~~~~~~~~~~~~~~~~\n%Error: Exiting due to 2 error(s)\n"
module Full_Calculator_Top(
    input [3:0] X, Y,
    input [2:0] F,
    input clk, Go, rst,
    output [3:0] Out_H, Out_L,
    output [3:0] cs,
    output done
);

wire Done_Calc, Done_Div;
wire En_X, En_Y, En_F;
wire Go_Calc, Go_Div;
wire [1:0] Op_Calc;
wire Sel_H;
wire [1:0] Sel_L;
wire Calc_Mux_Sel, Mul_Mux_Sel;
wire En_Out_H, En_Out_L;
wire RST_OUT_H, RST_OUT_L;
wire Module_Reset;
wire [2:0] F_Out;


    Full_Calculator_DP DP (
        .clk(clk), .rst(Module_Reset),
        .X(X), .Y(Y), .F(F),
        .En_X(En_X), .En_Y(En_Y), .En_F(En_F),
        .Go_Calc(Go_Calc), .Go_Div(Go_Div),
        .Op_Calc(Op_Calc),
        .Sel_H(Sel_H), .Sel_L(Sel_L),
        .Calc_Mux_Sel(Calc_Mux_Sel), .Mul_Mux_Sel(Mul_Mux_Sel),
        .En_Out_H(En_Out_H), .En_Out_L(En_Out_L),
        .RST_OUT_H(RST_OUT_H), .RST_OUT_L(RST_OUT_L),
        .Done_Calc(Done_Calc), .Done_Div(Done_Div),
        .Out_H(Out_H), .Out_L(Out_L),
        .F_Out(F_Out)
    );
    
    Full_Calculator_CU CU (
        .Go(Go), .clk(clk), .rst(rst),
        .F(F_Out),
        .done(done),
        
        .Done_Calc(Done_Calc), .Done_Div(Done_Div),
        .En_X(En_X), .En_Y(En_Y), .En_F(En_F),
        .Go_Calc(Go_Calc), .Go_Div(Go_Div),
        .Op_Calc(Op_Calc),
        .Sel_H(Sel_H), .Sel_L(Sel_L),
        .Calc_Mux_Sel(Calc_Mux_Sel), .Mul_Mux_Sel(Mul_Mux_Sel),
        .En_Out_H(En_Out_H), .En_Out_L(En_Out_L),
        .RST_OUT_H(RST_OUT_H), .RST_OUT_L(RST_OUT_L),
        .Module_Reset(Module_Reset),
        .cs(cs)
    );



endmodule
module Full_Calculator_Top(
    input [3:0] X, Y,
    input [2:0] F,
    input clk, Go, rst,
    output [3:0] Out_H, Out_L,
    output [3:0] cs,
    output done
);


wire Done_Calc, Done_Div;
wire En_X, En_Y, En_F;
wire Go_Calc, Go_Div;
wire [1:0] Op_Calc;
wire Sel_H;
wire [1:0] Sel_L;
wire Calc_Mux_Sel, Mul_Mux_Sel;
wire En_Out_H, En_Out_L;
wire RST_OUT_H, RST_OUT_L;
wire Module_Reset;
wire [2:0] F_Out;


    Full_Calculator_DP DP (
        .clk(clk), .rst(Module_Reset),
        .X(X), .Y(Y), .F(F),
        .En_X(En_X), .En_Y(En_Y), .En_F(En_F),
        .Go_Calc(Go_Calc), .Go_Div(Go_Div),
        .Op_Calc(Op_Calc),
        .Sel_H(Sel_H), .Sel_L(Sel_L),
        .Calc_Mux_Sel(Calc_Mux_Sel), .Mul_Mux_Sel(Mul_Mux_Sel),
        .En_Out_H(En_Out_H), .En_Out_L(En_Out_L),
        .RST_OUT_H(RST_OUT_H), .RST_OUT_L(RST_OUT_L),
        .Done_Calc(Done_Calc), .Done_Div(Done_Div),
        .Out_H(Out_H), .Out_L(Out_L),
        .F_Out(F_Out)
    );
    
    Full_Calculator_CU CU (
        .Go(Go), .clk(clk), .rst(rst),
        .F(F_Out),
        .done(done),
        
        .Done_Calc(Done_Calc), .Done_Div(Done_Div),
        .En_X(En_X), .En_Y(En_Y), .En_F(En_F),
        .Go_Calc(Go_Calc), .Go_Div(Go_Div),
        .Op_Calc(Op_Calc),
        .Sel_H(Sel_H), .Sel_L(Sel_L),
        .Calc_Mux_Sel(Calc_Mux_Sel), .Mul_Mux_Sel(Mul_Mux_Sel),
        .En_Out_H(En_Out_H), .En_Out_L(En_Out_L),
        .RST_OUT_H(RST_OUT_H), .RST_OUT_L(RST_OUT_L),
        .Module_Reset(Module_Reset),
        .cs(cs)
    );



endmodule