Vivado Simulator 2015.3
Copyright 1986-1999, 2001-2015 Xilinx, Inc. All Rights Reserved.
Running: E:/Xilinx/Vivado/2015.3/bin/unwrapped/win64.o/xelab.exe -wto b025135b906741e6a779a306912a6b47 --debug typical --relax --mt 2 -L xil_defaultlib -L unisims_ver -L unimacro_ver -L secureip --snapshot fib_test_behav xil_defaultlib.fib_test xil_defaultlib.glbl -log elaborate.log
Using 2 slave threads.
Starting static elaboration
Completed static elaboration
Starting simulation data flow analysis
WARNING: [XSIM 43-4100] "H:/gist/msgpack-vhdl-examples/examples/fibonacci/sim/vivado/synverll/fib_test/fib_test.sim/sim_1/behav/glbl.v" Line 6. Module glbl has a timescale but at least one module in design doesn't have timescale.
WARNING: [XSIM 43-4100] "H:/gist/msgpack-vhdl-examples/examples/fibonacci/sim/vivado/synverll/fib_test/fib_test.sim/sim_1/behav/glbl.v" Line 6. Module glbl has a timescale but at least one module in design doesn't have timescale.
Completed simulation data flow analysis
Time Resolution for simulation is 1ps
Compiling module xil_defaultlib.fib
Compiling module xil_defaultlib.fib_test
Compiling module xil_defaultlib.glbl
Built simulation snapshot fib_test_behav
Vivado Simulator 2015.3
Time resolution is 1 ps
run all
fib_return = 0 expected but x found.
fib_done is timeout.
fib_done is timeout.
fib_done is timeout.
fib_done is timeout.
fib_done is timeout.
fib_done is timeout.
not return fib_done when (n > 0) and return 'x' when (n==0)
I wrote fib.c
and I wrote fib_test.c(test program for fib.c)
compile and execute.
generate fib.v from fib.c use synverll
generated fib.v
I wrote fib_test.v (test_bench for fib.v)
simulation on Xilinx Vivado 2015.3
not return fib_done when (n > 0) and return 'x' when (n==0)
Do I make a mistake in anything?