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

[CustomOp] catch unsupported rtlsim cond in StreamingFIFO

no rtlsim implementation for impl_style=vivado right now
parent 05d52334
No related branches found
No related tags found
No related merge requests found
......@@ -447,3 +447,10 @@ class StreamingFIFO(HLSCustomOp):
ram_luts = 0
return int(address_luts + ram_luts)
def prepare_rtlsim(self):
assert self.get_nodeattr("impl_style") != "vivado", (
"StreamingFIFO impl_style "
"cannot be vivado for rtlsim. Only impl_style=rtl supported."
)
super().prepare_rtlsim()
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