data/full_repos/permissive/103842408/rtl/main/rvm_fdu.v
1: b'%Error: data/full_repos/permissive/103842408/rtl/main/rvm_fdu.v:11: Cannot find include file: rvm_constants.v\n`include "rvm_constants.v" \n         ^~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/103842408/rtl/main,data/full_repos/permissive/103842408/rvm_constants.v\n             data/full_repos/permissive/103842408/rtl/main,data/full_repos/permissive/103842408/rvm_constants.v.v\n             data/full_repos/permissive/103842408/rtl/main,data/full_repos/permissive/103842408/rvm_constants.v.sv\n             rvm_constants.v\n             rvm_constants.v.v\n             rvm_constants.v.sv\n             obj_dir/rvm_constants.v\n             obj_dir/rvm_constants.v.v\n             obj_dir/rvm_constants.v.sv\n%Error: Exiting due to 1 error(s)\n'
module rvm_fdu(
input  wire        clk,
input  wire        resetn,

input  wire [31:0] mem_rdata    ,
input  wire        mem_valid    ,

output wire        illegal_instr,
output wire [ 4:0] rs1          ,
output wire [ 4:0] rs2          ,
output wire [ 4:0] dest         ,
output wire [31:0] imm          ,
output wire [ 5:0] instr
);





reg  [31:0] fetched_data;

always @(posedge clk, negedge resetn) begin : p_decode_catch_rdata
    if(!resetn) begin
        fetched_data <= 32'b0;
    end else if (mem_valid) begin
        fetched_data <= mem_rdata;
    end
end





rv32ui_decoder i_rvm_decoder(
.inputword    (fetched_data ),
.decode_en    (1'b1         ),
.illegal_instr(illegal_instr),
.rs1          (rs1          ),
.rs2          (rs2          ),
.dest         (dest         ),
.imm          (imm          ),
.instr        (instr        )
);

endmodule
module rvm_fdu(
input  wire        clk,
input  wire        resetn,

input  wire [31:0] mem_rdata    ,
input  wire        mem_valid    ,

output wire        illegal_instr,
output wire [ 4:0] rs1          ,
output wire [ 4:0] rs2          ,
output wire [ 4:0] dest         ,
output wire [31:0] imm          ,
output wire [ 5:0] instr
);






reg  [31:0] fetched_data;

always @(posedge clk, negedge resetn) begin : p_decode_catch_rdata
    if(!resetn) begin
        fetched_data <= 32'b0;
    end else if (mem_valid) begin
        fetched_data <= mem_rdata;
    end
end





rv32ui_decoder i_rvm_decoder(
.inputword    (fetched_data ),
.decode_en    (1'b1         ),
.illegal_instr(illegal_instr),
.rs1          (rs1          ),
.rs2          (rs2          ),
.dest         (dest         ),
.imm          (imm          ),
.instr        (instr        )
);

endmodule