Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17268 Discussions

Ethernet compilation issue

BPani1
Beginner
1,907 Views

Hi ,

I am new to NIOS SBT.I am trying to compile sample Ethernet application on the Arria 10 GX FPGA Development Board EVM.

I have added the eth_tse_0 driver and niche tcp ip stack in bsp editor tab and also -DTSE_MY_SYSTEM macro in defined symbols.

but still i am getting "undefined reference to `tse_mac_device'".

I have attached the sample code also.

 

let me know if any other steps i am missing.

0 Kudos
2 Replies
BoonT_Intel
Moderator
1,114 Views

Hi,

You can try to refer this page of the NIOSII handbook for how to add the ethernet driver:

https://www.intel.co.jp/content/dam/altera-www/global/ja_JP/pdfs/literature/hb/nios2/n2sw_nii5v2.pdf#page=191

 

0 Kudos
BPani1
Beginner
1,114 Views

Hi ,

I have missed to add the tse_mac_device structure of type alt_tse_system_info. After adding below statement,it worked.

alt_tse_system_info tse_mac_device[MAXNETS] = {

TSE_SYSTEM_EXT_MEM_NO_SHARED_FIFO(ETH_TSE_0, 0, MSGDMA_TX, MSGDMA_RX, TSE_PHY_AUTO_ADDRESS, ADDITIONAL_PHY_CFG, DESCRIPTOR_MEMORY)

};

 

0 Kudos
Reply