Skip to content

Commit 76df5fb

Browse files
committed
added tests
1 parent f3a9ae5 commit 76df5fb

File tree

3 files changed

+65
-0
lines changed

3 files changed

+65
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Xilinx specific requirements for VTR pass
2+
%include "common/pass_requirements.vpr_status.txt"
3+
%include "timing/pass_requirements.vpr_pack_place.txt"
4+
5+
#Routing Metrics
6+
routed_wirelength;RangeAbs(0.50,1.50,5)
7+
8+
#Area metrics
9+
logic_block_area_total;Range(0.5,1.6)
10+
logic_block_area_used;Range(0.5,1.6)
11+
min_chan_width_routing_area_total;Range(0.5,1.6)
12+
min_chan_width_routing_area_per_tile;Range(0.5,1.6)
13+
14+
#Run-time metrics
15+
crit_path_route_time;RangeAbs(0.10,10.0,2)
16+
17+
18+
#Peak memory
19+
max_vpr_mem;RangeAbs(0.5,2.0,102400)
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
vpr_status;output.txt;vpr_status=(.*)
2+
total_wirelength;vpr.out;\s*Total wirelength: (\d+)
3+
#total_wirelength_(mcw);vpr.out;Total wirelength:\s*(\d+)
4+
#total_wirelength_(1.3mcw);vpr.crit_path.out;Total wirelength:\s*(\d+)
5+
total_runtime;vpr.out;The entire flow of VPR took (.*) seconds
6+
#pack_time;vpr.out;Packing took (.*) seconds
7+
#place_time;vpr.out;Placement took (.*) seconds
8+
#route_time;vpr.out;Routing took (.*) seconds
9+
#num_pre_packed_nets;vpr.out;Total Nets: (\d+)
10+
#num_post_packed_nets;vpr.out;Netlist num_nets:\s*(\d+)
11+
crit_path_delay;vpr.crit_path.out;Final critical path: (.*) ns
12+
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
############################################
2+
# Configuration file for running experiments
3+
##############################################
4+
5+
# Path to directory of architectures to use
6+
archs_dir=arch/xilinx
7+
8+
# Path to directory of circuits to use
9+
circuits_dir=benchmarks/verilog
10+
11+
# Add architectures to list
12+
arch_list_add=7series_BRAM_DSP_carry.xml
13+
14+
# Add circuits to list to sweep
15+
circuit_list_add=LU32PEEng.v
16+
circuit_list_add=LU8PEEng.v
17+
circuit_list_add=bgm.v
18+
circuit_list_add=stereovision0.v
19+
circuit_list_add=stereovision1.v
20+
circuit_list_add=stereovision2.v
21+
22+
# Parse info and how to parse
23+
parse_file=vpr_standard.txt
24+
25+
# How to parse QoR info
26+
qor_parse_file=qor_vpr_xilinx.txt
27+
28+
# Pass requirements
29+
pass_requirements_file=pass_requirements_vpr_xilinx_fixed_width.txt
30+
31+
# Xilinx Benchmarks route at the physical channel
32+
# width of the chip which is 190. Flat routing is
33+
# also enabled.
34+
script_params=--route_chan_width 190 --flat_routing on

0 commit comments

Comments
 (0)