Created
January 11, 2015 20:10
-
-
Save jeremyherbert/84c10a4af766c4d6c9a5 to your computer and use it in GitHub Desktop.
Make run for cocotb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ make | |
make -k -C examples | |
make[1]: Entering directory `/home/jeremy/cocotb/examples' | |
make[2]: Entering directory `/home/jeremy/cocotb/examples/plusargs' | |
make results.xml | |
make[3]: Entering directory `/home/jeremy/cocotb/examples/plusargs' | |
mkdir -p sim_build | |
iverilog -o sim_build/sim.vvp -D COCOTB_SIM=1 /home/jeremy/cocotb/examples/plusargs/tb_top.v | |
mkdir -p /home/jeremy/cocotb/build/obj/x86_64 | |
mkdir -p /home/jeremy/cocotb/build/libs/x86_64 | |
make -C /home/jeremy/cocotb/lib/utils | |
make[4]: Entering directory `/home/jeremy/cocotb/lib/utils' | |
gcc -Werror -Wcast-qual -Wcast-align -Wwrite-strings -Wall -Wno-unused-parameter -fno-common -g -DDEBUG -fpic -Wstrict-prototypes -Waggregate-return -c -I/home/jeremy/cocotb/include -I/usr/include/python3.4m -o /home/jeremy/cocotb/build/obj/x86_64/cocotb_utils.o cocotb_utils.c | |
gcc -Werror -Wcast-qual -Wcast-align -Wwrite-strings -Wall -Wno-unused-parameter -fno-common -g -DDEBUG -fpic -Wstrict-prototypes -Waggregate-return -shared -Xlinker -L/usr/lib -o /home/jeremy/cocotb/build/libs/x86_64/libcocotbutils.so /home/jeremy/cocotb/build/obj/x86_64/cocotb_utils.o | |
make[4]: Leaving directory `/home/jeremy/cocotb/lib/utils' | |
make -C /home/jeremy/cocotb/lib/gpi_log | |
make[4]: Entering directory `/home/jeremy/cocotb/lib/gpi_log' | |
gcc -Werror -Wcast-qual -Wcast-align -Wwrite-strings -Wall -Wno-unused-parameter -fno-common -g -DDEBUG -fpic -Wstrict-prototypes -Waggregate-return -DFILTER -c -I/home/jeremy/cocotb/include -I/usr/include/python3.4m -o /home/jeremy/cocotb/build/obj/x86_64/gpi_logging.o gpi_logging.c | |
gcc -Werror -Wcast-qual -Wcast-align -Wwrite-strings -Wall -Wno-unused-parameter -fno-common -g -DDEBUG -fpic -Wstrict-prototypes -Waggregate-return -DFILTER -shared -Xlinker -L/usr/lib -o /home/jeremy/cocotb/build/libs/x86_64/libgpilog.so /home/jeremy/cocotb/build/obj/x86_64/gpi_logging.o -lpthread -ldl -lutil -lm -lpython3.4m | |
make[4]: Leaving directory `/home/jeremy/cocotb/lib/gpi_log' | |
make -C /home/jeremy/cocotb/lib/embed | |
make[4]: Entering directory `/home/jeremy/cocotb/lib/embed' | |
gcc -Werror -Wcast-qual -Wcast-align -Wwrite-strings -Wall -Wno-unused-parameter -fno-common -g -DDEBUG -fpic -Wstrict-prototypes -Waggregate-return -DPYTHON_SO_LIB=libpython3.4.so -c -I/home/jeremy/cocotb/include -I/usr/include/python3.4m -o /home/jeremy/cocotb/build/obj/x86_64/gpi_embed.o gpi_embed.c | |
gcc -Werror -Wcast-qual -Wcast-align -Wwrite-strings -Wall -Wno-unused-parameter -fno-common -g -DDEBUG -fpic -Wstrict-prototypes -Waggregate-return -DPYTHON_SO_LIB=libpython3.4.so -shared -Xlinker -L/usr/lib -o /home/jeremy/cocotb/build/libs/x86_64/libcocotb.so /home/jeremy/cocotb/build/obj/x86_64/gpi_embed.o -lpthread -ldl -lutil -lm -lpython3.4m -lgpilog -lcocotbutils -L/home/jeremy/cocotb/build/libs/x86_64 | |
make[4]: Leaving directory `/home/jeremy/cocotb/lib/embed' | |
make -C /home/jeremy/cocotb/lib/gpi EXTRA_LIBS= EXTRA_LIBDIRS= | |
make[4]: Entering directory `/home/jeremy/cocotb/lib/gpi' | |
g++ -Werror -Wcast-qual -Wcast-align -Wwrite-strings -Wall -Wno-unused-parameter -fno-common -g -DDEBUG -fpic -DVPI_CHECKING -DLIB_EXT=so -c -I/home/jeremy/cocotb/include -I/usr/include/python3.4m -o /home/jeremy/cocotb/build/obj/x86_64/GpiCbHdl.o GpiCbHdl.cpp | |
g++ -Werror -Wcast-qual -Wcast-align -Wwrite-strings -Wall -Wno-unused-parameter -fno-common -g -DDEBUG -fpic -DVPI_CHECKING -DLIB_EXT=so -c -I/home/jeremy/cocotb/include -I/usr/include/python3.4m -o /home/jeremy/cocotb/build/obj/x86_64/GpiCommon.o GpiCommon.cpp | |
gcc -Werror -Wcast-qual -Wcast-align -Wwrite-strings -Wall -Wno-unused-parameter -fno-common -g -DDEBUG -fpic -DVPI_CHECKING -DLIB_EXT=so -Wstrict-prototypes -Waggregate-return -shared -Xlinker -L/usr/lib -o /home/jeremy/cocotb/build/libs/x86_64/libgpi.so /home/jeremy/cocotb/build/obj/x86_64/GpiCbHdl.o /home/jeremy/cocotb/build/obj/x86_64/GpiCommon.o -lcocotbutils -lgpilog -lcocotb -lstdc++ -L/home/jeremy/cocotb/build/libs/x86_64 | |
make[4]: Leaving directory `/home/jeremy/cocotb/lib/gpi' | |
make -C /home/jeremy/cocotb/lib/simulator | |
make[4]: Entering directory `/home/jeremy/cocotb/lib/simulator' | |
gcc -Werror -Wcast-qual -Wcast-align -Wwrite-strings -Wall -Wno-unused-parameter -fno-common -g -DDEBUG -fpic -Wstrict-prototypes -Waggregate-return -c -I/home/jeremy/cocotb/include -I/usr/include/python3.4m -o /home/jeremy/cocotb/build/obj/x86_64/simulatormodule.o simulatormodule.c | |
gcc -Werror -Wcast-qual -Wcast-align -Wwrite-strings -Wall -Wno-unused-parameter -fno-common -g -DDEBUG -fpic -Wstrict-prototypes -Waggregate-return -shared -Xlinker -L/usr/lib -o /home/jeremy/cocotb/build/libs/x86_64/libsim.so /home/jeremy/cocotb/build/obj/x86_64/simulatormodule.o -lgpi -lgpilog -lpthread -ldl -lutil -lm -lpython3.4m -L/home/jeremy/cocotb/build/libs/x86_64 | |
ln -sf libsim.so /home/jeremy/cocotb/build/libs/x86_64/simulator.so | |
make[4]: Leaving directory `/home/jeremy/cocotb/lib/simulator' | |
make -C /home/jeremy/cocotb/lib/vpi EXTRA_LIBS= EXTRA_LIBDIRS= | |
make[4]: Entering directory `/home/jeremy/cocotb/lib/vpi' | |
g++ -Werror -Wcast-qual -Wcast-align -Wwrite-strings -Wall -Wno-unused-parameter -fno-common -g -DDEBUG -fpic -DVPI_CHECKING -c -I/home/jeremy/cocotb/include -I/usr/include/python3.4m -o /home/jeremy/cocotb/build/obj/x86_64/VpiImpl.o VpiImpl.cpp | |
g++ -Werror -Wcast-qual -Wcast-align -Wwrite-strings -Wall -Wno-unused-parameter -fno-common -g -DDEBUG -fpic -DVPI_CHECKING -c -I/home/jeremy/cocotb/include -I/usr/include/python3.4m -o /home/jeremy/cocotb/build/obj/x86_64/VpiCbHdl.o VpiCbHdl.cpp | |
gcc -Werror -Wcast-qual -Wcast-align -Wwrite-strings -Wall -Wno-unused-parameter -fno-common -g -DDEBUG -fpic -DVPI_CHECKING -Wstrict-prototypes -Waggregate-return -shared -Xlinker -L/usr/lib -o /home/jeremy/cocotb/build/libs/x86_64/libvpi.so /home/jeremy/cocotb/build/obj/x86_64/VpiImpl.o /home/jeremy/cocotb/build/obj/x86_64/VpiCbHdl.o -lgpilog -lgpi -lstdc++ -L/home/jeremy/cocotb/build/libs/x86_64 | |
ln -sf libvpi.so /home/jeremy/cocotb/build/libs/x86_64/gpivpi.vpl | |
ln -sf libvpi.so /home/jeremy/cocotb/build/libs/x86_64/cocotb.vpi | |
make[4]: Leaving directory `/home/jeremy/cocotb/lib/vpi' | |
PYTHONPATH=/home/jeremy/cocotb/build/libs/x86_64:/home/jeremy/cocotb:/home/jeremy/cocotb/examples/plusargs: LD_LIBRARY_PATH=/home/jeremy/cocotb/build/libs/x86_64:/usr/lib/python3.4/config-3.4m-x86_64-linux-gnu:/usr/lib:/usr/local/lib:/usr/local/bin/python MODULE=plusargs \ | |
TESTCASE= TOPLEVEL=tb_top \ | |
vvp -M /home/jeremy/cocotb/build/libs/x86_64 -m gpivpi sim_build/sim.vvp +foo=bar +test1 +test2 +options=fubar | |
-.--ns INFO cocotb.gpi GpiCommon.cpp:47 in gpi_print_registered_impl VPI registered | |
0.00ns INFO cocotb.gpi gpi_embed.c:210 in embed_sim_init Running on Icarus Verilog version 0.9.7 | |
0.00ns INFO cocotb.gpi gpi_embed.c:211 in embed_sim_init Python interpreter initialised and cocotb loaded! | |
You should really set TOPLEVEL_LANG to "verilog/vhdl" 0.00ns INFO cocotb.gpi __init__.py:96 in _initialise_testbench Seeding Python random module with 1421006961 | |
0.00ns INFO cocotb.gpi __init__.py:110 in _initialise_testbench Running tests with Cocotb v0.5a from /home/jeremy/cocotb | |
Traceback (most recent call last): | |
File "/home/jeremy/cocotb/cocotb/__init__.py", line 128, in _initialise_testbench | |
regression.initialise() | |
File "/home/jeremy/cocotb/cocotb/regression.py", line 106, in initialise | |
module = _my_import(module_name) | |
File "/home/jeremy/cocotb/cocotb/regression.py", line 60, in _my_import | |
mod = __import__(name) | |
File "/home/jeremy/cocotb/examples/plusargs/plusargs.py", line 45 | |
print "COCOTB:", name, cocotb.plusargs[name] | |
^ | |
SyntaxError: invalid syntax | |
Call failed | |
make[3]: Leaving directory `/home/jeremy/cocotb/examples/plusargs' | |
make[2]: Leaving directory `/home/jeremy/cocotb/examples/plusargs' | |
make[2]: Entering directory `/home/jeremy/cocotb/examples/sim_exit/tests' | |
make results.xml | |
make[3]: Entering directory `/home/jeremy/cocotb/examples/sim_exit/tests' | |
mkdir -p sim_build | |
iverilog -o sim_build/sim.vvp -D COCOTB_SIM=1 /home/jeremy/cocotb/examples/sim_exit/tests/../hdl/close_module.v | |
PYTHONPATH=/home/jeremy/cocotb/build/libs/x86_64:/home/jeremy/cocotb:/home/jeremy/cocotb/examples/sim_exit/tests: LD_LIBRARY_PATH=/home/jeremy/cocotb/build/libs/x86_64:/usr/lib/python3.4/config-3.4m-x86_64-linux-gnu:/usr/lib:/usr/local/lib:/usr/local/bin/python MODULE=test_closedown \ | |
TESTCASE= TOPLEVEL=close_module \ | |
vvp -M /home/jeremy/cocotb/build/libs/x86_64 -m gpivpi sim_build/sim.vvp | |
-.--ns INFO cocotb.gpi GpiCommon.cpp:47 in gpi_print_registered_impl VPI registered | |
0.00ns INFO cocotb.gpi gpi_embed.c:210 in embed_sim_init Running on Icarus Verilog version 0.9.7 | |
0.00ns INFO cocotb.gpi gpi_embed.c:211 in embed_sim_init Python interpreter initialised and cocotb loaded! | |
You should really set TOPLEVEL_LANG to "verilog/vhdl" 0.00ns INFO cocotb.gpi __init__.py:96 in _initialise_testbench Seeding Python random module with 1421006962 | |
0.00ns INFO cocotb.gpi __init__.py:110 in _initialise_testbench Running tests with Cocotb v0.5a from /home/jeremy/cocotb | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_closedown.test_failure_from_system_task | |
0.00ns INFO cocotb.regression regression.py:229 in execute Running test 1/1: test_failure_from_system_task | |
0.00ns INFO ..e_from_system_task.0x2b4efec12438 decorators.py:179 in send Starting test: "test_failure_from_system_task" | |
Description: Allow the dut to call $fail_test() from verilog | |
VCD info: dumpfile waveform.vcd opened for output. | |
0.01ns INFO cocotb.gpi close_module.v:58 in *** NO MESSAGE PROVIDED *** | |
0.02ns INFO cocotb.gpi close_module.v:59 in This is an info message | |
0.03ns WARNING cocotb.gpi close_module.v:60 in *** NO MESSAGE PROVIDED *** | |
0.04ns WARNING cocotb.gpi close_module.v:61 in This is a warning message | |
0.05ns ERROR cocotb.gpi close_module.v:62 in *** NO MESSAGE PROVIDED *** | |
0.06ns ERROR cocotb.gpi close_module.v:63 in This is an error message | |
1.06ns CRITICAL cocotb.gpi close_module.v:64 in This is a a fatal message that fails the test | |
1.06ns ERROR cocotb.scheduler __init__.py:142 in _sim_event Failing test at simulator request | |
10000.00ns ERROR cocotb.scheduler __init__.py:146 in _sim_event Failing test at simulator request before test run completion: Simulator shutdown prematurely | |
10000.00ns ERROR cocotb.regression regression.py:208 in handle_result Test error has lead to simulator shuttting us down | |
10000.00ns ERROR cocotb.regression regression.py:149 in tear_down Failed 1 out of 1 tests (0 skipped) | |
10000.00ns INFO cocotb.regression regression.py:158 in tear_down Shutting down... | |
make[3]: Leaving directory `/home/jeremy/cocotb/examples/sim_exit/tests' | |
make[2]: Leaving directory `/home/jeremy/cocotb/examples/sim_exit/tests' | |
make[2]: Entering directory `/home/jeremy/cocotb/examples/functionality/tests' | |
make results.xml | |
make[3]: Entering directory `/home/jeremy/cocotb/examples/functionality/tests' | |
mkdir -p sim_build | |
iverilog -o sim_build/sim.vvp -D COCOTB_SIM=1 /home/jeremy/cocotb/examples/functionality/tests/../hdl/sample_module.v | |
PYTHONPATH=/home/jeremy/cocotb/build/libs/x86_64:/home/jeremy/cocotb:/home/jeremy/cocotb/examples/functionality/tests: LD_LIBRARY_PATH=/home/jeremy/cocotb/build/libs/x86_64:/usr/lib/python3.4/config-3.4m-x86_64-linux-gnu:/usr/lib:/usr/local/lib:/usr/local/bin/python MODULE=test_cocotb,test_discovery,test_external,test_regression \ | |
TESTCASE= TOPLEVEL=sample_module \ | |
vvp -M /home/jeremy/cocotb/build/libs/x86_64 -m gpivpi sim_build/sim.vvp | |
-.--ns INFO cocotb.gpi GpiCommon.cpp:47 in gpi_print_registered_impl VPI registered | |
0.00ns INFO cocotb.gpi gpi_embed.c:210 in embed_sim_init Running on Icarus Verilog version 0.9.7 | |
0.00ns INFO cocotb.gpi gpi_embed.c:211 in embed_sim_init Python interpreter initialised and cocotb loaded! | |
0.00ns INFO cocotb.gpi __init__.py:96 in _initialise_testbench Seeding Python random module with 1421006962 | |
0.00ns INFO cocotb.gpi __init__.py:110 in _initialise_testbench Running tests with Cocotb v0.5a from /home/jeremy/cocotb | |
0.00ns WARNING cocotb.sample_module test_cocotb.py:49 in test_not_a_coroutine This test will fail because we don't yield anything | |
0.00ns ERROR cocotb.coroutine.fail decorators.py:97 in __init__ test_not_a_coroutine isn't a value coroutine! Did you use the yield keyword? | |
0.00ns ERROR ..st_not_a_coroutine.0x2b452c75a4e0 result.py:44 in raise_error | |
File "/home/jeremy/cocotb/cocotb/decorators.py", line 342, in _wrapped_test | |
return RunningTest(self._func(*args, **kwargs), self) | |
File "/home/jeremy/cocotb/cocotb/decorators.py", line 166, in __init__ | |
RunningCoroutine.__init__(self, inst, parent) | |
File "/home/jeremy/cocotb/cocotb/decorators.py", line 98, in __init__ | |
raise CoroutineComplete(callback=self._finished_cb) | |
0.00ns WARNING cocotb.regression regression.py:127 in initialise Failed to initialise test test_not_a_coroutine | |
0.00ns INFO cocotb.regression regression.py:130 in initialise Skipping test test_not_a_coroutine | |
0.00ns ERROR cocotb.coroutine.fail decorators.py:97 in __init__ test_duplicate_yield isn't a value coroutine! Did you use the yield keyword? | |
0.00ns ERROR ..st_duplicate_yield.0x2b452c75f940 result.py:44 in raise_error | |
File "/home/jeremy/cocotb/cocotb/decorators.py", line 342, in _wrapped_test | |
return RunningTest(self._func(*args, **kwargs), self) | |
File "/home/jeremy/cocotb/cocotb/decorators.py", line 166, in __init__ | |
RunningCoroutine.__init__(self, inst, parent) | |
File "/home/jeremy/cocotb/cocotb/decorators.py", line 98, in __init__ | |
raise CoroutineComplete(callback=self._finished_cb) | |
0.00ns WARNING cocotb.regression regression.py:127 in initialise Failed to initialise test test_duplicate_yield | |
0.00ns INFO cocotb.regression regression.py:130 in initialise Skipping test test_duplicate_yield | |
0.00ns INFO cocotb.regression regression.py:130 in initialise Skipping test skip_a_test | |
0.00ns INFO cocotb.regression regression.py:130 in initialise Skipping test test_callable_fail | |
0.00ns INFO cocotb.regression regression.py:130 in initialise Skipping test ztest_ext_exit_error | |
0.00ns INFO cocotb.regression regression.py:130 in initialise Skipping test test_callable | |
0.00ns INFO cocotb.regression regression.py:130 in initialise Skipping test issue_142_overflow_error | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_cocotb.test_adding_a_coroutine_without_starting | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_cocotb.test_afterdelay_in_readonly | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_cocotb.test_afterdelay_in_readonly_valid | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_cocotb.test_anternal_clock | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_cocotb.test_coroutine_close_down | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_cocotb.test_coroutine_kill | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_cocotb.test_coroutine_syntax_error | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_cocotb.test_edge_count | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_cocotb.test_either_edge | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_cocotb.test_falling_edge | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_cocotb.test_fork_and_monitor | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_cocotb.test_fork_syntax_error | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_cocotb.test_function_not_a_coroutine | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_cocotb.test_function_not_a_coroutine_fork | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_cocotb.test_function_not_decorated | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_cocotb.test_function_reentrant_clock | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_cocotb.test_readwrite_in_readonly | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_cocotb.test_rising_edge | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_cocotb.test_syntax_error | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_cocotb.test_yield_list | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_discovery.access_signal | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_discovery.access_single_bit | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_discovery.access_single_bit_assignment | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_discovery.access_single_bit_erroneous | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_discovery.discover_module_values | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_discovery.discover_value_not_in_dut | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_external.test_ext_call_nreturn | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_external.test_ext_call_return | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_external.test_external_from_readonly | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_external.test_multiple_externals | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_regression.issue_120_scheduling | |
0.00ns INFO cocotb.regression regression.py:229 in execute Running test 1/31: test_adding_a_coroutine_without_starting | |
0.00ns INFO ..e_without_starting.0x2b452c76c240 decorators.py:179 in send Starting test: "test_adding_a_coroutine_without_starting" | |
Description: Catch (and provide useful error) for attempts to fork coroutines incorrectly | |
VCD info: dumpfile waveform.vcd opened for output. | |
0.10ns CRITICAL cocotb.scheduler scheduler.py:409 in add Attempt to schedule a coroutine that hasn't started | |
0.10ns ERROR ..function.clock_gen.0x2b452c75f4e0 scheduler.py:410 in add This is the failing coroutine | |
0.10ns WARNING cocotb.scheduler scheduler.py:412 in add Did you forget to add parentheses to the @test decorator? | |
0.10ns INFO cocotb.regression regression.py:201 in handle_result Test errored as expected: test_adding_a_coroutine_without_starting (result was TestError) | |
0.10ns INFO cocotb.regression regression.py:229 in execute Running test 2/31: test_afterdelay_in_readonly | |
0.10ns INFO ..rdelay_in_readonly.0x2b452c78c978 decorators.py:179 in send Starting test: "test_afterdelay_in_readonly" | |
Description: Test doing invalid sim operation | |
1.10ns ERROR cocotb.scheduler __init__.py:146 in _sim_event Failing test at simulator request before test run completion: Simulator shutdown prematurely | |
1.10ns INFO cocotb.regression regression.py:206 in handle_result Test errored as expected: test_afterdelay_in_readonly (result was SimFailure) | |
1.10ns INFO cocotb.regression regression.py:229 in execute Running test 3/31: test_afterdelay_in_readonly_valid | |
make[3]: Leaving directory `/home/jeremy/cocotb/examples/functionality/tests' | |
make[2]: Leaving directory `/home/jeremy/cocotb/examples/functionality/tests' | |
make[2]: Entering directory `/home/jeremy/cocotb/examples/endian_swapper/tests' | |
make results.xml | |
make[3]: Entering directory `/home/jeremy/cocotb/examples/endian_swapper/tests' | |
mkdir -p sim_build | |
cd ../cosim && make | |
make[4]: Entering directory `/home/jeremy/cocotb/examples/endian_swapper/cosim' | |
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 \ | |
-fexceptions --param=ssp-buffer-size=4 -mtune=generic -D_GNU_SOURCE -fPIC \ | |
-fwrapv -DNDEBUG -I/usr/include/python3.4m -c io.c -o io_module.o | |
io.c: In function ‘IORD’: | |
io.c:77:5: warning: implicit declaration of function ‘PyInt_FromLong’ [-Wimplicit-function-declaration] | |
PyTuple_SetItem(call_args, 0, PyInt_FromLong(base + address)); | |
^ | |
io.c:77:5: warning: passing argument 3 of ‘PyTuple_SetItem’ makes pointer from integer without a cast [enabled by default] | |
In file included from /usr/include/python3.4m/Python.h:85:0, | |
from io.c:36: | |
/usr/include/python3.4m/tupleobject.h:46:17: note: expected ‘struct PyObject *’ but argument is of type ‘int’ | |
PyAPI_FUNC(int) PyTuple_SetItem(PyObject *, Py_ssize_t, PyObject *); | |
^ | |
io.c:80:5: warning: implicit declaration of function ‘PyInt_AsLong’ [-Wimplicit-function-declaration] | |
value = PyInt_AsLong(rv); | |
^ | |
io.c: In function ‘IOWR’: | |
io.c:102:5: warning: passing argument 3 of ‘PyTuple_SetItem’ makes pointer from integer without a cast [enabled by default] | |
PyTuple_SetItem(call_args, 0, PyInt_FromLong(base + address)); | |
^ | |
In file included from /usr/include/python3.4m/Python.h:85:0, | |
from io.c:36: | |
/usr/include/python3.4m/tupleobject.h:46:17: note: expected ‘struct PyObject *’ but argument is of type ‘int’ | |
PyAPI_FUNC(int) PyTuple_SetItem(PyObject *, Py_ssize_t, PyObject *); | |
^ | |
io.c:103:5: warning: passing argument 3 of ‘PyTuple_SetItem’ makes pointer from integer without a cast [enabled by default] | |
PyTuple_SetItem(call_args, 1, PyInt_FromLong(value)); | |
^ | |
In file included from /usr/include/python3.4m/Python.h:85:0, | |
from io.c:36: | |
/usr/include/python3.4m/tupleobject.h:46:17: note: expected ‘struct PyObject *’ but argument is of type ‘int’ | |
PyAPI_FUNC(int) PyTuple_SetItem(PyObject *, Py_ssize_t, PyObject *); | |
^ | |
io.c: In function ‘initio_module’: | |
io.c:120:5: warning: implicit declaration of function ‘Py_InitModule’ [-Wimplicit-function-declaration] | |
io_module = Py_InitModule("io_module", io_module_methods); | |
^ | |
io.c:120:15: warning: assignment makes pointer from integer without a cast [enabled by default] | |
io_module = Py_InitModule("io_module", io_module_methods); | |
^ | |
io.c:125:1: warning: control reaches end of non-void function [-Wreturn-type] | |
} | |
^ | |
gcc -pthread -shared -Wl,-z,relro io_module.o -L/usr/lib -lpython3.4 -o io_module.so | |
/usr/bin/ld: cannot find -lpython3.4 | |
collect2: error: ld returned 1 exit status | |
make[4]: *** [io_module.so] Error 1 | |
swig -python -outcurrentdir ../hal/endian_swapper_hal.h | |
make[4]: swig: Command not found | |
make[4]: *** [endian_swapper_hal_wrap.c] Error 127 | |
make[4]: Target `all' not remade because of errors. | |
make[4]: Leaving directory `/home/jeremy/cocotb/examples/endian_swapper/cosim' | |
make[3]: [hal] Error 2 (ignored) | |
iverilog -o sim_build/sim.vvp -D COCOTB_SIM=1 /home/jeremy/cocotb/examples/endian_swapper/tests/../hdl/endian_swapper.sv | |
PYTHONPATH=/home/jeremy/cocotb/build/libs/x86_64:/home/jeremy/cocotb:/home/jeremy/cocotb/examples/endian_swapper/tests:/home/jeremy/cocotb/examples/endian_swapper/tests/../cosim:/home/jeremy/cocotb/examples/endian_swapper/tests/../cosim: LD_LIBRARY_PATH=/home/jeremy/cocotb/build/libs/x86_64:/home/jeremy/cocotb/examples/endian_swapper/tests/../cosim:/home/jeremy/cocotb/examples/endian_swapper/tests/../cosim:/usr/lib/python3.4/config-3.4m-x86_64-linux-gnu:/usr/lib:/usr/local/lib:/usr/local/bin/python MODULE=test_endian_swapper \ | |
TESTCASE= TOPLEVEL=endian_swapper_sv \ | |
vvp -M /home/jeremy/cocotb/build/libs/x86_64 -m gpivpi sim_build/sim.vvp | |
-.--ns INFO cocotb.gpi GpiCommon.cpp:47 in gpi_print_registered_impl VPI registered | |
0.00ns INFO cocotb.gpi gpi_embed.c:210 in embed_sim_init Running on Icarus Verilog version 0.9.7 | |
0.00ns INFO cocotb.gpi gpi_embed.c:211 in embed_sim_init Python interpreter initialised and cocotb loaded! | |
0.00ns INFO cocotb.gpi __init__.py:96 in _initialise_testbench Seeding Python random module with 1421006963 | |
0.00ns INFO cocotb.gpi __init__.py:110 in _initialise_testbench Running tests with Cocotb v0.5a from /home/jeremy/cocotb | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_endian_swapper.run_test_001 | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_endian_swapper.run_test_002 | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_endian_swapper.run_test_003 | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_endian_swapper.run_test_004 | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_endian_swapper.run_test_005 | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_endian_swapper.run_test_006 | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_endian_swapper.run_test_007 | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_endian_swapper.run_test_008 | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_endian_swapper.run_test_009 | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_endian_swapper.run_test_010 | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_endian_swapper.run_test_011 | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_endian_swapper.run_test_012 | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_endian_swapper.run_test_013 | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_endian_swapper.run_test_014 | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_endian_swapper.run_test_015 | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_endian_swapper.run_test_016 | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_endian_swapper.run_test_017 | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_endian_swapper.run_test_018 | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_endian_swapper.run_test_019 | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_endian_swapper.run_test_020 | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_endian_swapper.run_test_021 | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_endian_swapper.run_test_022 | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_endian_swapper.run_test_023 | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_endian_swapper.run_test_024 | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_endian_swapper.run_test_025 | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_endian_swapper.run_test_026 | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_endian_swapper.run_test_027 | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_endian_swapper.run_test_028 | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_endian_swapper.run_test_029 | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_endian_swapper.run_test_030 | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_endian_swapper.run_test_031 | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_endian_swapper.run_test_032 | |
0.00ns INFO cocotb.regression regression.py:143 in initialise Found test test_endian_swapper.wavedrom_test | |
0.00ns INFO cocotb.regression regression.py:229 in execute Running test 1/33: run_test_001 | |
0.00ns INFO ..coroutine._my_test.0x2b21c9f3f7b8 decorators.py:179 in send Starting test: "run_test_001" | |
Description: Automatically generated test | |
data_in: random_packet_sizes (random string data of a random length) | |
idle_inserter: None | |
backpressure_inserter: None | |
config_coroutine: None | |
VCD info: dumpfile waveform.vcd opened for output. | |
5.00ns ERROR cocotb.scheduler __init__.py:146 in _sim_event Failing test at simulator request before test run completion: Simulator shutdown prematurely | |
5.00ns ERROR cocotb.regression regression.py:208 in handle_result Test error has lead to simulator shuttting us down | |
5.00ns ERROR cocotb.regression regression.py:149 in tear_down Failed 1 out of 1 tests (0 skipped) | |
5.00ns INFO cocotb.regression regression.py:158 in tear_down Shutting down... | |
make[3]: Leaving directory `/home/jeremy/cocotb/examples/endian_swapper/tests' | |
make[2]: Leaving directory `/home/jeremy/cocotb/examples/endian_swapper/tests' | |
make[1]: Leaving directory `/home/jeremy/cocotb/examples' | |
./bin/combine_results.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment