data/full_repos/permissive/469509877/rtl/GapHorizontalComponent.v
data/verilator_xmls/fc18302c-eaf1-47e0-ba4c-4c5731044187.xml
module GapHorizontalComponent(
    input [9:0] Hcount,
    input [3:0] RedIn,
    input [9:0] LeftStartingPosition,
    input [9:0] RightStartingPosition,
    output[3:0] RedOut
    );
    

    
    assign RedOut[3] = ((~((LeftStartingPosition <= Hcount) & (Hcount <= RightStartingPosition))) & RedIn[3]);
    assign RedOut[2] = ((~((LeftStartingPosition <= Hcount) & (Hcount <= RightStartingPosition))) & RedIn[2]);
    assign RedOut[1] = ((~((LeftStartingPosition <= Hcount) & (Hcount <= RightStartingPosition))) & RedIn[1]);
    assign RedOut[0] = ((~((LeftStartingPosition <= Hcount) & (Hcount <= RightStartingPosition))) & RedIn[0]);
endmodule
module GapHorizontalComponent(
    input [9:0] Hcount,
    input [3:0] RedIn,
    input [9:0] LeftStartingPosition,
    input [9:0] RightStartingPosition,
    output[3:0] RedOut
    );

    

    
    assign RedOut[3] = ((~((LeftStartingPosition <= Hcount) & (Hcount <= RightStartingPosition))) & RedIn[3]);
    assign RedOut[2] = ((~((LeftStartingPosition <= Hcount) & (Hcount <= RightStartingPosition))) & RedIn[2]);
    assign RedOut[1] = ((~((LeftStartingPosition <= Hcount) & (Hcount <= RightStartingPosition))) & RedIn[1]);
    assign RedOut[0] = ((~((LeftStartingPosition <= Hcount) & (Hcount <= RightStartingPosition))) & RedIn[0]);
endmodule