Forum Discussion
Altera_Forum
Honored Contributor
13 years agoStart Eclipse, create a new project from example projects and choose either web server (RGMII) or simple socket server (RGMII) example. It will create a new project and there will be a file called "tse_my_system.c". Copy it to Your project directory.
Or You can create a new .c file and add the same contents to it:
/* REQUIRED ONLY IF NETWORK IS RGMII */
# ifdef ALT_INICHE
# include "ipport.h"# endif
# include "system.h"# include "altera_avalon_tse.h"# include "altera_avalon_tse_system_info.h"
alt_tse_system_info tse_mac_device = {
TSE_SYSTEM_EXT_MEM_NO_SHARED_FIFO(TSE_MAC, 0, SGDMA_TX, SGDMA_RX, TSE_PHY_AUTO_ADDRESS, &marvell_cfg_rgmii, DESCRIPTOR_MEMORY)
};
Then remember to edit this file and add your initialization stuff instead of Marvell structure.