sld-columbia / esp

Embedded Scalable Platforms: Heterogeneous SoC architecture and IP integration made easy
Other
332 stars 106 forks source link

Issue with hls4ml baremetal flow #150

Closed mayank-kabra2001 closed 2 years ago

mayank-kabra2001 commented 2 years ago

Hi, I observed that after doing SoC configuration of hls4ml accelerator, when I tried make mlp3layers_hls4ml-baremetal, I got this error. image

This issue is resolved by updating the esp-probe.h and mlp3layers.c mlp3layers.c - #define fl2fx(A) float_to_fixed32(A, INT_BITS) esp-probe.h - ndev = probe(&espdevs, SLD_MLP3LAYERS, DEV_NAME);

Hope this is the only thing what I need to do. Thanks!!

jzuckerman commented 2 years ago

Did you fix this? You should be able to fix it by adding a VENDOR_SLD argument before the SLD_MLP3LAYERS argument.

mayank-kabra2001 commented 2 years ago

I removed the argument from .h file itself and it worked .