data/full_repos/permissive/206017343/single-cycle.srcs/sources_1/new/npc.v
1: b'%Error: data/full_repos/permissive/206017343/single-cycle.srcs/sources_1/new/npc.v:2: Cannot find include file: instr_head.v\n`include "instr_head.v" \n         ^~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/206017343/single-cycle.srcs/sources_1/new,data/full_repos/permissive/206017343/instr_head.v\n             data/full_repos/permissive/206017343/single-cycle.srcs/sources_1/new,data/full_repos/permissive/206017343/instr_head.v.v\n             data/full_repos/permissive/206017343/single-cycle.srcs/sources_1/new,data/full_repos/permissive/206017343/instr_head.v.sv\n             instr_head.v\n             instr_head.v.v\n             instr_head.v.sv\n             obj_dir/instr_head.v\n             obj_dir/instr_head.v.v\n             obj_dir/instr_head.v.sv\n%Error: data/full_repos/permissive/206017343/single-cycle.srcs/sources_1/new/npc.v:13: Define or directive not defined: \'`PCS_BEQ_GO\'\n    assign npc = (pcs_ctrl == `PCS_BEQ_GO) ? pc_beq_go :\n                              ^~~~~~~~~~~\n%Error: data/full_repos/permissive/206017343/single-cycle.srcs/sources_1/new/npc.v:13: syntax error, unexpected \')\', expecting TYPE-IDENTIFIER\n    assign npc = (pcs_ctrl == `PCS_BEQ_GO) ? pc_beq_go :\n                                         ^\n%Error: data/full_repos/permissive/206017343/single-cycle.srcs/sources_1/new/npc.v:14: Define or directive not defined: \'`PCS_J\'\n                 (pcs_ctrl == `PCS_J) ? pc_j :\n                              ^~~~~~\n%Error: Exiting due to 4 error(s)\n'
module npc(
    input wire[1:0] pcs_ctrl,
    input wire[31:0] pc_plus_4,
    input wire[31:0] pc_j,
    input wire[31:0] pc_beq_go,

    output wire[31:0] npc
    );

    assign npc = (pcs_ctrl == `PCS_BEQ_GO) ? pc_beq_go :
                 (pcs_ctrl == `PCS_J) ? pc_j :
                pc_plus_4; 

endmodule
module npc(
    input wire[1:0] pcs_ctrl,
    input wire[31:0] pc_plus_4,
    input wire[31:0] pc_j,
    input wire[31:0] pc_beq_go,

    output wire[31:0] npc
    );


    assign npc = (pcs_ctrl == `PCS_BEQ_GO) ? pc_beq_go :
                 (pcs_ctrl == `PCS_J) ? pc_j :
                pc_plus_4; 

endmodule