@@ -554,18 +554,14 @@ def step_set_fifo_depths(model: ModelWrapper, cfg: DataflowBuildConfig):
554554 Coherency with config file node naming is ensured by calling
555555 `GiveUniqueNodeNames`.
556556 """
557- print ("sizing" )
558- print (cfg .auto_fifo_depths )
559- print (cfg .auto_fifo_strategy )
557+
560558 if cfg .auto_fifo_depths :
561559 if cfg .auto_fifo_strategy == "analytical" :
562560 model = model .transform (InsertDWC ())
563561 model = model .transform (SpecializeLayers (cfg ._resolve_fpga_part ()))
564562 model = model .transform (GiveUniqueNodeNames ())
565563 model = model .transform (AnnotateCycles ())
566564
567- print ("tav gen strat:" , cfg .tav_generation_strategy )
568-
569565 for node in model .graph .node :
570566 inst = registry .getCustomOp (node )
571567 if (is_hls_node (node ) or is_rtl_node (node )) and (
@@ -576,8 +572,6 @@ def step_set_fifo_depths(model: ModelWrapper, cfg: DataflowBuildConfig):
576572 node , model , cfg ._resolve_fpga_part (), cfg ._resolve_hls_clk_period ()
577573 )
578574
579- print ("codegened the node" )
580-
581575 op_type = node .op_type
582576 if is_hls_node (node ):
583577 try :
@@ -594,8 +588,6 @@ def step_set_fifo_depths(model: ModelWrapper, cfg: DataflowBuildConfig):
594588 ):
595589 # call the compilation function for this node
596590 inst .ipgen_singlenode_code ()
597-
598- print ("ipgen the node" )
599591 else :
600592 warnings .warn ("Using pre-existing IP for %s" % node .name )
601593 # ensure that executable path is now set
@@ -702,7 +694,6 @@ def step_set_fifo_depths(model: ModelWrapper, cfg: DataflowBuildConfig):
702694 model = model .transform (SpecializeLayers (cfg ._resolve_fpga_part ()))
703695 model = model .transform (GiveUniqueNodeNames ())
704696 model = model .transform (GiveReadableTensorNames ())
705- import pdb ; breakpoint ()
706697 if cfg .default_swg_exception :
707698 model = model .transform (CapConvolutionFIFODepths (max_qsrl_depth = 256 ))
708699
0 commit comments