diff --git a/elink/README.md b/elink/README.md index 0b79839..dd5a204 100644 --- a/elink/README.md +++ b/elink/README.md @@ -296,7 +296,7 @@ FIELD | DESCRIPTION | 1: ctrlmode field taken E_TXCFG [10] | 0: Burst mode disabled | 1: Burst mode enabled - [11:10] | 00: Normal transmit mode + [12:11] | 00: Normal transmit mode | 01: GPIO direct drive mode ------------------------------- diff --git a/elink/hdl/etx_cfg.v b/elink/hdl/etx_cfg.v index fdb3688..e162d1b 100644 --- a/elink/hdl/etx_cfg.v +++ b/elink/hdl/etx_cfg.v @@ -136,7 +136,7 @@ module etx_cfg (/*AUTOARG*/ assign ctrlmode[3:0] = tx_cfg_reg[7:4]; assign ctrlmode_bypass = tx_cfg_reg[9]; assign burst_enable = tx_cfg_reg[10]; - assign gpio_enable = (tx_cfg_reg[11:10]==2'b01); + assign gpio_enable = (tx_cfg_reg[12:11]==2'b01); //########################### //# STATUS REGISTER