Skip to content

Add explicit ports #358

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 109 commits into from
Dec 14, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
109 commits
Select commit Hold shift + click to select a range
97ea31d
Fix regression flow wrongly included test (#1061)
jeanlego Dec 11, 2019
a84a033
flow: Add buffer absorption regression test
kmurray Dec 11, 2019
052fde6
vpr: Update buffer absorption to be less conservative.
kmurray Dec 11, 2019
7c6fe31
flow: Update strong regression results
kmurray Dec 11, 2019
96fbe3a
vpr: Prefer using is_empty_type() instead of direct comparison
kmurray Dec 10, 2019
5ef92dc
vpr: Fix drawing with equivalent sites
kmurray Dec 10, 2019
c2e4863
vpr: Fix drawing block mouse selection
kmurray Dec 10, 2019
2f6023e
vpr: Fix drawing of block internals
kmurray Dec 10, 2019
b6f1c11
vpr: Fix color of drawn block internals to match tile color
kmurray Dec 11, 2019
5b7ec33
vpr: Remove MAX_BLOCK_COLORS
kmurray Dec 11, 2019
5fc282c
vpr: Remove unused parameter
kmurray Dec 11, 2019
5d64b8c
vpr: Fix drawing of lowest sub-block level
kmurray Dec 11, 2019
f7a6462
vpr: Include pin name in RR node no fanin warning
kmurray Dec 11, 2019
079b438
vpr: Update grid sizing to be equvalent sites aware
kmurray Dec 11, 2019
ee51cbe
vpr: Improve initial macro placement to consider equivalent tile loca…
kmurray Dec 11, 2019
f063aec
vpr: Encapsulate block color drawing state
kmurray Dec 11, 2019
96cd664
vpr: Tweak post-placement resource usage format
kmurray Dec 11, 2019
7b24eaa
vpr: Fix comment typo
kmurray Dec 11, 2019
bc4c175
vpr: Clarify heap pre/post pruning
kmurray Dec 11, 2019
2780988
flow: Add missing benchmark
kmurray Dec 12, 2019
c26370e
New integration point for master+wip.
litghost Dec 13, 2019
42da49d
Add VTR change issue template
mgielda Jun 16, 2019
f0fd619
Implement initial explicit ports.
litghost Dec 12, 2019
3096297
Fix bugs in reading explicit pin definitions.
litghost Dec 12, 2019
74bdc5f
Finish initial implementation of explicit port definitions.
litghost Dec 13, 2019
2107b7f
Avoid criticality issue.
litghost Oct 9, 2018
652e8cf
Run make format.
litghost Dec 13, 2019
ecc22f2
Avoid criticality issue.
litghost Oct 9, 2018
e6fae2e
vpr options: added option to disable check_route
acomodi May 7, 2019
8fa2b49
Enable faster rr graph reading
litghost Dec 2, 2019
e8fd53a
add --quick_check_route, disables slow non-configurable edge check
HackerFoo Dec 13, 2019
e4c17cd
Inline and make const ref some args in the inner loop of the router.
litghost Oct 23, 2019
7028e83
Add back some missing enables for reading of edge metadata.
litghost Dec 4, 2019
e347a86
use vtr::ScopedStartFinishTimer
HackerFoo Dec 13, 2019
b5d9fa5
Sync connection_box with upstream.
litghost Jul 8, 2019
cb7b946
Complete connection box lookahead to be aware of connection box.
litghost Aug 16, 2019
2a3c536
Mark file location function as static.
litghost Sep 27, 2019
9bbd145
Add pugixml namespace to OPTIONAL's now that using is gone.
litghost Oct 2, 2019
ad22d78
Add option for search locations.
litghost Oct 11, 2019
e9a9a25
Add bounds checking when search grid.
litghost Oct 11, 2019
0b8fd9b
Increase capnproto traversal limit to allow large input files.
litghost Oct 16, 2019
d42192f
add bounding box calculations to vtr::Rect
HackerFoo Oct 23, 2019
d949c66
add comments, rename operators, and change Point -> Rect constructor
HackerFoo Oct 31, 2019
820d1b8
add empty() tests
HackerFoo Oct 31, 2019
538f7e8
new sampling method
HackerFoo Oct 23, 2019
2ff861d
spiral hole filling
HackerFoo Oct 23, 2019
d5d2263
use a lightweight version of PQ_Entry (PQ_Entry_Lite)
HackerFoo Oct 23, 2019
b2114b0
use maps in run_dijkstra()
HackerFoo Oct 23, 2019
e757669
make format
HackerFoo Oct 23, 2019
3cc0a40
add documentation
HackerFoo Oct 23, 2019
ab62139
un-shadow a variable
HackerFoo Oct 23, 2019
26387c2
remove method from set_cost_map
HackerFoo Oct 24, 2019
5baa602
replace std::list with std::vector
HackerFoo Oct 24, 2019
c3f7369
Revert "Add option for search locations."
HackerFoo Oct 23, 2019
1de49a0
TEMPORARY ignore --lookahead_search_locations
HackerFoo Oct 23, 2019
147a5af
parallelize connection box lookahead
HackerFoo Oct 23, 2019
7ee50b3
performance improvements
HackerFoo Oct 25, 2019
4b31ffd
make format
HackerFoo Oct 30, 2019
0f553ea
suggested changes
HackerFoo Oct 30, 2019
c0a6a40
changes suggested in PR
HackerFoo Oct 31, 2019
f919545
add penalty to Cost_Map::find_cost for points outside of the map
HackerFoo Nov 1, 2019
b031fe0
store penalties
HackerFoo Nov 2, 2019
b640e62
move Cost_Entry into the util namespace
HackerFoo Nov 2, 2019
38fe25d
move sample() into vtr_geometry and add test
HackerFoo Nov 4, 2019
85ec8ad
make format
HackerFoo Nov 4, 2019
6a4cffb
printf -> VTR_LOG
HackerFoo Nov 4, 2019
25e3566
change sampling method
HackerFoo Nov 6, 2019
9577224
remove unnecessary lookups
HackerFoo Nov 6, 2019
9c1f4b1
remove SimpleCache, use vtr::hash_combine, add timing stats
HackerFoo Nov 7, 2019
27e646f
make format
HackerFoo Nov 8, 2019
a4ca850
integrate lighost's patches
HackerFoo Nov 8, 2019
010579b
independently minimize delay and base cost (congestion)
HackerFoo Nov 11, 2019
9959bde
Expand delay and base cost independently
HackerFoo Nov 14, 2019
a5742dc
site_pin_delay shouldn't affect congestion
HackerFoo Nov 14, 2019
f71b536
use histogram to choose sample sizes, set minimum penalty
HackerFoo Nov 19, 2019
f2deff6
Use get_rr_cong_cost to compute base_cost's.
litghost Nov 21, 2019
b94323f
run expansions in a region until a number of paths are found
HackerFoo Nov 26, 2019
03e7b34
make format
HackerFoo Nov 26, 2019
a0e292c
use std::make_tuple()
HackerFoo Dec 3, 2019
38bc36e
suggested changes
HackerFoo Dec 3, 2019
e3cdb16
Add debugging prints and add fill output to lookahead.
litghost Oct 31, 2019
95b6160
Have route_diag use criticality from --max_criticality argument.
litghost Nov 4, 2019
ad3cdba
Move around stuff to avoid conflicts.
litghost Dec 3, 2019
062b9ef
placement: add possibility to constraint other blocks than IO pads
acomodi Nov 28, 2019
a2cb477
Update variable name.
litghost Dec 13, 2019
aef717c
Add base cost option that is bounded.
litghost Nov 21, 2019
7c943b7
Revert "vpr: Fix formatting"
litghost Nov 6, 2019
ac4e0e1
Revert "Squashed 'libs/EXTERNAL/libtatum/' changes from ee66714ea..75…
litghost Nov 6, 2019
3ca4a49
Revert "vpr: Allow creation of clock to output pin edges in the timin…
litghost Nov 6, 2019
859fab6
Revert "vpr: Fix segfault when reporting errors with no timing graph"
litghost Nov 6, 2019
72f87b5
Revert "vpr: Improve control over clock tracing"
litghost Nov 6, 2019
0a4b0f2
Revert "archfpga: Improve error reporting for tile/block pin mismatches"
litghost Nov 6, 2019
629b039
Revert "vpr: Add support for tracing clock nets through general logic"
litghost Nov 6, 2019
115b84a
Refactor router heap to use heap approximation.
litghost Sep 6, 2019
28c807e
Revert bad revision.
acomodi Dec 10, 2019
f5de65c
Add logic to rescale bucketing for wirelength driven routing.
litghost Sep 9, 2019
0b380c9
Remove clock test.
litghost Nov 21, 2019
59e9d80
Add assumptions about cost structure.
litghost Sep 9, 2019
cc9b8fb
Added binary read/write to vpr
andrewb1999 Jun 20, 2019
ca6f2b6
Reflow binary graph read to keep changes in 1 diff hunks.
litghost Sep 27, 2019
77db33d
Use Dijkstra to generate place delay matrix.
litghost Oct 16, 2019
df2a906
Revert badge to the SymbiFlow Travis-CI.
litghost Mar 6, 2019
7ed19be
Add explicit namespaces for std and pugixml.
litghost Oct 2, 2019
3f4b1b1
Always mark locations as found if empty.
litghost Oct 22, 2019
664c833
Revert master+wip to master (2780988d58da6be454364e4a06cff8da8caf09e8)
litghost Dec 13, 2019
4dce490
Fix some compile warnings for now.
litghost Nov 21, 2019
eccd27c
Merge branch 'master' into add_explicit_ports
litghost Dec 13, 2019
5074f63
Merge branches 'wip/add-issue-template', 'wip/add_explicit_ports', 'w…
litghost Dec 13, 2019
be9a50d
Octopus merge
litghost Dec 13, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 56 additions & 16 deletions ODIN_II/exec_wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ PERF_EXEC="perf stat record -a -d -d -d -o"
GDB_EXEC="gdb --args"
EXEC_PREFIX=""

TOOL_LIST=""

TEST_NAME="N/A"
LOG=""
LOG_FILE=""
Expand Down Expand Up @@ -98,6 +100,7 @@ Usage: ./exec_wrapper.sh [options] <path/to/arguments.file>
--time_limit * stops Odin after X seconds
--limit_ressource * limit ressource usage using ulimit -m (25% of hrdw memory) and nice value of 19
--verbosity [0, 1, 2] * [0] no output, [1] output on error, [2] output the log to stdout
--no_color * force no color on output
"
}

