FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
5931 Discussions

[DE2_NET] Where is `DM9000A_BASE' ?

Altera_Forum
Honored Contributor II
1,073 Views

I work with DE2 Board and I try to load the DE2_NET project.  

It is NIOS sample project, in which the work with DM9000A controler is demonstrated. 

But when I compile the project in Altera Monitor Program, I have a error in file DM9000A.H: 

"error `DM9000A_BASE' undeclared".  

 

Where `DM9000A_BASE' has to be declareted ? 

Should I declare `DM9000A_BASE' myself ? 

 

Thank you
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
372 Views

DM9000A_BASE should be defined in system.h 

system.h is generated with the system library, taking as input a .stf file that describes the Nios processor and all its peripherals. 

Therefore you must check that the system library points to the correct .stft file (one in a SOPC project that has a DM9000A controller, that is called DM9000A) 

And by the way you should rather ask this question in the NIOS forum.
0 Kudos
Reply