data/full_repos/permissive/103842408/rtl/main/rvm_pcu.v
1: b'%Error: data/full_repos/permissive/103842408/rtl/main/rvm_pcu.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: data/full_repos/permissive/103842408/rtl/main/rvm_pcu.v:24: Define or directive not defined: \'`RVM_PC_POST_RESET\'\n        pc <= `RVM_PC_POST_RESET;\n              ^~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/103842408/rtl/main/rvm_pcu.v:24: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n        pc <= `RVM_PC_POST_RESET;\n                                ^\n%Error: Exiting due to 3 error(s)\n'
module rvm_pcu(
input  wire          clk,
input  wire          resetn,

input  wire          pc_w_en,
input  wire [31:0]   pc_wdata,
output reg  [31:0]   pc
);

always @(posedge clk, negedge resetn) begin: p_update_pc
    if(!resetn) begin
        pc <= `RVM_PC_POST_RESET;
    end else if(pc_w_en) begin
        pc <= pc_wdata;
    end
end

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

input  wire          pc_w_en,
input  wire [31:0]   pc_wdata,
output reg  [31:0]   pc
);


always @(posedge clk, negedge resetn) begin: p_update_pc
    if(!resetn) begin
        pc <= `RVM_PC_POST_RESET;
    end else if(pc_w_en) begin
        pc <= pc_wdata;
    end
end

endmodule