Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jmduarte authored Mar 16, 2023
1 parent 7482515 commit 5b15b49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AXOL1TL_v1/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ANOMALY DETECTION FOR GLOBAL TRIGGER

Note: emulator does not load weights from text files.
After generating project from hls4ml need to use `#if def LOAD_WEIGHTS_FROM_TXT` instead of `#ifndef __SYNTHESIS__`
After generating project from hls4ml, use `#ifdef LOAD_WEIGHTS_FROM_TXT` instead of `#ifndef __SYNTHESIS__`

```bash
sed -i "s/#ifndef __SYNTHESIS__/#ifdef LOAD_WEIGHTS_FROM_TXT/g" *.h
Expand Down

0 comments on commit 5b15b49

Please sign in to comment.