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

[FIFO] fix boundary condition in DeriveCharacteristic

parent c3e01a5d
No related branches found
No related tags found
No related merge requests found
......@@ -89,7 +89,7 @@ class DeriveCharacteristic(NodeLocalTransformation):
# try to come up with an optimistic estimate
exp_cycles = min(n_inps, n_outs)
assert (
exp_cycles < self.period
exp_cycles <= self.period
), "Period %d too short to characterize %s : expects min %d cycles" % (
self.period,
node.name,
......
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