diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 902bb05..54a9e2f 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -35,9 +35,9 @@ jobs: cd verilator-compiled tar -C ${HOME} -xzf verilator.tar.gz - - name: Install Tensorflow + - name: Install DeepSoCFlow run: | - pip install pytest numpy tensorflow qkeras + pip install . - name: Verify Full Design run: | @@ -46,7 +46,6 @@ jobs: export PYMTL_VERILATOR_INCLUDE_DIR=${VERILATOR_ROOT}/share/verilator/include verilator --version - pip install . mkdir -p run/work cd run/work python -m pytest -s ../param_test.py \ No newline at end of file diff --git a/.gitignore b/.gitignore index 944426b..c25e3b6 100644 --- a/.gitignore +++ b/.gitignore @@ -18,6 +18,7 @@ deepsocflow/test/temp deepsocflow/test/py/* .svls.toml +.svlint.toml run/work/vectors/* run/work/build/* diff --git a/.svlint.toml b/.svlint.toml deleted file mode 100644 index 7bd1e86..0000000 --- a/.svlint.toml +++ /dev/null @@ -1,12 +0,0 @@ -# all rules: https://github.com/dalance/svlint/blob/master/MANUAL.md -# example: https://github.com/lowRISC/ibex/blob/master/.svlint.toml - -[option] -exclude_paths = ["asic/*", "fpga/*"] - -[rules] -non_ansi_module = true -keyword_forbidden_wire_reg = true -input_with_var = false -output_with_var = false -parameter_default_value = true \ No newline at end of file diff --git a/.gitattributes b/deepsocflow/test/py/.gitattributes similarity index 100% rename from .gitattributes rename to deepsocflow/test/py/.gitattributes diff --git a/pyproject.toml b/pyproject.toml index 0ae3166..9b25732 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,4 +15,11 @@ classifiers=[ "Development Status :: 3 - Alpha", "Programming Language :: Python :: 3.10", "Operating System :: OS Independent", +] +dependencies = [ + 'numpy >= 1.26.2', + 'pyparsing >= 3.0.9', + 'pytest >= 7.4.0', + 'QKeras >= 0.9.0', + 'tensorflow >= 2.15.0', ] \ No newline at end of file