Skip to content

dynamic assignment #209

Answered by amykyta3
SikoVerilog asked this question in Q&A
Apr 8, 2024 · 2 comments · 8 replies
Discussion options

You must be logged in to vote

Please see the link I shared as that documents how to query the details of the reference object.
For example:

value = fld.get_property("swwe")
if isinstance(value, FieldNode):
    print(value.get_path())
    print(value.inst_name)
    print(value.get_property("hw"))
    # ... etc

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
7 replies
@SikoVerilog
Comment options

@amykyta3
Comment options

@SikoVerilog
Comment options

@amykyta3
Comment options

Answer selected by SikoVerilog
@SikoVerilog
Comment options

@SikoVerilog
Comment options

Comment options

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

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