data/full_repos/permissive/444559342/mp2/hdl/mp2.sv
1: b"%Error: data/full_repos/permissive/444559342/mp2/hdl/mp2.sv:1: syntax error, unexpected IDENTIFIER, expecting PACKAGE-IDENTIFIER or STRING\nimport rv32i_types::*;\n       ^~~~~~~~~~~\n%Error: data/full_repos/permissive/444559342/mp2/hdl/mp2.sv:29: syntax error, unexpected ::, expecting IDENTIFIER\npcmux::pcmux_sel_t pcmux_sel;\n     ^~\n                                                              : ... Perhaps 'pcmux' is a package which needs to be predeclared? (IEEE 1800-2017 26.3)\n%Error: Exiting due to 2 error(s)\n"
module mp2
(
    input clk,
    input rst,
    input mem_resp,
    input rv32i_word mem_rdata,
    output logic mem_read,
    output logic mem_write,
    output logic [3:0] mem_byte_enable,
    output rv32i_word mem_address,
    output rv32i_word mem_wdata
);


logic load_mdr;
logic load_pc;
logic load_ir;
logic load_regfile;
logic load_mar;
logic load_data_out;
logic [2:0] funct3;
logic [6:0] funct7;
logic br_en;
logic [4:0] rs1;
logic [4:0] rs2;
logic [1:0] shift_bits;
pcmux::pcmux_sel_t pcmux_sel;
alumux::alumux1_sel_t alumux1_sel;
alumux::alumux2_sel_t alumux2_sel;
regfilemux::regfilemux_sel_t regfilemux_sel;
marmux::marmux_sel_t marmux_sel;
cmpmux::cmpmux_sel_t cmpmux_sel;
alu_ops aluop;
branch_funct3_t cmpop;
rv32i_opcode opcode;

















control control(.*);


datapath datapath(.*);

endmodule
module mp2
(
    input clk,
    input rst,
    input mem_resp,
    input rv32i_word mem_rdata,
    output logic mem_read,
    output logic mem_write,
    output logic [3:0] mem_byte_enable,
    output rv32i_word mem_address,
    output rv32i_word mem_wdata
);



logic load_mdr;
logic load_pc;
logic load_ir;
logic load_regfile;
logic load_mar;
logic load_data_out;
logic [2:0] funct3;
logic [6:0] funct7;
logic br_en;
logic [4:0] rs1;
logic [4:0] rs2;
logic [1:0] shift_bits;
pcmux::pcmux_sel_t pcmux_sel;
alumux::alumux1_sel_t alumux1_sel;
alumux::alumux2_sel_t alumux2_sel;
regfilemux::regfilemux_sel_t regfilemux_sel;
marmux::marmux_sel_t marmux_sel;
cmpmux::cmpmux_sel_t cmpmux_sel;
alu_ops aluop;
branch_funct3_t cmpop;
rv32i_opcode opcode;

















control control(.*);


datapath datapath(.*);

endmodule