- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 youLink Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page