I have a piece of FPGA code written in LabVIEW that I'm trying to simulate in ModelSim. I followed the instructions provided in this link, but the example is a simple incrementer with no internal signals (only the input and output).
I created a testbench and succesfully started the simulation, but the provided .do macro only adds the inputs and outputs to the wave window. ModelSIM lists pages and pages of processes and signals that can be added to the waveform window; all have completely opaque names. I found something called "TheWindow", and then a subdirectory called "TheVI", and added all those signals to the waveform window. The names are things like ResHolder00000000000001 and provide no information on where they came from.
I tried assigning labels to the wires of my LabVIEW block diagram, but that didn't help at all in creating useful names. I need to check the progression of states in my VI but can't find anything that seems to resemble the appropriate signal. Many of the waveforms available under "TheVI" are static waveforms, uninitialized, or both. How can I assign useful names for internal signals so that the waveforms are actually intelligible?
On a side note, this is also a problem in the synthesizer. I am used to using synthesizer output to "pre-debug" my code, but LabVIEW seems to skip the whole macro inference process. I tried putting a SCTL with an incrementer, and LabVIEW didn't infer a counter. I have never seen one of my state machines recognized in the synthesizer even though the code works properly.
Using ModelSim PE 10.3, which I understand is not "officially supported", but the fact that the synthesizer and the simulator have the same naming problem makes me want to eliminate this as a problem. I'm not using any of the PE extensions over the SE version.