Anyway, I would expect a value passed into an entity to take the value passed in and over ride the default value in the generic declaration. Is that what will happen? I will have at least two levels of this. If the top level gets a different valuepassed into it during simulation or in synthesis, will the value passed in take precedence?
On 2020-09-13 21:05, Rick C wrote:passed into it during simulation or in synthesis, will the value passed in take precedence?
[...]
Anyway, I would expect a value passed into an entity to take the value passed in and over ride the default value in the generic declaration. Is that what will happen? I will have at least two levels of this. If the top level gets a different value
The answer is pretty short and straightforward : yes.
I've been using this method for years without any problem.
Nicolas
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 286 |
Nodes: | 16 (2 / 14) |
Uptime: | 83:05:11 |
Calls: | 6,495 |
Calls today: | 6 |
Files: | 12,096 |
Messages: | 5,276,825 |