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

Edit component peripheral

Altera_Forum
Honored Contributor II
1,589 Views

Hi, 

 

I added a component few months ago in SOPC builder 9.1. Now I want to edit that component by adding new VHDL file to it. But, when I select the component it no more gives me the option of editing it.  

 

I am using DE2-70 board. Quartus II 9.1. 

 

Kindly suggest how can I edit the added component. 

 

Thanks, 

Mumble.
0 Kudos
7 Replies
Altera_Forum
Honored Contributor II
891 Views

I have had the same problem, when selecting "edit", it seems not possible to modify the component, so I create a new one... (it's quite fast). 

But with quartusII 10, it works fine! You can select the component and click edit, and you can change the vhdl and the config.
0 Kudos
Altera_Forum
Honored Contributor II
891 Views

You need to manually edit the *_hw.tcl file in the component folder with a text editor and change the 'editable' line (from 'no' to 'yes' or 'false' to 'true', I don't remember which one)

0 Kudos
Altera_Forum
Honored Contributor II
891 Views

I have a similar problem. The OP asked about adding VHDL files. My issue is when I go to edit a component I created in SOPC builder in Component Editor and add a signal under the Signals tab, the 'Add Signal' button is greyed out. Is the solution the same? - to manually edit the TCL file? 

 

Note I have the following already set & still greyed out (even after shutting down SOPC builder and re-loading the project): 

set_module_property EDITABLE true 

 

Quartus 10.0
0 Kudos
Altera_Forum
Honored Contributor II
891 Views

I never added signals through that button, I always edit the component top HDL file, and the signals tab is updated automatically when I reopen the component editor.

0 Kudos
Altera_Forum
Honored Contributor II
891 Views

I just tried that - it worked very well. I added the ports in the VHDL file. When I went into SOPC builder, and then into Component Editor, it re-analyzed the file and showed the new port. I 'refreshed' the system, and hit Generate. SOPC builer updated the system files, including the TCL file associated with the component. 

 

Thanks!
0 Kudos
Altera_Forum
Honored Contributor II
891 Views

I opened the SOPC builder on my design and i made a new component and added the signals and the interfaces then pressed the finish button to save this component . but when close the SOPC builder then open it again the component is not found. How can i add the new component in the library?

0 Kudos
Altera_Forum
Honored Contributor II
891 Views

you need to add the path to your component somewhere in SOPC builders settings if you want it to detect your component. Alternatively, you can create an 'ip' folder in the folder containing your Quartus project, and put your component in a folder inside 'ip'. SOPC builder will automatically look in that folder when it is started.

0 Kudos
Reply