Expand Down Expand Up @@ -213,6 +216,12 @@ then
_exit_with_code "-1"
fi

if [[ -t 1 ]] && [[ -t 2 ]] && [[ ! -p /dev/stdout ]] && [[ ! -p /dev/stderr ]]
then
COLORIZE_OUTPUT="on"
log_it "Using colorized output\n"
fi

while [[ "$#" > 0 ]]
do
case $1 in
Expand Down Expand Up @@ -242,6 +251,10 @@ do
RESTRICT_RESSOURCE="on"
;;

--no_color)
COLORIZE_OUTPUT="off"
;;

--verbosity)
case "_$2" in
_0) VERBOSE="0";;
Expand All @@ -267,14 +280,17 @@ do
else
case $2 in
valgrind)
TOOL_LIST="valgrind ${TOOL_LIST}"
EXEC_PREFIX="${VALGRIND_EXEC} ${EXEC_PREFIX}"
;;
gdb)
TOOL_LIST="gdb ${TOOL_LIST}"
USE_TIMEOUT="off"
USE_LOGS="off"
EXEC_PREFIX="${GDB_EXEC} ${EXEC_PREFIX}"
;;
perf)
TOOL_LIST="perf ${TOOL_LIST}"
EXEC_PREFIX="${PERF_EXEC} ${EXEC_PREFIX}"
shift
;;
Expand Down Expand Up @@ -302,13 +318,6 @@ then
restrict_ressource
fi


