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

hps_accel in Renode fails the model golden tests

tcal-x opened this issue · comments

commented

To reproduce:

% cd proj/hps_accel
% make clean

Edit the Makefile to comment out this line:

# CFU_GEN_EXTRA_ARGS += --specialize-nx

Then:

% make renode

Then at the menu in the hps:sysbus.uart window, type 1, 1, and g.

Output will contain lines such as:

  5892k (     5892178) cycles total
FAIL -124 (actual) != -128 (expected) ***
FAIL Golden tests failed

I don't think these tests fail on the proto2 board, but I have not verified lately.

One possibility is that the non-specialized version of the gateware has fallen out of sync with the specialized version that directly instantiates NX DSP primitives.

commented

Sorry, this is a known issue -- Renode simulation is not supported because the dual-port activation buffer changes the interfaces.