Skip to content

Commit

Permalink
[rtl vvau]: minor fix to dsp estimation
Browse files Browse the repository at this point in the history
  • Loading branch information
mmrahorovic committed Mar 28, 2024
1 parent dfd501e commit b84de7b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,9 @@ def lut_estimation(self):
return 0

def dsp_estimation(self):
P = self.get_nodeattr("PE")
Q = self.get_nodeattr("SIMD")
return int(np.ceil(Q / 3))
return int(P * np.ceil(Q / 3))

def instantiate_ip(self, cmd):
# instantiate the RTL IP
Expand Down

0 comments on commit b84de7b

Please sign in to comment.