Hello!, I'm trying to run cocotb tests in a newly ...
# gf180mcu
d
Hello!, I'm trying to run cocotb tests in a newly created repo from the gf180 template, however I keep getting this error:
Copy code
Traceback (most recent call last):
  File "/home/dsatizabal/.local/bin/caravel_cocotb", line 8, in <module>
    sys.exit(main())
  File "/home/dsatizabal/.local/lib/python3.10/site-packages/caravel_cocotb/__main__.py", line 103, in main
    RunFLow(cocotb_args)
  File "/home/dsatizabal/.local/lib/python3.10/site-packages/caravel_cocotb/scripts/verify_cocotb/RunFlow.py", line 30, in __init__
    self.set_cpu_type()
  File "/home/dsatizabal/.local/lib/python3.10/site-packages/caravel_cocotb/scripts/verify_cocotb/RunFlow.py", line 149, in set_cpu_type
    raise EnvironmentError("Can't find cpu type please add #define CPU_TYPE to defs.h in managment repo")
OSError: Can't find cpu type please add #define CPU_TYPE to defs.h in managment repo
I used the Makefile suggested here but I still get the same error, any ideas on how to fix this?
d
oh ok, thanks for the information!