Clement Deschamps

Fixed an error with & operator

... ... @@ -332,7 +332,7 @@ void PL011::readData(gs::reg::transaction_type *&tr,
void PL011::writeControl(gs::reg::transaction_type *&tr,
const sc_core::sc_time &delay)
{
if (r[PL011_UARTLCR_H] && PL011_FEN_FLAG) {
if (r[PL011_UARTLCR_H] & PL011_FEN_FLAG) {
updateTXInt();
} else {
updateIRQ();
... ...