- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Hi,
I need some hint on this issue.. I have a building block (call it A)..I use this block several times with different parameters (x,y,z)..On my top level design, I am using schematic entry...This parameter (x) is also used in another block (call it B)....Now I am wondering is there a way I can define this parameters (x) to be a global one that applied to both A&B?.. Thanks E p.s. PARAM primitives....I was trying to use it..but no luck...any one has some experience?コピーされたリンク
4 返答(返信)
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
I figured it out..never mind guys..
--- Quote Start --- Hi, I need some hint on this issue.. I have a building block (call it A)..I use this block several times with different parameters (x,y,z)..On my top level design, I am using schematic entry...This parameter (x) is also used in another block (call it B)....Now I am wondering is there a way I can define this parameters (x) to be a global one that applied to both A&B?.. Thanks E p.s. PARAM primitives....I was trying to use it..but no luck...any one has some experience? --- Quote End ---- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
There are two ways..
1). In Assignments->Settings-> Under "Anaylsis & Synthesis Settings", there's a "Default Parameters". Click on that, then you can enter the parameter name and default setting. In my case, I can add "x" and a default value of "63" for example. This default value will be used everywhere parameter named "x" is used, providing that no other value is assigned to it at a specific block. 2). The draw back for 1) is it's not visualizable on the top level schematic entry design file. It would be tricky for other people to see where "x" takes its value...The second way is that on the top level schematic entry design file, for each block used parameter "x", assigned a value "x_value" to "x". x_value should be defined to have the proper type (integer or binary etc)..Then add PARAM primitives and define "x_value" and assign a specifc value for example "63". --- Quote Start --- Care to share how it is done? --- Quote End ---- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Thank you for the explanation - I always wondered if that was possible.
