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++
12600 Discussions

Altera EMAC Hwlib for Cyclone V SOC

Altera_Forum
Honored Contributor II
2,339 Views

Hi, 

 

I need to use Cyclone V HPS's EMAC interface without using linux OS. 

 

However, although the "alt_emac.h" is included in the Hardware Library for Cyclone V, I could find any source file relating to EMAC. 

 

Could you please help me regarding this problem? 

 

thanks,
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
1,071 Views

Bummer... I couldn't find any examples for this as well. Can you file a Service Request to Altera and share the outcome here?

0 Kudos
Ahmed_H_Intel1
Employee
1,071 Views

To get the required resources please search for ALTERA hardware library "HWLIB".Altera offers a package of drivers to create your own bare metal application on the FPGA and/or HPS. Here are some resources:

 

https://www.intel.com/content/www/us/en/programmable/support/support-resources/download/rtos_tools.html

 

https://github.com/cambridgehackers/Altera-SoCFPGA-HardwareLib-MPL/blob/master/README.txt

 

Please let me know if these were helpful.

0 Kudos
corestar
New Contributor I
1,071 Views

I have a similar question for Quartus 18.0 on Cyclone V SoC. I'm used to Xilinx Zynq which has a large API of functions in the BSP to do things such as XEmacPs_CfgInitialize to initialize and EMAC, XEmacPs_SetMacAddress, and XEmacPs_SetHandler to set interrupt handlers etc. Is there nothing similar in Altera???? I followed the links above and found nothing at all.

JDelR1
Beginner
1,071 Views

Same here, looking for an example to run ethernet with an RTOS using Cyclone V SOC hope they answer someday.

0 Kudos
Reply