Skip to content

SpinalTag Question #1255

Discussion options

You must be logged in to vote

A tag has no inherent method of finding the signal/component it's on (you could add the same tag instance on multiple components if you wanted to). If you need that then you have to pass the signal/component to the tag at some point (or have the tag search itself...).

SpinalHDL uses Tags just as a marker/carrier of some additionally needed information. The logic itself is implemented by having a pass (could also be some rework step) that uses the tags as information on what to do. The tag itself is only carrier the additional information needed.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@openpowerwtf
Comment options

Answer selected by openpowerwtf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants