-
Notifications
You must be signed in to change notification settings - Fork 415
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
vaughnbetz
merged 98 commits into
verilog-to-routing:master
from
byuccl:vtr_script_py_rewrite
Jul 30, 2020
Merged
Changes from 70 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 d5b6f90
Fixing more instances of misspelt is_executable
shadtorrie 9d8f9d8
vtr-flow.py: switch the old --work_dir to the new -temp_dir as used o…
shadtorrie 430ac0d
enabled blackbox iterative flow for multi-clock circuits
shadtorrie 6ee55ab
flow.py: replaced os.path to pathlib.path, vtr-flow.py: replaced and …
shadtorrie f503d6c
vtr-flow.py:fixed arguments to match the current ones on master
shadtorrie 329607c
Reorganized and renamed scripts/python_libs/verilogtorouting and fixe…
shadtorrie 8102fc5
fixing minor import issue
shadtorrie 8d3b29d
replaced os with pathlib in vtr-task, vtr-flow, flow and util, also f…
shadtorrie ea28ed6
upgraded vtr-flow, vtr-test and vtr-task to python3 also made the pyt…
shadtorrie 476a894
Adding unit testing for new run vtr flow py script
jgoeders 3dcb940
Reorganized abc arguments and fixed error handling
shadtorrie 092ea95
Fix py version bug in check_py_vtr_flow
jgoeders dfbce12
Add python3 to travis
jgoeders abbb41f
Update chekc_py_vtr_flow to use python3.6
jgoeders 5410b07
New ppa source for travis-ci and python3.6
jgoeders 3f048cb
check_py_vtr_flow to use python3.6
jgoeders c9c11c2
travis-ci for py scripts needs to run build first
jgoeders 003b416
Merge branch 'jbg_travis_for_py_scripts' into vtr_script_py_rewrite
shadtorrie d270635
vtr-flow.py:fixing track_memory_usage issue
shadtorrie 3eddd97
Merge pull request #2 from verilog-to-routing/master
jgoeders a6ab0d9
Enabling Power estimation by fixing ACE script. also enabled the -del…
shadtorrie a860661
adding comments to abc script
shadtorrie 2f5561c
adding name argument and show_failures, show_failures still needs to …
shadtorrie c7fb72f
Updating regression tests to work with python scripts and adding pyth…
shadtorrie e41cbcf
fixing pathlib issue
shadtorrie b01651c
Merge branch 'vtr_script_py_rewrite' into st_travis_for_py
shadtorrie fe0812c
adding compatibility in python scripts to accept pathlib files or str…
shadtorrie 170d0d9
enabled show_failures in vtr-flow.py
shadtorrie 808fb1e
Creating better file validation
shadtorrie 3c583c7
Merge branch 'vtr_script_py_rewrite' into st_travis_for_py
shadtorrie 4d61c7d
Fixing issue that thought output files should exist before they should
shadtorrie 4385a54
fixing issue that was causing the tests to only be run on the perl sc…
shadtorrie a17904f
Merge branch 'vtr_script_py_rewrite' into st_travis_for_py
shadtorrie 130cddc
lining up output with original scripts.
shadtorrie 5c8edec
Merge branch 'vtr_script_py_rewrite' into st_travis_for_py
shadtorrie bab4a89
fixing one last output difference
shadtorrie 3d0708d
Merge branch 'vtr_script_py_rewrite' into st_travis_for_py
shadtorrie c0c222d
fixing file name issues on the python script. Also made the python sc…
shadtorrie ba96eb3
adding missing ODIN II arguments.
shadtorrie f1b2c88
added crit_path_router_iterations argument and used it to impliment t…
shadtorrie fec5ad2
Adding lut_size argument and making extra abc and odin arguments clea…
shadtorrie 0428050
Added check_equivalent argument and enabled it. Fixed issue with temp…
shadtorrie 7eba52d
fixing default issue
shadtorrie feef3dd
fixed the eblif issue
shadtorrie 5464661
added and enabled arguments fix_pins, verify_rr_graph, rr_graph_ext, …
shadtorrie e92a551
fixing issue with routing argument
shadtorrie 80f657c
fixing sdc_file issue and fixing timing issue
shadtorrie 308e413
fixed sdc issue with format of input
shadtorrie 481ea92
fixed an issue with max_router_iterations
shadtorrie 01b5bd8
reverted changes from last commit, fixed an route_chan_width issue, f…
shadtorrie 70b2096
added valgrind functionality
shadtorrie d0e31b0
fixed num_clb issue
shadtorrie 51758f3
fixing valgrind file error
shadtorrie 39a10c2
rename vtr-flow.py to run_vtr_flow.py, added missing arguments, and a…
shadtorrie ce6baae
updating documentation to use the python script
shadtorrie b6f36ec
Merge pull request #3 from verilog-to-routing/master
jgoeders 35be0d4
adding auto doc to the python library and fixing various minor issues.
shadtorrie a7ffe98
fixing merge conflict
shadtorrie f987b87
adding check_incremental_sta_consistency argument and functionality, …
shadtorrie dd5cd2a
fixed format issue
shadtorrie 16eed5e
fixed issue where if there was a syntax error, the test said it passed.
shadtorrie f21b0ba
added auto doc to cmp_full_vs_incr_STA function
shadtorrie 4213846
remove vtr-task.py and vtr-test.py because I didn't actually work on …
shadtorrie be7f2ab
cleaning up random comments and fixing possible minor future bugs
shadtorrie 0a20e74
fixing small syntax error
shadtorrie 57c3c4c
fixing verify file issue
shadtorrie 1cdca8e
removed parse and task functionality to be implemented later
shadtorrie cf1da8a
removed dulicate tests and unnecessary test
shadtorrie 1a64094
removing accidental change
shadtorrie b63446c
adding newline to end of files
shadtorrie c7f965d
moved python_lib documentation to be in masters documentation
shadtorrie ba2312b
fixed file default name
shadtorrie 8a9a4a7
made circuit_name optional argument to vpr
shadtorrie f7c965f
fixing circuit_name issue
shadtorrie fc27438
fixing two small bugs
shadtorrie dab68f8
fixed verbosity confusion and fixed abc_flow_type variable
shadtorrie b04f235
fixing help message
shadtorrie a0c6fcd
replacing enum with python enum. replacing mkdir_p with Pathlib.mkdir…
shadtorrie bbc43f6
cleaned up util.py for pylint
shadtorrie 0e39c90
Switch travis python to 3.6
jgoeders 6ac6562
merged python3.6
shadtorrie 1b99792
Merge remote-tracking branch 'upstream/master'
jgoeders b1fc0a0
cleaning up error.py and inspect.py for pylint, also removing task fu…
shadtorrie 4b05c8e
actually fixing error.py to pass pylint
shadtorrie 4c78c00
fixed lec issue
shadtorrie e1d3522
fixed expected fail issue
shadtorrie fd11257
enabling all of the python library to pass pylint
shadtorrie b3eecd8
fixing enumerate issue
shadtorrie c2f12b4
merging master and resolving conflict.
shadtorrie dbd8d93
fixing accedental change with merge conflict
shadtorrie e825e21
made errors accept variable arguments
shadtorrie 07c94f9
cleaned up pathlib path
shadtorrie ce43aa5
fixing args issue
shadtorrie b02b137
fixed doc to only show important function descriptions
shadtorrie 6ae36da
cleaning up error reporting
shadtorrie dc4bfec
fixing pylint issue
shadtorrie a804275
Added error handling if architecture file is not xml
shadtorrie File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Minimal makefile for Sphinx documentation | ||
# | ||
|
||
# You can set these variables from the command line, and also | ||
# from the environment for the first two. | ||
SPHINXOPTS ?= | ||
SPHINXBUILD ?= sphinx-build | ||
SOURCEDIR = . | ||
BUILDDIR = _build | ||
|
||
# Put it first so that "make" without argument is like "make help". | ||
help: | ||
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) | ||
|
||
.PHONY: help Makefile | ||
|
||
# Catch-all target: route all unknown targets to Sphinx using the new | ||
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). | ||
%: Makefile | ||
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# -- Path setup -------------------------------------------------------------- | ||
import os | ||
import sys | ||
import sphinx_rtd_theme | ||
sys.path.insert(0, os.path.abspath('..')) | ||
|
||
|
||
# -- Project information ----------------------------------------------------- | ||
|
||
project = u'Verilog-to-Routing' | ||
copyright = u'2016, VTR Developers' | ||
author = u'VTR Developers' | ||
|
||
# -- General configuration --------------------------------------------------- | ||
|
||
# Add any Sphinx extension module names here, as strings. They can be | ||
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom | ||
# ones. | ||
extensions = [ | ||
"sphinx_rtd_theme", | ||
'sphinx.ext.autodoc', | ||
'sphinx.ext.napoleon', | ||
] | ||
|
||
# Add any paths that contain templates here, relative to this directory. | ||
templates_path = ['_templates'] | ||
|
||
# List of patterns, relative to source directory, that match files and | ||
# directories to ignore when looking for source files. | ||
# This pattern also affects html_static_path and html_extra_path. | ||
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] | ||
|
||
|
||
# -- Options for HTML output ------------------------------------------------- | ||
|
||
# The theme to use for HTML and HTML Help pages. See the documentation for | ||
# a list of builtin themes. | ||
# | ||
html_theme = 'sphinx_rtd_theme' | ||
|
||
# Add any paths that contain custom static files (such as style sheets) here, | ||
# relative to this directory. They are copied after the builtin static files, | ||
# so a file named "default.css" will overwrite the builtin "default.css". | ||
html_static_path = ['_static'] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
Welcome to VTR's documentation! | ||
=============================== | ||
.. automodule:: vtr.flow | ||
:members: run | ||
.. automodule:: vtr.odin.odin | ||
:members: | ||
.. automodule:: vtr.abc.abc | ||
:members: | ||
.. automodule:: vtr.ace.ace_flow | ||
:members: | ||
.. automodule:: vtr.vpr.vpr | ||
:members: | ||
.. toctree:: | ||
:maxdepth: 2 | ||
:caption: Contents: | ||
|
||
|
||
|
||
Indices and tables | ||
================== | ||
|
||
* :ref:`genindex` | ||
* :ref:`modindex` | ||
* :ref:`search` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
@ECHO OFF | ||
|
||
pushd %~dp0 | ||
|
||
REM Command file for Sphinx documentation | ||
|
||
if "%SPHINXBUILD%" == "" ( | ||
set SPHINXBUILD=sphinx-build | ||
) | ||
set SOURCEDIR=. | ||
set BUILDDIR=_build | ||
|
||
if "%1" == "" goto help | ||
|
||
%SPHINXBUILD% >NUL 2>NUL | ||
if errorlevel 9009 ( | ||
echo. | ||
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx | ||
echo.installed, then set the SPHINXBUILD environment variable to point | ||
echo.to the full path of the 'sphinx-build' executable. Alternatively you | ||
echo.may add the Sphinx directory to PATH. | ||
echo. | ||
echo.If you don't have Sphinx installed, grab it from | ||
echo.http://sphinx-doc.org/ | ||
exit /b 1 | ||
) | ||
|
||
%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% | ||
goto end | ||
|
||
:help | ||
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% | ||
|
||
:end | ||
popd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
from .util import load_config_lines, mkdir_p, find_vtr_file, CommandRunner, print_verbose, relax_W, file_replace, make_enum, RawDefaultHelpFormatter, VERBOSITY_CHOICES,format_elapsed_time, write_tab_delimitted_csv, load_list_file, find_vtr_root, argparse_str2bool, get_next_run_dir, get_latest_run_dir, verify_file | ||
from .inspect import determine_lut_size, determine_min_W, determine_memory_addr_width | ||
from .abc import run, run_lec | ||
from .vpr import run,run_relax_W,cmp_full_vs_incr_STA | ||
from .odin import run | ||
from .ace import run | ||
from .error import * | ||
from .flow import run, VTR_STAGE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from .abc import run, run_lec | ||
shadtorrie marked this conversation as resolved.
Show resolved
Hide resolved
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should probably be part of the verilog-to-routing docs at https://github.com/verilog-to-routing/vtr-verilog-to-routing/tree/master/doc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has been fixed