data/full_repos/permissive/166253634/port/portserial.v
 line:34: before: ")"
1: b"%Error: data/full_repos/permissive/166253634/port/portserial.v:34: syntax error, unexpected ')', expecting '['\n);\n^\n%Error: Exiting due to 1 error(s)\n"
module portserial(

    inMBPortSerialPutByte,
    inMBPortSerialGetByte,
    inBaudRate,
    inByte,
    

    
    

    outRxEnable,
    outTxEnable,
    outByte,
    outUARTTxReadyISR,
    outUARTRxISR,
);




    

    always @ (posedge clk or negedge rst_n)
    begin
        if (!rst_n)
            xRxEnable <= FALSE;
        else if ()
            xRxEnable <= TRUE;
        else if ()
            xRxEnable <= FALSE;
    end
    always @ (posedge clk or negedge rst_n)
    begin
        if (!rst_n)
            xTxEnable <= FALSE;
        else if ()
            xTxEnable <= TRUE;
        else if ()
            xTxEnable <= FALSE;
    end
    




endmodule
module portserial(

    inMBPortSerialPutByte,
    inMBPortSerialGetByte,
    inBaudRate,
    inByte,
    

    
    

    outRxEnable,
    outTxEnable,
    outByte,
    outUARTTxReadyISR,
    outUARTRxISR,
);





    

    always @ (posedge clk or negedge rst_n)
    begin
        if (!rst_n)
            xRxEnable <= FALSE;
        else if ()
            xRxEnable <= TRUE;
        else if ()
            xRxEnable <= FALSE;
    end
    always @ (posedge clk or negedge rst_n)
    begin
        if (!rst_n)
            xTxEnable <= FALSE;
        else if ()
            xTxEnable <= TRUE;
        else if ()
            xTxEnable <= FALSE;
    end
    




endmodule