data/full_repos/permissive/461141714/src/Pipelined CPU supporting DMA/control_hazard.v
1: b'%Error: Cannot find file containing module: CPU\n        ... Looked in:\n             data/full_repos/permissive/461141714/src/Pipelined/CPU\n             data/full_repos/permissive/461141714/src/Pipelined/CPU.v\n             data/full_repos/permissive/461141714/src/Pipelined/CPU.sv\n             CPU\n             CPU.v\n             CPU.sv\n             obj_dir/CPU\n             obj_dir/CPU.v\n             obj_dir/CPU.sv\n%Error: Cannot find file containing module: supporting\n%Error: Cannot find file containing module: DMA,data/full_repos/permissive/461141714\n%Error: Cannot find file containing module: data/full_repos/permissive/461141714/src/Pipelined\n%Error: Cannot find file containing module: DMA/control_hazard.v\n%Error: Exiting due to 5 error(s)\n'
module CONTROL_HAZARD_UNIT(
        input [`WORD_SIZE-1:0] ID_PC,
        input [`WORD_SIZE-1:0] realPC,
        
        output reg forcePC,
        output reg [`WORD_SIZE-1:0] forcePCdata
    );
    
    always @(*) begin
        forcePC = 0;
        if(realPC !== `WORD_SIZE'bz && ID_PC != realPC) begin
            forcePC = 1;
            forcePCdata = realPC;
        end
    end
    
endmodule
module CONTROL_HAZARD_UNIT(
        input [`WORD_SIZE-1:0] ID_PC,
        input [`WORD_SIZE-1:0] realPC,
        
        output reg forcePC,
        output reg [`WORD_SIZE-1:0] forcePCdata
    );

    
    always @(*) begin
        forcePC = 0;
        if(realPC !== `WORD_SIZE'bz && ID_PC != realPC) begin
            forcePC = 1;
            forcePCdata = realPC;
        end
    end
    
endmodule