Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
744 Views

[DE2_NET] Where is `DM9000A_BASE' ?

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 I
43 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.