Skip to content
Snippets Groups Projects
Commit 0a50d8f3 authored by Yaman Umuroglu's avatar Yaman Umuroglu
Browse files

[Lookup] use BRAM storage pragma for now

parent e37087c9
No related branches found
No related tags found
No related merge requests found
......@@ -234,6 +234,9 @@ class Lookup(HLSCustomOp):
"#pragma HLS INTERFACE axis port=out name=out_" + self.hls_sname()
)
my_pragmas.append("#pragma HLS INTERFACE ap_ctrl_none port=return")
my_pragmas.append(
"#pragma HLS BIND_STORAGE variable=embeddings type=ROM_2P impl=BRAM"
)
self.code_gen_dict["$PRAGMAS$"] = my_pragmas
def generate_params(self, model, path):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment