Skip to content
Snippets Groups Projects
Unverified Commit 56bdc622 authored by Yaman Umuroglu's avatar Yaman Umuroglu Committed by GitHub
Browse files

[HLSCustomOp] bring back directives option in base

parent 0b784458
No related branches found
No related tags found
No related merge requests found
......@@ -217,6 +217,8 @@ class HLSCustomOp(CustomOp):
self.code_gen_dict["$FINNHLSLIBDIR$"] = ["/workspace/finn-hlslib"]
self.code_gen_dict["$TOPFXN$"] = [node.name]
self.code_gen_dict["$CLKPERIOD$"] = [str(clk)]
self.code_gen_dict["$EXTRA_DIRECTIVES$"] = self.ipgen_extra_directives()
template = self.ipgentcl_template
......@@ -230,6 +232,10 @@ class HLSCustomOp(CustomOp):
f.close()
self.code_gen_dict.clear()
def ipgen_extra_directives(self):
"Return a list of extra tcl directives for HLS synthesis."
return []
def ipgen_singlenode_code(self):
"""Builds the bash script for ip generation using the IPGenBuilder from
finn.util.fpgadataflow."""
......
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