Skip to content

Vtr flow script py rewrite #1429

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 98 commits into from
Jul 30, 2020
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
98 commits
Select commit Hold shift + click to select a range
0e44b39
copied over old python scripts, fixed a spelling error with is_exacut…
shadtorrie May 4, 2020
d5b6f90
Fixing more instances of misspelt is_executable
shadtorrie May 4, 2020
9d8f9d8
vtr-flow.py: switch the old --work_dir to the new -temp_dir as used o…
shadtorrie May 7, 2020
430ac0d
enabled blackbox iterative flow for multi-clock circuits
shadtorrie May 12, 2020
6ee55ab
flow.py: replaced os.path to pathlib.path, vtr-flow.py: replaced and …
shadtorrie May 13, 2020
f503d6c
vtr-flow.py:fixed arguments to match the current ones on master
shadtorrie May 13, 2020
329607c
Reorganized and renamed scripts/python_libs/verilogtorouting and fixe…
shadtorrie May 16, 2020
8102fc5
fixing minor import issue
shadtorrie May 16, 2020
8d3b29d
replaced os with pathlib in vtr-task, vtr-flow, flow and util, also f…
shadtorrie May 19, 2020
ea28ed6
upgraded vtr-flow, vtr-test and vtr-task to python3 also made the pyt…
shadtorrie May 20, 2020
476a894
Adding unit testing for new run vtr flow py script
jgoeders May 21, 2020
3dcb940
Reorganized abc arguments and fixed error handling
shadtorrie May 21, 2020
092ea95
Fix py version bug in check_py_vtr_flow
jgoeders May 21, 2020
dfbce12
Add python3 to travis
jgoeders May 21, 2020
abbb41f
Update chekc_py_vtr_flow to use python3.6
jgoeders May 21, 2020
5410b07
New ppa source for travis-ci and python3.6
jgoeders May 21, 2020
3f048cb
check_py_vtr_flow to use python3.6
jgoeders May 21, 2020
c9c11c2
travis-ci for py scripts needs to run build first
jgoeders May 21, 2020
003b416
Merge branch 'jbg_travis_for_py_scripts' into vtr_script_py_rewrite
shadtorrie May 22, 2020
d270635
vtr-flow.py:fixing track_memory_usage issue
shadtorrie May 22, 2020
3eddd97
Merge pull request #2 from verilog-to-routing/master
jgoeders May 22, 2020
a6ab0d9
Enabling Power estimation by fixing ACE script. also enabled the -del…
shadtorrie May 29, 2020
a860661
adding comments to abc script
shadtorrie May 29, 2020
2f5561c
adding name argument and show_failures, show_failures still needs to …
shadtorrie May 29, 2020
c7fb72f
Updating regression tests to work with python scripts and adding pyth…
shadtorrie May 30, 2020
e41cbcf
fixing pathlib issue
shadtorrie May 30, 2020
b01651c
Merge branch 'vtr_script_py_rewrite' into st_travis_for_py
shadtorrie May 30, 2020
fe0812c
adding compatibility in python scripts to accept pathlib files or str…
shadtorrie May 30, 2020
170d0d9
enabled show_failures in vtr-flow.py
shadtorrie Jun 1, 2020
808fb1e
Creating better file validation
shadtorrie Jun 1, 2020
3c583c7
Merge branch 'vtr_script_py_rewrite' into st_travis_for_py
shadtorrie Jun 1, 2020
4d61c7d
Fixing issue that thought output files should exist before they should
shadtorrie Jun 2, 2020
4385a54
fixing issue that was causing the tests to only be run on the perl sc…
shadtorrie Jun 2, 2020
a17904f
Merge branch 'vtr_script_py_rewrite' into st_travis_for_py
shadtorrie Jun 2, 2020
130cddc
lining up output with original scripts.
shadtorrie Jun 2, 2020
5c8edec
Merge branch 'vtr_script_py_rewrite' into st_travis_for_py
shadtorrie Jun 2, 2020
bab4a89
fixing one last output difference
shadtorrie Jun 2, 2020
3d0708d
Merge branch 'vtr_script_py_rewrite' into st_travis_for_py
shadtorrie Jun 2, 2020
c0c222d
fixing file name issues on the python script. Also made the python sc…
shadtorrie Jun 24, 2020
ba96eb3
adding missing ODIN II arguments.
shadtorrie Jun 25, 2020
f1b2c88
added crit_path_router_iterations argument and used it to impliment t…
shadtorrie Jun 25, 2020
fec5ad2
Adding lut_size argument and making extra abc and odin arguments clea…
shadtorrie Jun 25, 2020
0428050
Added check_equivalent argument and enabled it. Fixed issue with temp…
shadtorrie Jun 26, 2020
7eba52d
fixing default issue
shadtorrie Jun 26, 2020
feef3dd
fixed the eblif issue
shadtorrie Jun 26, 2020
5464661
added and enabled arguments fix_pins, verify_rr_graph, rr_graph_ext, …
shadtorrie Jun 29, 2020
e92a551
fixing issue with routing argument
shadtorrie Jun 29, 2020
80f657c
fixing sdc_file issue and fixing timing issue
shadtorrie Jun 30, 2020
308e413
fixed sdc issue with format of input
shadtorrie Jun 30, 2020
481ea92
fixed an issue with max_router_iterations
shadtorrie Jun 30, 2020
01b5bd8
reverted changes from last commit, fixed an route_chan_width issue, f…
shadtorrie Jul 2, 2020
70b2096
added valgrind functionality
shadtorrie Jul 2, 2020
d0e31b0
fixed num_clb issue
shadtorrie Jul 2, 2020
51758f3
fixing valgrind file error
shadtorrie Jul 2, 2020
39a10c2
rename vtr-flow.py to run_vtr_flow.py, added missing arguments, and a…
shadtorrie Jul 9, 2020
ce6baae
updating documentation to use the python script
shadtorrie Jul 9, 2020
b6f36ec
Merge pull request #3 from verilog-to-routing/master
jgoeders Jul 10, 2020
35be0d4
adding auto doc to the python library and fixing various minor issues.
shadtorrie Jul 10, 2020
a7ffe98
fixing merge conflict
shadtorrie Jul 10, 2020
f987b87
adding check_incremental_sta_consistency argument and functionality, …
shadtorrie Jul 11, 2020
dd5cd2a
fixed format issue
shadtorrie Jul 11, 2020
16eed5e
fixed issue where if there was a syntax error, the test said it passed.
shadtorrie Jul 13, 2020
f21b0ba
added auto doc to cmp_full_vs_incr_STA function
shadtorrie Jul 13, 2020
4213846
remove vtr-task.py and vtr-test.py because I didn't actually work on …
shadtorrie Jul 13, 2020
be7f2ab
cleaning up random comments and fixing possible minor future bugs
shadtorrie Jul 13, 2020
0a20e74
fixing small syntax error
shadtorrie Jul 14, 2020
57c3c4c
fixing verify file issue
shadtorrie Jul 14, 2020
1cdca8e
removed parse and task functionality to be implemented later
shadtorrie Jul 14, 2020
cf1da8a
removed dulicate tests and unnecessary test
shadtorrie Jul 15, 2020
1a64094
removing accidental change
shadtorrie Jul 15, 2020
b63446c
adding newline to end of files
shadtorrie Jul 16, 2020
c7f965d
moved python_lib documentation to be in masters documentation
shadtorrie Jul 17, 2020
ba2312b
fixed file default name
shadtorrie Jul 20, 2020
8a9a4a7
made circuit_name optional argument to vpr
shadtorrie Jul 20, 2020
f7c965f
fixing circuit_name issue
shadtorrie Jul 20, 2020
fc27438
fixing two small bugs
shadtorrie Jul 20, 2020
dab68f8
fixed verbosity confusion and fixed abc_flow_type variable
shadtorrie Jul 20, 2020
b04f235
fixing help message
shadtorrie Jul 21, 2020
a0c6fcd
replacing enum with python enum. replacing mkdir_p with Pathlib.mkdir…
shadtorrie Jul 22, 2020
bbc43f6
cleaned up util.py for pylint
shadtorrie Jul 23, 2020
0e39c90
Switch travis python to 3.6
jgoeders Jul 23, 2020
6ac6562
merged python3.6
shadtorrie Jul 23, 2020
1b99792
Merge remote-tracking branch 'upstream/master'
jgoeders Jul 23, 2020
b1fc0a0
cleaning up error.py and inspect.py for pylint, also removing task fu…
shadtorrie Jul 23, 2020
4b05c8e
actually fixing error.py to pass pylint
shadtorrie Jul 23, 2020
4c78c00
fixed lec issue
shadtorrie Jul 24, 2020
e1d3522
fixed expected fail issue
shadtorrie Jul 24, 2020
fd11257
enabling all of the python library to pass pylint
shadtorrie Jul 24, 2020
b3eecd8
fixing enumerate issue
shadtorrie Jul 27, 2020
c2f12b4
merging master and resolving conflict.
shadtorrie Jul 27, 2020
dbd8d93
fixing accedental change with merge conflict
shadtorrie Jul 27, 2020
e825e21
made errors accept variable arguments
shadtorrie Jul 27, 2020
07c94f9
cleaned up pathlib path
shadtorrie Jul 27, 2020
ce43aa5
fixing args issue
shadtorrie Jul 28, 2020
b02b137
fixed doc to only show important function descriptions
shadtorrie Jul 28, 2020
6ae36da
cleaning up error reporting
shadtorrie Jul 28, 2020
dc4bfec
fixing pylint issue
shadtorrie Jul 28, 2020
a804275
Added error handling if architecture file is not xml
shadtorrie Jul 28, 2020
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
Empty file.
32 changes: 32 additions & 0 deletions vtr_flow/scripts/python_libs/verilogtorouting/error.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
class VtrError(Exception):
"""
Base class for VTR related exceptions

Attributes:
msg -- An explanation of the error
"""
def __init__(self, msg=""):
self.msg = msg

class CommandError(VtrError):
"""
Raised when an external command failed.

Attributes:
returncode -- The return code from the command
cmd == The command run
"""
def __init__(self, msg, cmd, returncode, log=None):
super(CommandError, self).__init__(msg=msg)
self.returncode = returncode
self.cmd = cmd
self.log = log

class InspectError(VtrError):
"""
Raised when some query (inspection) result is not found.
"""
def __init__(self, msg, filename=None):
super(InspectError, self).__init__(msg=msg)
self.filename=filename

Loading