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

[SWG] no parallel window output with bram/uram ram_style from 1D SWG

parent 067d165b
No related branches found
No related tags found
No related merge requests found
...@@ -217,12 +217,13 @@ class ConvolutionInputGenerator1D(HLSCustomOp): ...@@ -217,12 +217,13 @@ class ConvolutionInputGenerator1D(HLSCustomOp):
dilation = self.get_nodeattr("Dilation") dilation = self.get_nodeattr("Dilation")
stride_h, stride_w = stride stride_h, stride_w = stride
dilation_h, dilation_w = dilation dilation_h, dilation_w = dilation
ram_style = self.get_nodeattr("ram_style")
if self.get_nodeattr("SIMD") == self.get_nodeattr("IFMChannels"): if self.get_nodeattr("SIMD") == self.get_nodeattr("IFMChannels"):
if self.get_nodeattr("depthwise") == 0: if self.get_nodeattr("depthwise") == 0:
if stride_h == 1 and stride_w == 1: if stride_h == 1 and stride_w == 1:
if dilation_h == 1 and dilation_w == 1: if dilation_h == 1 and dilation_w == 1:
return True return ram_style in ["auto", "distributed"]
return False return False
......
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