Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17255 Discussions

SOPC builder custom component not generated

Altera_Forum
Honored Contributor II
1,338 Views

Hello, 

 

I'm using SOPC builder to generate a simple design. 

I have successfully generated a design with NIOSII and a CFI Flash interface. 

 

Now, I would like to add a custom component generated from a VHDL file. 

I'm starting with a basic design driving LEDs attached to this message (shift_led.vhd). 

 

I've successfully created the custom component with SOPC builder and added it to my system. It appears with other components of my design in "system contents" view. Clock and reset seems to be connected. 

 

When I generates the system, my custom component is not present. It is not instantiated in the generated VHDL file for the system (flash_loader.vhd).  

Is there something special to do to integrate a custom component in a SOPC system? 

 

Thank you
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
619 Views

shift_led entity doesn't have avalon MM interfaces (datain, dataout, address, write or read), so it can't be acceded from Nios II. You should add at least datain and address interfaces.

0 Kudos
Altera_Forum
Honored Contributor II
619 Views

I don't need to access this component from Nios II. It runs independently from the rest of the system except that it uses the same clock and reset. 

 

I'll try to add this interface without using it in my component to see if this is what SOCP builder requires.
0 Kudos
Altera_Forum
Honored Contributor II
619 Views

I wonder if since the only connections to your component were the clock and reset, SoPC builder decided not to instantiate the component at all because both the reset and clock are made available outside of SoPC Builder. 

 

Hmmm.  

 

One other thought. Does the timestamp on the generated "flash_loader.vhd" match what you expect for the compilation time? Meaning, is it possible that it's not getting updated? 

 

Jake
0 Kudos
Reply