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

Avalon Interface data bits per symbol as component parameter

Altera_Forum
Honored Contributor II
3,076 Views

A Qsys component I created uses an Avalon-ST interface. I'm trying to set the data bits per symbol property of the streaming source as a parameter of my component so that it can be set from an Instance Parameter from my top-level Qsys system.  

 

I need this because this component is connected to an IP Core (NCO) that changes its data bits per symbol when you change its resolution parameters. So of course, I need the source and the sink data bits per symbol to match.  

 

If the above isn't possible, are there any other workarounds? 

 

Thanks.
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
1,761 Views

do you need that at runtime or at compiletime?

0 Kudos
Altera_Forum
Honored Contributor II
1,761 Views

Compiletime. I'm able to set the Avalon signal widths through parameters, but I don't know how to achieve this with bits per symbol.

0 Kudos
Altera_Forum
Honored Contributor II
1,761 Views

you want to write some tcl code and give the value of some variable to the parameter. You also may want to read [1] and [2] for that purpose. 

 

[1] https://www.altera.com.cn/zh_cn/pdfs/literature/hb/qts/qsys_tcl.pdf 

[2] https://www.altera.com.cn/zh_cn/pdfs/literature/hb/qts/qsys_intro.pdf
0 Kudos
Reply