Modelsim 10.1d and UNDEFINED entities internal signals
Good morning all,
This is my first post in this forum, so i apologize in advance if the section is not completely correct.
I started recently wih FPGA design, and i am doing some homeworks from my university course in digital electronics. In particular, i am trying to test a circuit with some entities (flip flops, BCD converters, 7 segment display, ecc) with a test bench simulated with Modelsim 10.1d Starter Edition.
The problem is that i am not able to see the internal signals of my design. in particular, (see attached pic) i can watch the signals of the top TestBench entity, but not the signals in the inner entities (such as FFs) which appear "undefined" or U in the waveform view. How can i solve this? I already tried to modify the ".ini" file to set:
; Turn off optimization for IEEE std_logic_1164 package. Default is on.
Optimize_1164 = 0
Which i saw on the internet can be a problem. But nothing changed. Can you please give me some suggestions? Thanks in advance.
Hi,
Thanks for the project file.
Please initialize the all the I/os in test bench like below, then Add the internal signals like 'FF1' & 'FF2' in wave window & try to 'run simulation'.
please find the attachment for screenshot.
SIGNAL STOP : STD_LOGIC := '0'; SIGNAL EnDig1 : STD_LOGIC:= '0'; SIGNAL EnDig3 : STD_LOGIC:= '0'; SIGNAL START : STD_LOGIC:= '0'; SIGNAL LED : STD_LOGIC:= '0'; SIGNAL EnDig0 : STD_LOGIC:= '0'; SIGNAL Digits : STD_LOGIC_VECTOR(6 DOWNTO 0):= "0000000"; SIGNAL EnDig2 : STD_LOGIC := '0'; SIGNAL CLK : STD_LOGIC:= '0';Regards,
Vicky