google / CFU-Playground

Want a faster ML processor? Do it yourself! -- A framework for playing with custom opcodes to accelerate TensorFlow Lite for Microcontrollers (TFLM). . . . . . Online tutorial: https://google.github.io/CFU-Playground/ For reference docs, see the link below.

Home Page:http://cfu-playground.rtfd.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

make run-renode fails with verilator error

alanvgreen opened this issue · comments

When I try to use run-renode like this:

$ scripts/setup
$ . environment
$ cd proj/proj_template
$ make run-renode

It fails with the following message.

(monitor) s @digilent_arty.resc 
There was an error executing command 'machine LoadPlatformDescription @/home/avg/src/CFU-Playground/proj/proj_template/build/renode/digilent_arty.repl'
Error E04: Could not resolve type: 'Verilated.CFUVerilatedPeripheral'.
At /home/avg/src/CFU-Playground/proj/proj_template/build/renode/digilent_arty.repl:24:7:
cfu0: Verilated.CFUVerilatedPeripheral @ cpu 0
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(digilent_arty)  uart_connect sysbus.uart
Peripheral sysbus.uart not found or not an IUART.
Command uart_connect failed, returning "1".
(digilent_arty) 
(digilent_arty) 

Is it possible that I have misconfigured something?

commented

It might be worth deleting third_party/renode and rerunning ./scripts/setup to get the latest renode, just to eliminate that possibility.