07-26-2016 05:13 AM
I have a large block design consisting of some sub-designs. On many signals in the block design I've put 'mark debug' symbols, like this :
now, as I have many of them, all spread around the design (not this one, this is just a simple example), is there a way to remove all the debug marks at once?
I've tried a tcl command like this :
set_property mark_debug false [get_nets –hier [list {*}]]
but then Vivado says I have no (elaborated, synthesized or implemented design) open, which is indeed the case. So is there another way to remove the marks (without missing one) from the block design?
Or is there no need to do this, and can I just stop after synthesis, make sure they are not setup as debug signals, and generate a bitstream without an ILA in it?
08-25-2016 07:24 AM
Hi @ronnywebers,
You can make use of below commands for BD. If nothing is true you are good to go:
get_property HDL_ATTRIBUTE.MARK_DEBUG [get_bd_intf_nets *]
get_property HDL_ATTRIBUTE.MARK_DEBUG [get_bd_nets *]
After opening synthesized design you can use below command:
get_property mark_debug [get_nets -hierarchical -regexp -nocase -top_net_of_hierarchical_group ".*" ]
07-26-2016 05:26 AM
Hi @ronnywebers,
Can you please try
set_property HDL_ATTRIBUTE.MARK_DEBUG false [get_bd_nets *]
08-25-2016 07:02 AM
yes I tested this on a design, that works for me!
I also needed to use :
set_property HDL_ATTRIBUTE.MARK_DEBUG false [get_bd_intf_nets *]
to get rid of some debug marks on intf_nets
same is probably true for external interfaces?
guess there's no command to do this all at once?
Is there also a command to list all mark debugs? So I can verify wether they were really removed, instead of browsing the whole design tree?
08-25-2016 07:24 AM
Hi @ronnywebers,
You can make use of below commands for BD. If nothing is true you are good to go:
get_property HDL_ATTRIBUTE.MARK_DEBUG [get_bd_intf_nets *]
get_property HDL_ATTRIBUTE.MARK_DEBUG [get_bd_nets *]
After opening synthesized design you can use below command:
get_property mark_debug [get_nets -hierarchical -regexp -nocase -top_net_of_hierarchical_group ".*" ]