Closed rlindsberg closed 6 years ago
Do you have any idea? @gitgnmn
I got a similar problem actually. But my out values are U instead of 0. So I'm not even sure I'm using modelsim correct.
Personally I'm going to see if I can get the example code from the exercise to work in modelsim before I start to bug hunt. (tomorrow, not today)
In some of my simulating-runs I got also U, which I believe is undefined.
If only
Signal numCarry: std_logic;
Signal numSum: std_logic;
They would have the value U...
Sure. See you tomorrow!
I solved the bug! @gitgnmn
Right-click the file you want to bench -> Open.
Remember its entity name, in this case "full_adder".
Go to Assignments -> Settings -> General.
Click the "..." to the right of Top-level entity and select the entity from the second step.
RTL Simulation result:
Awesome! I still have to finish my test benches before I can test fully.
numSum is always 0 no matter what values numA, numB, numCin has. See screenshot.