Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
12748 Discussions

SOPC Builder, Ethernet, Custom Design and Memory

Altera_Forum
Honored Contributor II
1,174 Views

Hello, 

 

I have a development kit : StratixIII EP3SL150N 

FPGA: StratixIII EP3SL150F1152C2N. 

 

I designed a system which include a NCO. ( NCO MegaCore v9.0 ) 

This NCO generate a digital sinewave which depend on a "Frequency Control Word" input of the NCO. 

 

I want to change the value of the "Frequency Control Word" (FCW) without the need to load the design in the FPGA again. ( "real time" control ) 

 

So, I created a soft on my PC to enter a new FCW and send it to the NCO by Ethernet (link between my PC and the board only). I have used SOPC Builder to implement the Triple Speed Ethernet in the FPGA.  

 

I need your help to the following :  

 

I don't have idea how to connect my NCO with the Triple Speed Ethernet. 

I don't know how they must interact.  

I read guide about SOPC builder and Triple Speed Ethernet and Nios 2 to have a better idea but I have not . 

 

If you need more precision don't hesistate. 

 

Sorry if my english, 

 

Best Regards, 

 

Jeremy.
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
445 Views

Hi, 

>I don't have idea how to connect my NCO with the Triple Speed Ethernet. 

I never used the NCO, but it seems to have an Avalon-MM Interface 

So they won't be connected together but each of the TSE and NCO will interact with NIOS. 

A way of doing it is a server socket running on NIOS that will take orders from the computer, then the Nios program will access the NCO registers.
0 Kudos
Altera_Forum
Honored Contributor II
445 Views

ethernet is kind of overkill to just update the NCO frequency. you can make a small Nios + JTAG UART + PIO system. add some code to interpret some input ASCII from the JTAG UART into a binary vector, and send that to the PIO. the PIO is then connected to the phase increment input of the NCO.

0 Kudos
Reply