I switched the datatype of a port from an int
type to ap_uint<>
in HLS and was surprised to find that the port name changed from counter
to counter_V
. I could find no way to avoid this ugly Hungarian notation being added to my port name. Now when I need to refer to this port in Python it is count.register_map.counter_V
instead of count.register_map.counter
.
How do I tell Vivado HLS to leave my port names undecorated? It adding a “name” component to the HLS INTERFACE pragma did not help.