├── .editorconfig ├── .github ├── vast.ai │ ├── .gitignore │ ├── README.md │ ├── vast.py │ └── vast_ai_helper.py └── workflows │ ├── filter.yaml │ ├── hw_dv.yaml │ ├── hw_linting.yaml │ ├── hw_openroad.yaml │ ├── linting.yaml │ ├── python_testing.yaml │ ├── python_typing.yaml │ └── resnet9_validation.yaml ├── .gitignore ├── .gitlint ├── .gitmodules ├── .pre-commit-config.yaml ├── .vscode └── settings.json ├── CHANGELOG.md ├── CITATION.cff ├── Dockerfile ├── LICENSE.txt ├── README.md ├── docs ├── conda.md ├── documents │ └── weekly_meeting │ │ └── README.md ├── hardware.md ├── images │ ├── code_preview.png │ ├── encode_kernel.png │ ├── maddness_animation.webp │ └── read_acc_lut_kernel.png └── pre-commit.md ├── environment_cpu.yml ├── environment_gpu.yml ├── halut ├── halut.env ├── hardware ├── .gitignore ├── Bender.lock ├── Bender.yml ├── Dockerfile ├── Makefile ├── README.md ├── environment_hw.yml ├── rtl │ ├── fp_16_32_adder.sv │ ├── fp_16_comparision.sv │ ├── fp_16_to_32_convert.sv │ ├── fp_add.sv │ ├── fp_adder.sv │ ├── fp_defs_pkg.sv │ ├── fp_leading_one.sv │ ├── fp_norm.sv │ ├── halut_decoder.sv │ ├── halut_decoder_x.sv │ ├── halut_encoder.sv │ ├── halut_encoder_4.sv │ ├── halut_matmul.sv │ ├── halut_pkg.sv │ ├── mixed_int_adder.sv │ ├── register_file_mem_latch.sv │ └── scm.sv ├── target │ ├── dv │ │ ├── .gitignore │ │ ├── README.md │ │ ├── fp-16-32-adder │ │ │ ├── Makefile │ │ │ └── test_fp_16_32_adder.py │ │ ├── fp-16-comparision │ │ │ ├── Makefile │ │ │ └── test_fp_16_comparision.py │ │ ├── fp-16-to-32-convert │ │ │ ├── Makefile │ │ │ └── test_fp_16_to_32_convert.py │ │ ├── fp-adder │ │ │ ├── Makefile │ │ │ └── test_fp_adder.py │ │ ├── halut-decoder-x │ │ │ ├── Makefile │ │ │ └── test_halut_decoder_x.py │ │ ├── halut-decoder │ │ │ ├── Makefile │ │ │ └── test_halut_decoder.py │ │ ├── halut-encoder-4 │ │ │ ├── Makefile │ │ │ └── test_halut_encoder_4.py │ │ ├── halut-encoder │ │ │ ├── Makefile │ │ │ └── test_halut_encoder.py │ │ ├── halut-matmul │ │ │ ├── Makefile │ │ │ └── test_halut_matmul.py │ │ ├── mixed-int-adder │ │ │ ├── Makefile │ │ │ └── test_mixed_int_adder.py │ │ ├── scm │ │ │ ├── Makefile │ │ │ └── test_scm.py │ │ ├── tests.mk │ │ └── util │ │ │ ├── __init__.py │ │ │ └── helper_functions.py │ ├── open-frontend │ │ └── pickle │ │ │ ├── .gitignore │ │ │ └── pickle.mk │ ├── open-synth-and-pnr │ │ ├── .gitignore │ │ ├── nangate45 │ │ │ ├── config.mk │ │ │ └── constraint.sdc │ │ └── synth-and-pnr.mk │ ├── post-layout-simulation │ │ ├── halut_encoder_sim │ │ │ └── sim_halut_encoder.py │ │ └── halut_matmul_sim │ │ │ └── sim_halut_matmul.py │ └── scaling │ │ ├── fuse_batch_norm_scaling.py │ │ ├── im2row_and_max_pooling.py │ │ └── scale_system.py └── util │ └── generateReadmeTable.py ├── pyproject.toml └── src └── python ├── concepts ├── __init__.py ├── profile_path.py ├── test_accuracy.py ├── test_centroid_mapping.py ├── test_encoding.py ├── test_kmeans.py ├── test_lut_calculation.py ├── test_mse_calc.py ├── test_reformulation.py └── understanding_im2col.py ├── example.py ├── halutmatmul ├── __init__.py ├── cuda │ ├── __init__.py │ └── functions.py ├── functions.py ├── halutmatmul.py ├── learn.py ├── maddness.py ├── maddness_multisplit.py ├── model.py └── modules.py ├── models ├── __init__.py ├── helper.py ├── resnet.py ├── resnet20.py ├── resnet9.py └── tiny │ ├── __init__.py │ └── resnet8.py ├── retraining.py ├── test ├── __init__.py ├── model_eval.py ├── test_conv2d.py ├── test_halut.py ├── test_linear.py ├── test_resnet.py └── test_utils │ ├── __init__.py │ └── utils.py ├── training ├── README.md ├── __init__.py ├── presets.py ├── timm_model.py ├── train.py ├── train_quantization.py └── utils_train.py └── utils ├── __init__.py └── analysis_helper.py /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/vast.ai/.gitignore: -------------------------------------------------------------------------------- 1 | .ssh -------------------------------------------------------------------------------- /.github/vast.ai/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/.github/vast.ai/README.md -------------------------------------------------------------------------------- /.github/vast.ai/vast.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/.github/vast.ai/vast.py -------------------------------------------------------------------------------- /.github/vast.ai/vast_ai_helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/.github/vast.ai/vast_ai_helper.py -------------------------------------------------------------------------------- /.github/workflows/filter.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/.github/workflows/filter.yaml -------------------------------------------------------------------------------- /.github/workflows/hw_dv.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/.github/workflows/hw_dv.yaml -------------------------------------------------------------------------------- /.github/workflows/hw_linting.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/.github/workflows/hw_linting.yaml -------------------------------------------------------------------------------- /.github/workflows/hw_openroad.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/.github/workflows/hw_openroad.yaml -------------------------------------------------------------------------------- /.github/workflows/linting.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/.github/workflows/linting.yaml -------------------------------------------------------------------------------- /.github/workflows/python_testing.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/.github/workflows/python_testing.yaml -------------------------------------------------------------------------------- /.github/workflows/python_typing.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/.github/workflows/python_typing.yaml -------------------------------------------------------------------------------- /.github/workflows/resnet9_validation.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/.github/workflows/resnet9_validation.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitlint: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/.gitlint -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/.gitmodules -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CITATION.cff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/CITATION.cff -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/README.md -------------------------------------------------------------------------------- /docs/conda.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/docs/conda.md -------------------------------------------------------------------------------- /docs/documents/weekly_meeting/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/docs/documents/weekly_meeting/README.md -------------------------------------------------------------------------------- /docs/hardware.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/docs/hardware.md -------------------------------------------------------------------------------- /docs/images/code_preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/docs/images/code_preview.png -------------------------------------------------------------------------------- /docs/images/encode_kernel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/docs/images/encode_kernel.png -------------------------------------------------------------------------------- /docs/images/maddness_animation.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/docs/images/maddness_animation.webp -------------------------------------------------------------------------------- /docs/images/read_acc_lut_kernel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/docs/images/read_acc_lut_kernel.png -------------------------------------------------------------------------------- /docs/pre-commit.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/docs/pre-commit.md -------------------------------------------------------------------------------- /environment_cpu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/environment_cpu.yml -------------------------------------------------------------------------------- /environment_gpu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/environment_gpu.yml -------------------------------------------------------------------------------- /halut: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/halut -------------------------------------------------------------------------------- /halut.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/halut.env -------------------------------------------------------------------------------- /hardware/.gitignore: -------------------------------------------------------------------------------- 1 | internal 2 | build 3 | .bender 4 | target/commercial-14nm -------------------------------------------------------------------------------- /hardware/Bender.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/Bender.lock -------------------------------------------------------------------------------- /hardware/Bender.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/Bender.yml -------------------------------------------------------------------------------- /hardware/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/Dockerfile -------------------------------------------------------------------------------- /hardware/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/Makefile -------------------------------------------------------------------------------- /hardware/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/README.md -------------------------------------------------------------------------------- /hardware/environment_hw.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/environment_hw.yml -------------------------------------------------------------------------------- /hardware/rtl/fp_16_32_adder.sv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/rtl/fp_16_32_adder.sv -------------------------------------------------------------------------------- /hardware/rtl/fp_16_comparision.sv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/rtl/fp_16_comparision.sv -------------------------------------------------------------------------------- /hardware/rtl/fp_16_to_32_convert.sv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/rtl/fp_16_to_32_convert.sv -------------------------------------------------------------------------------- /hardware/rtl/fp_add.sv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/rtl/fp_add.sv -------------------------------------------------------------------------------- /hardware/rtl/fp_adder.sv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/rtl/fp_adder.sv -------------------------------------------------------------------------------- /hardware/rtl/fp_defs_pkg.sv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/rtl/fp_defs_pkg.sv -------------------------------------------------------------------------------- /hardware/rtl/fp_leading_one.sv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/rtl/fp_leading_one.sv -------------------------------------------------------------------------------- /hardware/rtl/fp_norm.sv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/rtl/fp_norm.sv -------------------------------------------------------------------------------- /hardware/rtl/halut_decoder.sv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/rtl/halut_decoder.sv -------------------------------------------------------------------------------- /hardware/rtl/halut_decoder_x.sv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/rtl/halut_decoder_x.sv -------------------------------------------------------------------------------- /hardware/rtl/halut_encoder.sv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/rtl/halut_encoder.sv -------------------------------------------------------------------------------- /hardware/rtl/halut_encoder_4.sv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/rtl/halut_encoder_4.sv -------------------------------------------------------------------------------- /hardware/rtl/halut_matmul.sv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/rtl/halut_matmul.sv -------------------------------------------------------------------------------- /hardware/rtl/halut_pkg.sv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/rtl/halut_pkg.sv -------------------------------------------------------------------------------- /hardware/rtl/mixed_int_adder.sv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/rtl/mixed_int_adder.sv -------------------------------------------------------------------------------- /hardware/rtl/register_file_mem_latch.sv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/rtl/register_file_mem_latch.sv -------------------------------------------------------------------------------- /hardware/rtl/scm.sv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/rtl/scm.sv -------------------------------------------------------------------------------- /hardware/target/dv/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/target/dv/.gitignore -------------------------------------------------------------------------------- /hardware/target/dv/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/target/dv/README.md -------------------------------------------------------------------------------- /hardware/target/dv/fp-16-32-adder/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/target/dv/fp-16-32-adder/Makefile -------------------------------------------------------------------------------- /hardware/target/dv/fp-16-32-adder/test_fp_16_32_adder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/target/dv/fp-16-32-adder/test_fp_16_32_adder.py -------------------------------------------------------------------------------- /hardware/target/dv/fp-16-comparision/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/target/dv/fp-16-comparision/Makefile -------------------------------------------------------------------------------- /hardware/target/dv/fp-16-comparision/test_fp_16_comparision.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/target/dv/fp-16-comparision/test_fp_16_comparision.py -------------------------------------------------------------------------------- /hardware/target/dv/fp-16-to-32-convert/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/target/dv/fp-16-to-32-convert/Makefile -------------------------------------------------------------------------------- /hardware/target/dv/fp-16-to-32-convert/test_fp_16_to_32_convert.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/target/dv/fp-16-to-32-convert/test_fp_16_to_32_convert.py -------------------------------------------------------------------------------- /hardware/target/dv/fp-adder/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/target/dv/fp-adder/Makefile -------------------------------------------------------------------------------- /hardware/target/dv/fp-adder/test_fp_adder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/target/dv/fp-adder/test_fp_adder.py -------------------------------------------------------------------------------- /hardware/target/dv/halut-decoder-x/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/target/dv/halut-decoder-x/Makefile -------------------------------------------------------------------------------- /hardware/target/dv/halut-decoder-x/test_halut_decoder_x.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/target/dv/halut-decoder-x/test_halut_decoder_x.py -------------------------------------------------------------------------------- /hardware/target/dv/halut-decoder/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/target/dv/halut-decoder/Makefile -------------------------------------------------------------------------------- /hardware/target/dv/halut-decoder/test_halut_decoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/target/dv/halut-decoder/test_halut_decoder.py -------------------------------------------------------------------------------- /hardware/target/dv/halut-encoder-4/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/target/dv/halut-encoder-4/Makefile -------------------------------------------------------------------------------- /hardware/target/dv/halut-encoder-4/test_halut_encoder_4.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/target/dv/halut-encoder-4/test_halut_encoder_4.py -------------------------------------------------------------------------------- /hardware/target/dv/halut-encoder/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/target/dv/halut-encoder/Makefile -------------------------------------------------------------------------------- /hardware/target/dv/halut-encoder/test_halut_encoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/target/dv/halut-encoder/test_halut_encoder.py -------------------------------------------------------------------------------- /hardware/target/dv/halut-matmul/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/target/dv/halut-matmul/Makefile -------------------------------------------------------------------------------- /hardware/target/dv/halut-matmul/test_halut_matmul.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/target/dv/halut-matmul/test_halut_matmul.py -------------------------------------------------------------------------------- /hardware/target/dv/mixed-int-adder/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/target/dv/mixed-int-adder/Makefile -------------------------------------------------------------------------------- /hardware/target/dv/mixed-int-adder/test_mixed_int_adder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/target/dv/mixed-int-adder/test_mixed_int_adder.py -------------------------------------------------------------------------------- /hardware/target/dv/scm/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/target/dv/scm/Makefile -------------------------------------------------------------------------------- /hardware/target/dv/scm/test_scm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/target/dv/scm/test_scm.py -------------------------------------------------------------------------------- /hardware/target/dv/tests.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/target/dv/tests.mk -------------------------------------------------------------------------------- /hardware/target/dv/util/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /hardware/target/dv/util/helper_functions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/target/dv/util/helper_functions.py -------------------------------------------------------------------------------- /hardware/target/open-frontend/pickle/.gitignore: -------------------------------------------------------------------------------- 1 | out -------------------------------------------------------------------------------- /hardware/target/open-frontend/pickle/pickle.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/target/open-frontend/pickle/pickle.mk -------------------------------------------------------------------------------- /hardware/target/open-synth-and-pnr/.gitignore: -------------------------------------------------------------------------------- 1 | out -------------------------------------------------------------------------------- /hardware/target/open-synth-and-pnr/nangate45/config.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/target/open-synth-and-pnr/nangate45/config.mk -------------------------------------------------------------------------------- /hardware/target/open-synth-and-pnr/nangate45/constraint.sdc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/target/open-synth-and-pnr/nangate45/constraint.sdc -------------------------------------------------------------------------------- /hardware/target/open-synth-and-pnr/synth-and-pnr.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/target/open-synth-and-pnr/synth-and-pnr.mk -------------------------------------------------------------------------------- /hardware/target/post-layout-simulation/halut_encoder_sim/sim_halut_encoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/target/post-layout-simulation/halut_encoder_sim/sim_halut_encoder.py -------------------------------------------------------------------------------- /hardware/target/post-layout-simulation/halut_matmul_sim/sim_halut_matmul.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/target/post-layout-simulation/halut_matmul_sim/sim_halut_matmul.py -------------------------------------------------------------------------------- /hardware/target/scaling/fuse_batch_norm_scaling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/target/scaling/fuse_batch_norm_scaling.py -------------------------------------------------------------------------------- /hardware/target/scaling/im2row_and_max_pooling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/target/scaling/im2row_and_max_pooling.py -------------------------------------------------------------------------------- /hardware/target/scaling/scale_system.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/target/scaling/scale_system.py -------------------------------------------------------------------------------- /hardware/util/generateReadmeTable.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/hardware/util/generateReadmeTable.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/pyproject.toml -------------------------------------------------------------------------------- /src/python/concepts/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/python/concepts/profile_path.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/src/python/concepts/profile_path.py -------------------------------------------------------------------------------- /src/python/concepts/test_accuracy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/src/python/concepts/test_accuracy.py -------------------------------------------------------------------------------- /src/python/concepts/test_centroid_mapping.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/src/python/concepts/test_centroid_mapping.py -------------------------------------------------------------------------------- /src/python/concepts/test_encoding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/src/python/concepts/test_encoding.py -------------------------------------------------------------------------------- /src/python/concepts/test_kmeans.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/src/python/concepts/test_kmeans.py -------------------------------------------------------------------------------- /src/python/concepts/test_lut_calculation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/src/python/concepts/test_lut_calculation.py -------------------------------------------------------------------------------- /src/python/concepts/test_mse_calc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/src/python/concepts/test_mse_calc.py -------------------------------------------------------------------------------- /src/python/concepts/test_reformulation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/src/python/concepts/test_reformulation.py -------------------------------------------------------------------------------- /src/python/concepts/understanding_im2col.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/src/python/concepts/understanding_im2col.py -------------------------------------------------------------------------------- /src/python/example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/src/python/example.py -------------------------------------------------------------------------------- /src/python/halutmatmul/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/python/halutmatmul/cuda/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/python/halutmatmul/cuda/functions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/src/python/halutmatmul/cuda/functions.py -------------------------------------------------------------------------------- /src/python/halutmatmul/functions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/src/python/halutmatmul/functions.py -------------------------------------------------------------------------------- /src/python/halutmatmul/halutmatmul.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/src/python/halutmatmul/halutmatmul.py -------------------------------------------------------------------------------- /src/python/halutmatmul/learn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/src/python/halutmatmul/learn.py -------------------------------------------------------------------------------- /src/python/halutmatmul/maddness.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/src/python/halutmatmul/maddness.py -------------------------------------------------------------------------------- /src/python/halutmatmul/maddness_multisplit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/src/python/halutmatmul/maddness_multisplit.py -------------------------------------------------------------------------------- /src/python/halutmatmul/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/src/python/halutmatmul/model.py -------------------------------------------------------------------------------- /src/python/halutmatmul/modules.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/src/python/halutmatmul/modules.py -------------------------------------------------------------------------------- /src/python/models/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/python/models/helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/src/python/models/helper.py -------------------------------------------------------------------------------- /src/python/models/resnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/src/python/models/resnet.py -------------------------------------------------------------------------------- /src/python/models/resnet20.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/src/python/models/resnet20.py -------------------------------------------------------------------------------- /src/python/models/resnet9.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/src/python/models/resnet9.py -------------------------------------------------------------------------------- /src/python/models/tiny/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/python/models/tiny/resnet8.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/src/python/models/tiny/resnet8.py -------------------------------------------------------------------------------- /src/python/retraining.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/src/python/retraining.py -------------------------------------------------------------------------------- /src/python/test/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/python/test/model_eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/src/python/test/model_eval.py -------------------------------------------------------------------------------- /src/python/test/test_conv2d.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/src/python/test/test_conv2d.py -------------------------------------------------------------------------------- /src/python/test/test_halut.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/src/python/test/test_halut.py -------------------------------------------------------------------------------- /src/python/test/test_linear.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/src/python/test/test_linear.py -------------------------------------------------------------------------------- /src/python/test/test_resnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/src/python/test/test_resnet.py -------------------------------------------------------------------------------- /src/python/test/test_utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/python/test/test_utils/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/src/python/test/test_utils/utils.py -------------------------------------------------------------------------------- /src/python/training/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/src/python/training/README.md -------------------------------------------------------------------------------- /src/python/training/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/python/training/presets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/src/python/training/presets.py -------------------------------------------------------------------------------- /src/python/training/timm_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/src/python/training/timm_model.py -------------------------------------------------------------------------------- /src/python/training/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/src/python/training/train.py -------------------------------------------------------------------------------- /src/python/training/train_quantization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/src/python/training/train_quantization.py -------------------------------------------------------------------------------- /src/python/training/utils_train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/src/python/training/utils_train.py -------------------------------------------------------------------------------- /src/python/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/python/utils/analysis_helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joennlae/halutmatmul/HEAD/src/python/utils/analysis_helper.py --------------------------------------------------------------------------------