Hi Shameem,
To design the desired system, you should use the Qsys tool to add the components and make
necessary connections between them.
1. Select Tools > Qsys to open the Qsys tool, and then save the file as nios_system.qsys
2. Double-click on the clock source clk_0 and change the Clock frequency to 100000000 Hz (100MHz). Then,
right-click on clk_0 and rename it as sys_clk.
3. Add a Nios II processor. The Nios II processor is used to run application programs that handle the data sent
to or received from the Triple-Speed Ethernet MegaCore.
4. Add an on-chip memory, which will be used as the main memory to store programs and data for the processor.
Any data received from the Triple-Speed Ethernet MegaCore will be stored in this memory as well.
5. Add a JTAG UART component. With the JTAG UART component, the Nios II processor is able to send data to
the host computer, such as information that needs to be printed out to the terminal in the application program.
6. Add a Triple-Speed Ethernet MegaCore. It works as a Media Access Controller, which along with the Nios II
processor and the external PHY chip are the key components of the Triple-Speed Ethernet system. For detailed
information about this MegaCore, refer to the Triple-Speed Ethernet MegaCore Function User Guide.
7. Add an SGDMA controller for receive operation. This controller will be set to transfer data from a streaming
interface to a memory-mapped interface, so that data can be transferred from the Triple-Speed Ethernet
MegaCore to the on-chip memory. The controller will interrupt the processor whenever it finishes the data
transfer.
8. Add another SGDMA controller for transmit operation. This controller governs the reading of data from the
on-chip memory main_memory and sending it to the Triple-Speed Ethernet MegaCore.
9. Add another on-chip memory. Unlike the main_memory part, this on-chip memory is used to store only the
descriptors of the SGDMA controllers.
10. Now, all the components have been added, but the system is not complete as there are several error messages
displayed.
11. After you have resolved all error messages, you can generate the system.
• Select the Generation tab.
• Uncheck the Create block symbol file (bsf) in the Synthesis section as shown in Figure 10.
• Click Generate on the bottom of the window.
• When successfully completed, the generation process produces the message “Generate Completed”.
12.using eclipse tool generate BSP and develop software.
For detailed information on above steps follow:
ftp://ftp.altera.com/up/pub/altera_material/12.0/tutorials/de2-115/using_triple_speed_ethernet.pdf For Design examples://
www.altera.com/support/support-resources/design-examples/intellectual-property/embedded/nios-ii/exm-net-std-de.html use niosii-ethernet-standard-4sgx230.zip file from above link and modify as per your requirements.
Best Regards,
Anand Raj Shankar
(This message was posted on behalf of Intel Corporation)