Altera_Forum
Honored Contributor
19 years agoSOPC Component Editor
Hi, i am a beginner with the SOPC builder and i want to create a prototyping system in which i have used a NIOS II/e core, on chip RAM, JTAG UART and a PLL. What i want to achieve is that i have a VHDL design file, which creates a component that basically performs the xor operation. The ports are as follows:
1)Two 32-bit vectors 2)clk, reset 3)A 32 bit vector returning the result and also a flag bit I want to creat a component in SOPC builder based on my design. What i hope to achieve is to write a C application in the NIOS IDE, which will just basically connect the RAM to the ports of my design. I will have a dedicated section in RAM, where i will have my data stored. Now the problem is that i am not sure how do i make the component in SOPC builder? Once i add the HDL file i have to define the signals and i not sure how many avalon interfaces should i use because basically i want to have 3 ports for input and 2 ports for output so that each can be accessed a specific memory location. These ports will read/write to the RAM. So in the SOPC component editor: 1)What interfaces should i use for the signal? 2)What signal types should i declare (export, readdata, writedata)? 3)What settings do i need for the individual interfaces? Do i need any changes in my VHDL design file because i didnt write it thinking i would integrate it with the NIOS II Processor core. Any help would be appreciated. Thanks