diff --git a/vtr_flow/arch/xilinx/7series_BRAM_DSP_carry.xml b/vtr_flow/arch/xilinx/7series_BRAM_DSP_carry.xml new file mode 100644 index 00000000000..dcec031ff85 --- /dev/null +++ b/vtr_flow/arch/xilinx/7series_BRAM_DSP_carry.xml @@ -0,0 +1,3390 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + io.outpad io.inpad io.clock + io.outpad io.inpad io.clock + io.outpad io.inpad io.clock + io.outpad io.inpad io.clock + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CLB.CLK CLB.I CLB.O CLB.SR1BEG_S0_IN CLB.SR1BEG_S0_OUT CLB.NL1BEG_N3_IN + CLB.NL1BEG_N3_OUT + CLB.CLK CLB.I CLB.O CLB.cout CLB.SR1BEG_S0_IN CLB.SR1BEG_S0_OUT + CLB.NL1BEG_N3_IN CLB.NL1BEG_N3_OUT + CLB.CLK CLB.I CLB.O CLB.cin CLB.SR1BEG_S0_IN CLB.SR1BEG_S0_OUT + CLB.NL1BEG_N3_IN CLB.NL1BEG_N3_OUT + CLB.CLK CLB.I CLB.O CLB.SR1BEG_S0_IN CLB.SR1BEG_S0_OUT CLB.NL1BEG_N3_IN + CLB.NL1BEG_N3_OUT + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DSP.clk DSP.A DSP.B DSP.P + DSP.clk DSP.A DSP.B DSP.P + DSP.clk DSP.A DSP.B DSP.P + DSP.clk DSP.A DSP.B DSP.P + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 0 1 + 1 1 + + + + 1 0 1 + 1 1 + + + + + 1 0 0 1 + 1 0 1 + + + + + 1 0 0 1 + 1 0 1 + + + + + 1 0 0 0 0 1 + 1 0 0 0 1 + + + + + + + 1 0 0 0 0 0 0 1 + 1 0 0 0 0 0 1 + + + + + + + + 1 0 0 0 0 0 0 1 0 0 0 0 0 1 + 1 0 0 0 0 0 0 1 0 0 0 0 1 + + + + + 1 0 0 0 0 0 0 0 0 0 0 0 0 1 + 1 0 0 0 0 0 0 0 0 0 0 0 1 + + + + + + + 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 + 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 + + + + + + + + + + + 1 0 0 0 1 + 1 0 0 0 + + + + 1 0 0 0 1 + 1 0 0 0 + + + + + 1 0 0 0 1 + 1 0 0 0 + + + + 1 0 0 0 1 + 1 0 0 0 + + + + + + + 1 0 1 + 0 1 + + + + 1 0 1 + 0 1 + + + + + 1 0 1 + 1 0 + + + + 1 0 1 + 1 0 + + + + + + + 1 1 + 1 + + + + 1 1 + 1 + + + + 1 1 + 1 + + + + 1 1 + 1 + + + + + + 1 1 + 1 + + + + 1 1 + 1 + + + + 1 1 + 1 + + + + 1 1 + 1 + + + + + + + + + 1 0 0 0 0 0 1 1 + 1 0 0 0 0 1 1 + + + + + + 1 0 1 1 + 1 1 1 + + + + + 1 0 0 0 1 + 1 0 0 1 + + + + + 1 0 1 + 1 1 + + + + + + 1 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1.5200000000000002e-10 + 1.5200000000000002e-10 + 1.5e-10 + 1.5e-10 + 1.18e-10 + + + 4.4e-11 + 4.4e-11 + 4.2000000000000004e-11 + 4.6e-11 + 4.8e-11 + + + + + + + + + + + + + + + + + + + + + + + + + + 1.6200000000000002e-10 + 1.6200000000000002e-10 + 1.6e-10 + 1.6e-10 + 1.6e-10 + 1.28e-10 + + + 4.4e-11 + 4.4e-11 + 4.2000000000000004e-11 + 4.6e-11 + 4.5e-11 + 4.8e-11 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/vtr_flow/parse/pass_requirements/pass_requirements_vpr_xilinx_fixed_width.txt b/vtr_flow/parse/pass_requirements/pass_requirements_vpr_xilinx_fixed_width.txt new file mode 100644 index 00000000000..5e01a4cc208 --- /dev/null +++ b/vtr_flow/parse/pass_requirements/pass_requirements_vpr_xilinx_fixed_width.txt @@ -0,0 +1,19 @@ +# Xilinx specific requirements for VTR pass +%include "common/pass_requirements.vpr_status.txt" +%include "timing/pass_requirements.vpr_pack_place.txt" + +#Routing Metrics +routed_wirelength;RangeAbs(0.50,1.50,5) + +#Area metrics +logic_block_area_total;Range(0.5,1.6) +logic_block_area_used;Range(0.5,1.6) +min_chan_width_routing_area_total;Range(0.5,1.6) +min_chan_width_routing_area_per_tile;Range(0.5,1.6) + +#Run-time metrics +crit_path_route_time;RangeAbs(0.10,10.0,2) + + +#Peak memory +max_vpr_mem;RangeAbs(0.5,2.0,102400) \ No newline at end of file diff --git a/vtr_flow/parse/qor_config/qor_vpr_xilinx.txt b/vtr_flow/parse/qor_config/qor_vpr_xilinx.txt new file mode 100644 index 00000000000..649a02d19bb --- /dev/null +++ b/vtr_flow/parse/qor_config/qor_vpr_xilinx.txt @@ -0,0 +1,12 @@ +vpr_status;output.txt;vpr_status=(.*) +total_wirelength;vpr.out;\s*Total wirelength: (\d+) +#total_wirelength_(mcw);vpr.out;Total wirelength:\s*(\d+) +#total_wirelength_(1.3mcw);vpr.crit_path.out;Total wirelength:\s*(\d+) +total_runtime;vpr.out;The entire flow of VPR took (.*) seconds +#pack_time;vpr.out;Packing took (.*) seconds +#place_time;vpr.out;Placement took (.*) seconds +#route_time;vpr.out;Routing took (.*) seconds +#num_pre_packed_nets;vpr.out;Total Nets: (\d+) +#num_post_packed_nets;vpr.out;Netlist num_nets:\s*(\d+) +crit_path_delay;vpr.crit_path.out;Final critical path: (.*) ns + diff --git a/vtr_flow/tasks/regression_tests/vtr_reg_nightly_test2/vtr_xilinx_qor/config/config.txt b/vtr_flow/tasks/regression_tests/vtr_reg_nightly_test2/vtr_xilinx_qor/config/config.txt new file mode 100644 index 00000000000..9fc4e235659 --- /dev/null +++ b/vtr_flow/tasks/regression_tests/vtr_reg_nightly_test2/vtr_xilinx_qor/config/config.txt @@ -0,0 +1,34 @@ +############################################ +# Configuration file for running experiments +############################################## + +# Path to directory of architectures to use +archs_dir=arch/xilinx + +# Path to directory of circuits to use +circuits_dir=benchmarks/verilog + +# Add architectures to list +arch_list_add=7series_BRAM_DSP_carry.xml + +# Add circuits to list to sweep +circuit_list_add=LU32PEEng.v +circuit_list_add=LU8PEEng.v +circuit_list_add=bgm.v +circuit_list_add=stereovision0.v +circuit_list_add=stereovision1.v +circuit_list_add=stereovision2.v + +# Parse info and how to parse +parse_file=vpr_standard.txt + +# How to parse QoR info +qor_parse_file=qor_vpr_xilinx.txt + +# Pass requirements +pass_requirements_file=pass_requirements_vpr_xilinx_fixed_width.txt + +# Xilinx Benchmarks route at the physical channel +# width of the chip which is 190. Flat routing is +# also enabled. +script_params=--route_chan_width 190 --flat_routing on \ No newline at end of file diff --git a/vtr_flow/tasks/regression_tests/vtr_reg_nightly_test2/vtr_xilinx_qor/config/golden_results.txt b/vtr_flow/tasks/regression_tests/vtr_reg_nightly_test2/vtr_xilinx_qor/config/golden_results.txt new file mode 100644 index 00000000000..ce120048235 --- /dev/null +++ b/vtr_flow/tasks/regression_tests/vtr_reg_nightly_test2/vtr_xilinx_qor/config/golden_results.txt @@ -0,0 +1,7 @@ +arch circuit script_params vtr_flow_elapsed_time vtr_max_mem_stage vtr_max_mem error odin_synth_time max_odin_mem parmys_synth_time max_parmys_mem abc_depth abc_synth_time abc_cec_time abc_sec_time max_abc_mem ace_time max_ace_mem num_clb num_io num_memories num_mult vpr_status vpr_revision vpr_build_info vpr_compiler vpr_compiled hostname rundir max_vpr_mem num_primary_inputs num_primary_outputs num_pre_packed_nets num_pre_packed_blocks num_netlist_clocks num_post_packed_nets num_post_packed_blocks device_width device_height device_grid_tiles device_limiting_resources device_name pack_mem pack_time placed_wirelength_est total_swap accepted_swap rejected_swap aborted_swap place_mem place_time place_quench_time placed_CPD_est placed_setup_TNS_est placed_setup_WNS_est placed_geomean_nonvirtual_intradomain_critical_path_delay_est place_delay_matrix_lookup_time place_quench_timing_analysis_time place_quench_sta_time place_total_timing_analysis_time place_total_sta_time ap_mem ap_time ap_full_legalizer_mem ap_full_legalizer_time min_chan_width routed_wirelength min_chan_width_route_success_iteration logic_block_area_total logic_block_area_used min_chan_width_routing_area_total min_chan_width_routing_area_per_tile min_chan_width_route_time min_chan_width_total_timing_analysis_time min_chan_width_total_sta_time crit_path_num_rr_graph_nodes crit_path_num_rr_graph_edges crit_path_collapsed_nodes crit_path_routed_wirelength crit_path_route_success_iteration crit_path_total_nets_routed crit_path_total_connections_routed crit_path_total_heap_pushes crit_path_total_heap_pops critical_path_delay geomean_nonvirtual_intradomain_critical_path_delay setup_TNS setup_WNS hold_TNS hold_WNS crit_path_routing_area_total crit_path_routing_area_per_tile router_lookahead_computation_time crit_path_route_time crit_path_create_rr_graph_time crit_path_create_intra_cluster_rr_graph_time crit_path_tile_lookahead_computation_time crit_path_router_lookahead_computation_time crit_path_total_timing_analysis_time crit_path_total_sta_time +7series_BRAM_DSP_carry.xml LU32PEEng.v common 19250.12 vpr 3.53 GiB -1 -1 85.05 1536380 97 401.39 -1 -1 380848 -1 -1 -1 114 153 -1 success v8.0.0-11597-g2b097dfa1-dirty release IPO VTR_ASSERT_LEVEL=2 GNU 11.4.0 on Linux-5.15.0-119-generic x86_64 2024-10-17T11:29:23 goeders10 /home/chem3000/GitClones/vtr_pulls/vtr_ccl/vtr-verilog-to-routing/vtr_flow/tasks 3702192 114 102 123962 109723 1 78151 10542 114 114 12996 CLB auto 971.9 MiB 2051.84 1372550 15723982 6230234 8961888 531860 2716.0 MiB 850.65 4.89 108.226 -231571 -108.226 108.226 0.08 0.138193 0.121009 20.9801 17.9134 -1 -1 -1 -1 -1 1616189 23 7.77041e+08 6.19747e+08 2.51453e+08 19348.5 349.21 27.3637 23.0261 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 +7series_BRAM_DSP_carry.xml LU8PEEng.v common 2038.38 vpr 1.02 GiB -1 -1 26.46 473708 98 36.58 -1 -1 117732 -1 -1 -1 114 45 -1 success v8.0.0-11597-g2b097dfa1-dirty release IPO VTR_ASSERT_LEVEL=2 GNU 11.4.0 on Linux-5.15.0-119-generic x86_64 2024-10-17T11:29:23 goeders10 /home/chem3000/GitClones/vtr_pulls/vtr_ccl/vtr-verilog-to-routing/vtr_flow/tasks 1070284 114 102 36706 32285 1 22659 3186 62 62 3844 CLB auto 303.0 MiB 615.42 301086 2744964 924224 1608810 211930 812.6 MiB 90.07 0.81 110.594 -51236.9 -110.594 110.594 0.02 0.0348211 0.0304006 4.5861 3.9536 -1 -1 -1 -1 -1 354834 19 2.21078e+08 1.78196e+08 7.33801e+07 19089.5 28.08 5.92739 5.04309 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 +7series_BRAM_DSP_carry.xml bgm.v common 2232.89 vpr 1.08 GiB -1 -1 22.10 654984 14 35.89 -1 -1 124492 -1 -1 -1 257 0 -1 success v8.0.0-11597-g2b097dfa1-dirty release IPO VTR_ASSERT_LEVEL=2 GNU 11.4.0 on Linux-5.15.0-119-generic x86_64 2024-10-17T11:29:23 goeders10 /home/chem3000/GitClones/vtr_pulls/vtr_ccl/vtr-verilog-to-routing/vtr_flow/tasks 1137124 257 32 37283 34221 1 23794 3620 66 66 4356 CLB auto 335.7 MiB 466.45 295245 2920940 1018399 1814255 88286 910.4 MiB 92.90 0.91 21.8913 -27562.2 -21.8913 21.8913 0.02 0.0377186 0.033218 4.62567 3.92608 -1 -1 -1 -1 -1 413597 20 2.52497e+08 1.83282e+08 8.29171e+07 19035.1 39.64 6.17413 5.17828 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 +7series_BRAM_DSP_carry.xml stereovision0.v common 493.23 vpr 468.43 MiB -1 -1 4.25 104408 5 2.86 -1 -1 69832 -1 -1 -1 169 0 -1 success v8.0.0-11597-g2b097dfa1-dirty release IPO VTR_ASSERT_LEVEL=2 GNU 11.4.0 on Linux-5.15.0-119-generic x86_64 2024-10-17T11:29:23 goeders10 /home/chem3000/GitClones/vtr_pulls/vtr_ccl/vtr-verilog-to-routing/vtr_flow/tasks 479668 169 197 23225 21365 1 9579 1651 42 42 1764 CLB auto 167.1 MiB 246.51 70163 967297 274059 572737 120501 387.9 MiB 12.88 0.12 4.23437 -16244.7 -4.23437 4.23437 0.01 0.0103469 0.00882942 1.22561 1.03769 -1 -1 -1 -1 -1 66124 11 9.88618e+07 6.92551e+07 3.28179e+07 18604.2 6.32 1.4964 1.2619 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 +7series_BRAM_DSP_carry.xml stereovision1.v common 1106.40 vpr 862.80 MiB -1 -1 3.56 116516 3 4.49 -1 -1 72468 -1 -1 -1 115 0 -1 success v8.0.0-11597-g2b097dfa1-dirty release IPO VTR_ASSERT_LEVEL=2 GNU 11.4.0 on Linux-5.15.0-119-generic x86_64 2024-10-17T11:29:23 goeders10 /home/chem3000/GitClones/vtr_pulls/vtr_ccl/vtr-verilog-to-routing/vtr_flow/tasks 883512 115 145 22865 19302 1 10282 1530 66 66 4356 DSP auto 161.1 MiB 218.23 111593 988474 326800 631040 30634 771.3 MiB 11.98 0.10 4.92203 -20685.5 -4.92203 4.92203 0.02 0.0109393 0.00901865 1.3246 1.12536 -1 -1 -1 -1 -1 111099 12 2.52497e+08 9.58162e+07 8.29171e+07 19035.1 14.24 1.62381 1.37534 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 +7series_BRAM_DSP_carry.xml stereovision2.v common 6254.18 vpr 2.04 GiB -1 -1 5.38 173084 3 2.17 -1 -1 140928 -1 -1 -1 149 0 -1 success v8.0.0-11597-g2b097dfa1-dirty release IPO VTR_ASSERT_LEVEL=2 GNU 11.4.0 on Linux-5.15.0-119-generic x86_64 2024-10-17T11:29:23 goeders10 /home/chem3000/GitClones/vtr_pulls/vtr_ccl/vtr-verilog-to-routing/vtr_flow/tasks 2143796 149 182 55416 37075 1 33270 4005 106 106 11236 DSP auto 301.3 MiB 730.52 433336 3564709 1114274 2234226 216209 1922.3 MiB 83.75 0.70 14.9658 -47738.9 -14.9658 14.9658 0.07 0.0283938 0.0250043 3.56581 3.04154 -1 -1 -1 -1 -1 410536 17 6.67318e+08 2.78045e+08 2.17352e+08 19344.2 47.16 4.63423 3.93111 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1