- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
do you need that at runtime or at compiletime?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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