Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12606 Discussions

SWAP EMAC TX RX bits ( MAC <-> PHY )

Altera_Forum
Honored Contributor II
1,152 Views

Hi Everyone, 

 

I'm working on a custom board that assembly with Arria5. 

 

Due to layout PCB issue on my custom board I want to swap between RGMii TX bits --> TXD3 with TXD0 & TXD1 with TXD2  

and also same wsap needed on the RX bits ( RXD3 with RXD0 & RXD1 with RXD2 ). 

 

Is it possible to modffied Uboot EMAC driver ? i don't fmiliar with the EMAC driver and i understood that this can't be done at the QSYS muxing. 

 

please advise, 

 

Thanks in advance, 

Moran.
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
425 Views

Can't you just change the FPGA pin mapping in your project to match the PCB?

0 Kudos
Altera_Forum
Honored Contributor II
425 Views

 

--- Quote Start ---  

Can't you just change the FPGA pin mapping in your project to match the PCB? 

--- Quote End ---  

 

 

I think we're talking about the HPS EMAC, which is on dedicated pins through the pinmux. 

 

I'd think there is a way to do this by running the EMAC pins to the FPGA, and then back up to the HPS using LoanIO. Then you'd have the pins in the correct place and can rewire them in the FPGA...You might need some management logic, though, and need to use some adaptors in Qsys to turn MII into RGMII?
0 Kudos
Reply