diff --git a/src/finn/transformation/fpgadataflow/create_stitched_ip.py b/src/finn/transformation/fpgadataflow/create_stitched_ip.py index 52e4e88b409766f0764d3ce7666dbf1971713575..8e2c69bad4b0a6749c605bea9ee21d6408c904c0 100644 --- a/src/finn/transformation/fpgadataflow/create_stitched_ip.py +++ b/src/finn/transformation/fpgadataflow/create_stitched_ip.py @@ -310,6 +310,14 @@ class CreateStitchedIP(Transformation): behavior. It is strongly recommended to insert FIFOs prior to calling CreateStitchedIP.""" ) + if model.graph.node[0].op_type == "StreamingFIFO": + firstfifo = getCustomOp(model.graph.node[0]) + if firstfifo.get_nodeattr("impl_style") == "vivado": + warnings.warn( + """First FIFO has impl_style=vivado, which may cause + simulation glitches (e.g. dropping the first input sample + after reset).""" + ) for node in model.graph.node: # ensure that all nodes are fpgadataflow, and that IPs are generated assert is_fpgadataflow_node(