vivo_m
Member level 3
- Joined
- May 15, 2011
- Messages
- 54
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,286
- Activity points
- 1,903
hello everybody,
i'm trying to simulate my vhdl file using modelsim but actually it is taking the input value in hex format..
i.e at the wave window, when i right click my input port and choose force, "32'hXXXXXXXX" is wrote in the value field..
i don't know what to do to make it "uuuuu..." and accept binary value..
any idea how can i overcome this plzzzz
beside that i'm getting this warning when start simulation
"
# Loading work.testing_sim(behavioral)
# ** Warning: Design size of 18505 statements or 1 leaf instances exceeds ModelSim PE Student Edition recommended capacity.
# Expect performance to be quite adversely affected.
"
after forcing the input signals to its proper value.. i got this warning
"
# ** Failure: ARG is too large in CONV_INTEGER
# Time: 100 ns Iteration: 0 Process: /testing_sim/line__49 File: E:/vhdl_Code/testing_sim.vhd
# ** Warning: There is an 'U'|'X'|'W'|'Z'|'-' in an arithmetic operand, the result will be 'X'(es).
# Time: 100 ns Iteration: 0 Instance: /testing_sim
# ** Warning: CONV_INTEGER: There is an 'U'|'X'|'W'|'Z'|'-' in an arithmetic operand, and it has been converted to 0.
# Time: 100 ns Iteration: 0 Instance: /testing_sim
"
and simulation stops at a line that i'm dividing 2 variables, each of size (32*2) std_logic_vector, i'm converting them into integer value using conv_integer() function to apply division operation
i tried to make them 32 only but i got this error
"
# ** Fatal: (vsim-3977) Integer divide by zero.
# Time: 100 ns Iteration: 0 Process: /testing_sim/line__49 File: E:/vhdl_Code/testing_sim.vhd
# Fatal error in Process line__49 at E:/vhdl_Code/testing_sim.vhd line 86
#
"
although i'ven't set any of the values to zero..
i'm using Modelsim PE 10.2
any help plzzzz.....
thanks...
i'm trying to simulate my vhdl file using modelsim but actually it is taking the input value in hex format..
i.e at the wave window, when i right click my input port and choose force, "32'hXXXXXXXX" is wrote in the value field..
i don't know what to do to make it "uuuuu..." and accept binary value..
any idea how can i overcome this plzzzz
beside that i'm getting this warning when start simulation
"
# Loading work.testing_sim(behavioral)
# ** Warning: Design size of 18505 statements or 1 leaf instances exceeds ModelSim PE Student Edition recommended capacity.
# Expect performance to be quite adversely affected.
"
after forcing the input signals to its proper value.. i got this warning
"
# ** Failure: ARG is too large in CONV_INTEGER
# Time: 100 ns Iteration: 0 Process: /testing_sim/line__49 File: E:/vhdl_Code/testing_sim.vhd
# ** Warning: There is an 'U'|'X'|'W'|'Z'|'-' in an arithmetic operand, the result will be 'X'(es).
# Time: 100 ns Iteration: 0 Instance: /testing_sim
# ** Warning: CONV_INTEGER: There is an 'U'|'X'|'W'|'Z'|'-' in an arithmetic operand, and it has been converted to 0.
# Time: 100 ns Iteration: 0 Instance: /testing_sim
"
and simulation stops at a line that i'm dividing 2 variables, each of size (32*2) std_logic_vector, i'm converting them into integer value using conv_integer() function to apply division operation
i tried to make them 32 only but i got this error
"
# ** Fatal: (vsim-3977) Integer divide by zero.
# Time: 100 ns Iteration: 0 Process: /testing_sim/line__49 File: E:/vhdl_Code/testing_sim.vhd
# Fatal error in Process line__49 at E:/vhdl_Code/testing_sim.vhd line 86
#
"
although i'ven't set any of the values to zero..
i'm using Modelsim PE 10.2
any help plzzzz.....
thanks...
Last edited: