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

Multiple clock assignment to SOPC module

Altera_Forum
Honored Contributor II
1,347 Views

Hi, 

 

I have made an SOPC module with the "New component..." vizard. The VHDL code for the component contains one Avalon MM interface, one Avalon ST interface, and some signals that are exported to the top-level.  

Furthermore 3 clock inputs are used: one for MM & ST bus (share same clock), and two for the exported signals. 

The component generation is done without errors. 

 

Now the problem starts when trying to add the component to a NIOS system, in the clock column of the SOPC builder it is possible to assign clocks for the MM & ST interface (Ok - I just set them to the same clock).  

But it is not possible to assign clocks to the two other clock inputs, at the line where the name of the component is written, the word "Multiple" is written for clock assignment. If I change it to a clock source, I have no way of knowing which of the clock inputs I'm assigning. 

 

Attached is screen shot of the problem. 

 

Is there a way I can "expand" the view of the component, so I can see/assign all clocks? 

Is it possible to edit a file instead of using the GUI? 

 

BR 

Peter
0 Kudos
5 Replies
Altera_Forum
Honored Contributor II
693 Views

Only the clocks that are associated to an Avalon ST or MM interface can be changed in SOPC builder. 

What I do usually in that case is to put the clock associated to the export interface also as an external signal, and assign it outside of the SOPC system.
0 Kudos
Altera_Forum
Honored Contributor II
693 Views

You should be able to click the little "+" sign at the far left side of the screen corresponding to that component and it will expand all of its interfaces to be visible. 

 

Jake
0 Kudos
Altera_Forum
Honored Contributor II
693 Views

Clicking the '+' will expand the component, but not enought to see the extra clocks... I asked Altera support, and they basically gave me the same workaround as suggested by Daixiwen. This seems to work ok for me. Thanks.

0 Kudos
Altera_Forum
Honored Contributor II
693 Views

Hello,  

 

Maybe you can use the RTL VIEWER. 

 

This way you can see how was synthetyzed your hardware. 

 

Regards, 

 

Diego
0 Kudos
Altera_Forum
Honored Contributor II
693 Views

If you are using Quartus II 9.0(former versions don't have the particular option), you can right click on the text 'multiple', and find a 'show all' option in the pop-up menu. Use it, and you will see what you want.:cool:

0 Kudos
Reply