Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
15544 Discussions

Ethernet compilation issue

BPani1
Beginner
946 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
153 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...

 

BPani1
Beginner
153 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)

};

 

Reply