if [[ -t 1 ]] && [[ -t 2 ]] && [[ ! -p /dev/stdout ]] && [[ ! -p /dev/stderr ]]
then
COLORIZE_OUTPUT="on"
log_it "Using colorized output\n"
fi

if [ "${USE_LOGS}" == "on" ]
then
if [ "_${LOG_FILE}" == "_" ]
Expand All @@ -331,12 +340,14 @@ fi

if [ "${USE_TIME}" == "on" ]
then
TOOL_LIST="time ${TOOL_LIST}"
EXEC_PREFIX="${TIME_EXEC} --output=${LOG_FILE} --append ${EXEC_PREFIX}"
log_it "running with /bin/time\n"
fi

if [ "${USE_TIMEOUT}" == "on" ]
then
TOOL_LIST="timeout ${TOOL_LIST}"
EXEC_PREFIX="timeout ${TIME_LIMIT} ${EXEC_PREFIX}"
log_it "running with timeout ${TIME_LIMIT}\n"
fi
Expand All @@ -352,23 +363,52 @@ then
log_it "Must define a path to a valid argument file"
dump_log
else
_ARGS=$(cat ${ARG_FILE})
if [ "${USE_LOGS}" == "on" ]
failed_requirements=""
# test all necessary tool
for tool_used in ${TOOL_LIST}
do
which ${tool_used} &> /dev/null
if [ "$?" != "0" ];
then
failed_requirements="${tool_used} ${failed_requirements}"
fi
done

if [ "_${failed_requirements}" != "_" ];
then
if [ "${VERBOSE}" == "2" ]
if [ "${USE_LOGS}" == "on" ]
then
${EXEC_PREFIX} ${_ARGS} 2>&1 | tee ${LOG_FILE}
if [ "${VERBOSE}" == "2" ]
then
echo "missing \"${failed_requirements}\"" | tee ${LOG_FILE}
else
echo "missing \"${failed_requirements}\"" &>> ${LOG_FILE}
fi
else
${EXEC_PREFIX} ${_ARGS} &>> ${LOG_FILE}
echo "missing \"${failed_requirements}\""
fi

EXIT_CODE="-1"
pretty_print_status "Missing package: ${failed_requirements}"

else
${EXEC_PREFIX} ${_ARGS}
_ARGS=$(cat ${ARG_FILE})
if [ "${USE_LOGS}" == "on" ]
then
if [ "${VERBOSE}" == "2" ]
then
${EXEC_PREFIX} ${_ARGS} 2>&1 | tee ${LOG_FILE}
else
${EXEC_PREFIX} ${_ARGS} &>> ${LOG_FILE}
fi
else
${EXEC_PREFIX} ${_ARGS}
fi
EXIT_CODE=$?
display "${EXIT_CODE}"
fi
EXIT_CODE=$?
fi

display "${EXIT_CODE}"

EXIT_STATUS=0
if [ "${EXIT_CODE}" != "0" ]
then
Expand Down
4 changes: 2 additions & 2 deletions ODIN_II/regression_test/.library/output_on_error.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
script_synthesis_params=--verbosity 1
script_simulation_params=--verbosity 1
script_synthesis_params=--verbosity 1 --no_color
script_simulation_params=--verbosity 1 --no_color
Loading