Skip to content
Snippets Groups Projects
Commit 56189836 authored by auphelia's avatar auphelia
Browse files

[Transformation] Remove warning about clock period in prepare ip transformation

parent 6230429d
No related branches found
No related tags found
No related merge requests found
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
import os import os
import warnings
import finn.custom_op.registry as registry import finn.custom_op.registry as registry
from finn.transformation import Transformation from finn.transformation import Transformation
from finn.util.basic import make_build_dir from finn.util.basic import make_build_dir
...@@ -75,11 +74,6 @@ class PrepareIP(Transformation): ...@@ -75,11 +74,6 @@ class PrepareIP(Transformation):
super().__init__() super().__init__()
self.fpgapart = fpgapart self.fpgapart = fpgapart
self.clk = clk self.clk = clk
if float(clk) not in [5.0, 10.0, 20.0]:
warnings.warn(
"""The chosen frequency may lead to failure due to clock divider
constraints."""
)
def apply(self, model): def apply(self, model):
for node in model.graph.node: for node in model.graph.node:
......
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