anchor.diff:             0: phy.xgmii_tx.dc_0(v);
              1: phy.xgmii_tx.dc_1(v);
              2: phy.xgmii_tx.dc_2(v);
  -`ifdef NUMBER_OF_ALTERA_PORTS
  +`ifndef NUMBER_OF_ALTERA_PORTS
              3: phy.xgmii_tx.dc_3(v);
   `endif
            endcase
  
positive.code:    rule tx_serial2;
        tx_serial[2] <= phy.tx_serial.data_2;
     endrule
  `ifdef NUMBER_OF_ALTERA_PORTS
     rule tx_serial3;
        tx_serial[3] <= phy.tx_serial.data_3;
     endrule
  
negative.code:             0: rxFifo[0].enq(phy.xgmii_rx.dc_0);
              1: rxFifo[1].enq(phy.xgmii_rx.dc_1);
              2: rxFifo[2].enq(phy.xgmii_rx.dc_2);
  `ifndef NUMBER_OF_ALTERA_PORTS
              3: rxFifo[3].enq(phy.xgmii_rx.dc_3);
  `endif
           endcase
  