Forum Discussion
Altera_Forum
Honored Contributor
15 years ago --- Quote Start --- I had the same issue with another MAC which was implemented in SOPC Builder under Linux. The MAC was in the "system.h" but the header file of the driver not included in "alt_sys_init.c". So I included it on my own and added the INIT and INSTANCE methods defined in the header file. This works but stays only in this file as long as you do not change the system library. By the way under Windows there were no problems. EDIT: I looked over your pictures again an saw that you included the "dm9000.h" instead of "dm9000a.h". Perhaps this solves some of your problems. --- Quote End --- The source file is "dm9000.h" and "dm9000.c", still it's not included in the "alt_sys_init.c" file. I have edited the "...sw_tcl.tcl" file as a proper way, but it's not work. I tried to edit the file "alt_sys_init.c", including the dm9000.h, INSTANCE and INIT, it comes out with an error that "ALTERA_AVALON_DM9K_INIT" undeclared, Have you changed anything in the header file on INIT and INSTANCE?