OpenCores
no use no use 1/1 no use no use
uncertain value during the orpsoc simulation
by felix0305 on Oct 17, 2014
felix0305
Posts: 5
Joined: Jul 12, 2013
Last seen: Nov 5, 2014
I use modelsim 10.1a to simulate the orpsoc system. During the simulation, i found that the value of some signals will be uncertainty. For example, the signal "lsu_dataout" in module or1200_lsu will be "000xx0000x00000000000000xxxxxxxx" at 640ns.
I want to know how it happens, and where the uncertain value comes from.
RE: uncertain value during the orpsoc simulation
by rozpruwacz on Oct 17, 2014
rozpruwacz
Posts: 25
Joined: Feb 28, 2009
Last seen: Apr 4, 2021
to do that, You have to check which logic block drives this signal. Then check all the inputs to this block to find which one has undefined values. Then do it again for this input signal. This way You will find the chain of blocks that propagate the undefined value. At the begening of this chan You should find some driver signal from the testbench or maybe a register that wasn't reset at the begining of the simulation.
RE: uncertain value during the orpsoc simulation
by wallento on Oct 17, 2014
wallento
Posts: 28
Joined: Jan 24, 2009
Last seen: Nov 8, 2018
Hi,

in fact that is nothing bad. It becomes a bug if this data is important in this cycle. In other cases it is just undefined. It can then be used for optimization ("don't care", remember).

So, is your question just for curiosity or do you think there is a bug?

See you,
Stefan
RE: uncertain value during the orpsoc simulation
by felix0305 on Oct 17, 2014
felix0305
Posts: 5
Joined: Jul 12, 2013
Last seen: Nov 5, 2014
Hi,

in fact that is nothing bad. It becomes a bug if this data is important in this cycle. In other cases it is just undefined. It can then be used for optimization ("don't care", remember).

So, is your question just for curiosity or do you think there is a bug?

See you,
Stefan


Thanks Stefan. I need the value of the signal to be definite, just 0 or 1, during the simulation. So, I want to trace back the uncertainty signal, then find the source of "X". Then, initial the source signal to be definite. Thus, my question is what is the source: dpram/spram/fifo or other modules �(���)�
no use no use 1/1 no use no use
© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.