Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
VHDL
Can anyone think of a workaround - Ideally I want to pass an accesstype into an entity (not for synt
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Jonathan Bromley, post: 4201046"] In the past when I've needed to do this kind of thing, one approach has been to create a package with a pool of objects (shared variables) in it, and then have entity instances register themselves with the package by calling appropriate functions in it. An instance can supply its own instance name to such a call as a string including 'PATH_NAME, allowing the package to work out which instance placed the call. It's a bit upside-down and clumsy, but can sometimes provide the kind of functional communication you seem to be wanting. You likely need some sort of side-channel into the instances, in the form of a regular port of boolean or some enumerated type, to allow you to signal interesting events from one instance to another; the instances can then use the package pool as a shared communication medium, and the idea of each instance registering itself with the package by means of its string instance name stops things being outrageously global. It's a while since I did any of this, so the details are a bit sketchy in my mind. But it looks as though I may soon be needing to dust off these tricks once again... [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
VHDL
Can anyone think of a workaround - Ideally I want to pass an accesstype into an entity (not for synt
Top