Skip to content

Commit 70d7e13

Browse files
Operations definition - DASC (#21)
1 parent 063ada7 commit 70d7e13

File tree

64 files changed

+5222
-1140
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+5222
-1140
lines changed

.github/workflows/standalone-vta-test.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77
branches: [ "main" ]
88
pull_request:
99
branches: [ "main" ]
10+
# Manual workflow execution
11+
workflow_dispatch:
1012

1113
permissions:
1214
contents: read
@@ -24,12 +26,8 @@ jobs:
2426
auto-activate-base: false
2527
environment-file: environment_setup/standalone-vta.yml
2628
activate-environment: standalone-vta
27-
- name: Build Lenet5 instructions and data
28-
run: make lenet5
29-
- name: Display compiler results
30-
run: cat compiler_output/prompt_data.txt
31-
- name: Display simulator results
32-
run: cat simulators_output/fsim_report.txt
29+
- name: Tests VTA compiler and functional simulator
30+
run: cd examples && make test
3331

3432
cycle-accurate-simulator-test:
3533
runs-on: ubuntu-latest

Makefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,17 @@ DATA_FILE := examples.data_$(FILENAME)
1111
INSN_FILE := insn_$(FILENAME)
1212

1313
# Default example
14-
all: $(FILENAME)
14+
all:
15+
@echo "LeNet-5 Compilation and Simulation"
16+
@echo "For more test, go in the folder examples/ ('cd examples/')"
17+
cd examples/ && make -s lenet5_full
18+
1519

1620
# Execution with specified FILENAME
1721
$(FILENAME): | compiler_output/ simulators_output/
1822
python src/compiler/vta_compiler/data_definition/main_matrix_generator.py $(DATA_FILE) > compiler_output/prompt_data.txt
1923
python src/compiler/vta_compiler/operations_definition/examples/$(INSN_FILE).py > compiler_output/prompt_insn.txt
20-
cd src/simulators/functional_simulator && make -s execute > $(MAKEFILE_DIR)simulators_output/fsim_report.txt
24+
cd src/simulators/functional_simulator && make -s tempo > $(MAKEFILE_DIR)simulators_output/fsim_report.txt
2125

2226
# Execution of LeNet-5
2327
lenet5: | compiler_output/ simulators_output/

README.md

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ A maintained, unified, and extended Versatile Tensor Accelerator (VTA) ecosystem
66

77
This repository addresses the limitations of the original VTA project by providing:
88

9-
* **Active Maintenance:** An up-to-date and maintained VTA codebase.
109
* **Unified Simulation:** A consistent input format (raw binary files) for both functional (C++) and cycle-accurate (CHISEL) simulators.
1110
* **Extended Cycle-Accurate Simulation:** Enriched cycle-accurate simulation with multiple test cases for different submodules.
1211
* **Standalone Compiler:** An open-source, TVM-independent compiler for generating VTA binaries.
@@ -16,20 +15,13 @@ This project aims to improve the VTA's usability and applicability, particularly
1615
## Repository Structure
1716

1817
* `tutorials/` : Contains a Jupyter tutorial in two parts explaining and illustrating the use of the VTA compiler.
19-
* `compiler/`: Contains the standalone VTA compiler, data definition, and operation definition tools.
20-
* `data_definition/`: Tools for generating binary data to be executed by the VTA.
21-
* `operations_definition/`: Tools for generating VTA instructions.
22-
* `simulators/`: Contains the VTA simulators.
23-
* `functional_simulator/`: A C++ simulator that models the functional behaviour of the VTA.
24-
* `cycle_accurate_simulator/`: A cycle-accurate hardware description using CHISEL, along with simulation testbenches.
25-
* `src/main/scala/core/`: The hardware description of the VTA.
26-
* `src/test/scala/simulator/`: The cycle-accurate simulator with different level of simulation (e.g., TensorAlu, Compute module, TensorGemm). The cycle-accurate simulator uses JSON files located in `src/test/scala/resources/`.
27-
* `src/test/scala/formal/`: The formal verification of the VTA hardware description using chiseltest.
28-
* `Makefile`: To execute examples including compilation and simulation. The command `make list` give the list of the possible filename, then `make FILENAME=<filename>` enables to run an example. For example:
29-
```
30-
make FILENAME=lenet5_layer1
31-
```
32-
The result of the execution will be stored in `simulators_output/` and named `fsim_report.txt`.
18+
* `src/`: Contains the source code of the project.
19+
* `compiler/`: Contains the VTA compiler that generates the binaries from JSON file.
20+
* `simulators/`: Both functional (C++) and cycle-accurate (CHISEL) simulators.
21+
* `examples/`: The examples to run.
22+
* `Makefile`: Use `make help`to get the different examples to run.
23+
* `config/vta_config.json`: The JSON file that defines the VTA hardware parameters.
24+
* `environment_setup\standalone-vta.yml`: The file to setup the conda environment for executing the project.
3325

3426

3527
## Getting Started
@@ -41,6 +33,12 @@ To get started with this repository, follow these steps:
4133
git clone https://github.com/onera/standalone-vta.git
4234
cd standalone_vta
4335
```
44-
2. **Explore the subprojects:** Refer to the individual `README.md` files within each subdirectory (`compiler/`, `simulators/`) for detailed instructions on building, running, and using the specific tools and simulators.
36+
2. **Run the examples:**
37+
```
38+
cd examples
39+
make help
40+
make matrix_16x16
41+
```
42+
It results in two folders: `compiler_output/` and `simulators_output`.
4543
4644

examples/Makefile

Lines changed: 156 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
MAKEFILE_DIR := $(dir $(realpath $(lastword $(MAKEFILE_LIST))))
66
PROJECT_DIR := $(abspath $(MAKEFILE_DIR)/..)
77
COMPILER_OUTPUT_DIR := $(PROJECT_DIR)/compiler_output
8-
SIMULATOR_OUTPUT_DIR := $(PROJECT_DIR)/simulator_output
8+
SIMULATOR_OUTPUT_DIR := $(PROJECT_DIR)/simulators_output
99
SRC_DIR := $(PROJECT_DIR)/src
1010
COMPILER_DIR := $(SRC_DIR)/compiler
1111
VTA_COMPILER_DIR := $(COMPILER_DIR)/vta_compiler
12-
# TO MODIFY
13-
CONFIG := $(VTA_COMPILER_DIR)/config
12+
FSIM_DIR := $(SRC_DIR)/simulators/functional_simulator
13+
CONFIG := $(PROJECT_DIR)/config
1414

1515
# VARIABLES
1616
###########
@@ -21,21 +21,165 @@ DEBUG ?= True
2121
###########
2222
all: help
2323

24-
matrix_16x16: ## Mutliply two 16x16-matrices and apply a ReLU (MAX with 0)
24+
# MATRIX MULTIPLICATION EXAMPLES
25+
matrix_16x16: ## Mutliply two 16x16-matrices
2526
make clean
2627
python $(VTA_COMPILER_DIR)/main_vta_compiler.py $(MAKEFILE_DIR)matrix_operations/matrix_16x16.json $(CONFIG)/vta_config.json $(DEBUG) > $(COMPILER_OUTPUT_DIR)/prompt_vta_compiler.txt
28+
cd $(FSIM_DIR) && make -s execute > $(SIMULATOR_OUTPUT_DIR)/fsim_report.txt
2729

28-
matrix_16x16_maxpool: ## Multiply two 16x16-matrices and apply a MAX vector-vector with a stride of 1 (preliminary to MAXPOOL)
30+
matrix_16x16_relu: ## Mutliply two 16x16-matrices and apply a ReLU (MAX with 0)
2931
make clean
30-
python $(VTA_COMPILER_DIR)/main_vta_compiler.py $(MAKEFILE_DIR)matrix_operations/matrix_16x16_maxpool.json $(CONFIG)/vta_config.json $(DEBUG) > $(COMPILER_OUTPUT_DIR)/prompt_vta_compiler.txt
32+
python $(VTA_COMPILER_DIR)/main_vta_compiler.py $(MAKEFILE_DIR)matrix_operations/matrix_16x16_relu.json $(CONFIG)/vta_config.json $(DEBUG) > $(COMPILER_OUTPUT_DIR)/prompt_vta_compiler.txt
33+
cd $(FSIM_DIR) && make -s execute > $(SIMULATOR_OUTPUT_DIR)/fsim_report.txt
3134

3235
matrix_20x20: ## Multiply two 20x20-matrices and perform some ALU operations
3336
make clean
3437
python $(VTA_COMPILER_DIR)/main_vta_compiler.py $(MAKEFILE_DIR)matrix_operations/matrix_20x20.json $(CONFIG)/vta_config.json $(DEBUG) > $(COMPILER_OUTPUT_DIR)/prompt_vta_compiler.txt
38+
cd $(FSIM_DIR) && make -s execute > $(SIMULATOR_OUTPUT_DIR)/fsim_report.txt
3539

3640
matrix_8blocks: ## Multiply a 4x2-blocks INP with a 2x3-blocks WGT
3741
make clean
3842
python $(VTA_COMPILER_DIR)/main_vta_compiler.py $(MAKEFILE_DIR)matrix_operations/matrix_8blocks.json $(CONFIG)/vta_config.json $(DEBUG) > $(COMPILER_OUTPUT_DIR)/prompt_vta_compiler.txt
43+
cd $(FSIM_DIR) && make -s execute > $(SIMULATOR_OUTPUT_DIR)/fsim_report.txt
44+
45+
matrix_overfitting: ## Multiply a 4x2-blocks INP with a 2x3-blocks WGT
46+
make clean
47+
python $(VTA_COMPILER_DIR)/main_vta_compiler.py $(MAKEFILE_DIR)matrix_operations/matrix_8blocks.json $(MAKEFILE_DIR)matrix_operations/alternative_config/config_for_overfitting.json $(DEBUG) > $(COMPILER_OUTPUT_DIR)/prompt_vta_compiler.txt
48+
cd $(FSIM_DIR) && make -s execute > $(SIMULATOR_OUTPUT_DIR)/fsim_report.txt
49+
50+
# Test
51+
test_matmul:
52+
make clean
53+
python $(MAKEFILE_DIR)matrix_operations/testing/test_matmul_relu.py
54+
python $(VTA_COMPILER_DIR)/main_vta_compiler.py $(MAKEFILE_DIR)matrix_operations/testing/matmul_relu.json $(CONFIG)/vta_config.json False
55+
cd $(FSIM_DIR) && make -s execute > $(SIMULATOR_OUTPUT_DIR)/fsim_report.txt
56+
57+
58+
# MATRIX MULTIPLICATION WITH SCALAR EXAMPLES
59+
matrix_mul_constant: ## Mutliply a 16x16-matrices with a constant
60+
make clean
61+
python $(VTA_COMPILER_DIR)/main_vta_compiler.py $(MAKEFILE_DIR)matrix_operations/matrix_mul_constant.json $(CONFIG)/vta_config.json $(DEBUG) > $(COMPILER_OUTPUT_DIR)/prompt_vta_compiler.txt
62+
cd $(FSIM_DIR) && make -s execute > $(SIMULATOR_OUTPUT_DIR)/fsim_report.txt
63+
64+
# Test
65+
test_mul_constant:
66+
make clean
67+
python $(MAKEFILE_DIR)matrix_operations/testing/test_mul_constant.py
68+
python $(VTA_COMPILER_DIR)/main_vta_compiler.py $(MAKEFILE_DIR)matrix_operations/testing/mul_constant.json $(CONFIG)/vta_config.json False
69+
cd $(FSIM_DIR) && make -s execute > $(SIMULATOR_OUTPUT_DIR)/fsim_report.txt
70+
71+
72+
# MATRIX POOLING EXAMPLE
73+
matrix_maxpool: ## Apply a maxpool with a 3x3-kernel on a flatten 6x6-tensor
74+
make clean
75+
python $(VTA_COMPILER_DIR)/main_vta_compiler.py $(MAKEFILE_DIR)matrix_operations/matrix_maxpool.json $(CONFIG)/vta_config.json $(DEBUG) > $(COMPILER_OUTPUT_DIR)/prompt_vta_compiler.txt
76+
cd $(FSIM_DIR) && make -s execute > $(SIMULATOR_OUTPUT_DIR)/fsim_report.txt
77+
78+
matrix_maxpool_overfitting: ## Apply a maxpool with a 3x3-kernel on a flatten 6x6-tensor, buffers can only store 16 vectors (A single step is required by MAX)
79+
make clean
80+
python $(VTA_COMPILER_DIR)/main_vta_compiler.py $(MAKEFILE_DIR)matrix_operations/matrix_maxpool.json $(MAKEFILE_DIR)matrix_operations/alternative_config/config_pool_overfitting.json $(DEBUG) > $(COMPILER_OUTPUT_DIR)/prompt_vta_compiler.txt
81+
cd $(FSIM_DIR) && make -s execute > $(SIMULATOR_OUTPUT_DIR)/fsim_report.txt
82+
83+
matrix_maxpool_big_overfitting: ## Apply a maxpool with a 3x3-kernel on a flatten 6x6-tensor, buffers can only store 4 vectors (Multiple steps are required by MAX)
84+
make clean
85+
python $(VTA_COMPILER_DIR)/main_vta_compiler.py $(MAKEFILE_DIR)matrix_operations/matrix_maxpool.json $(MAKEFILE_DIR)matrix_operations/alternative_config/config_pool_big_overfitting.json $(DEBUG) > $(COMPILER_OUTPUT_DIR)/prompt_vta_compiler.txt
86+
cd $(FSIM_DIR) && make -s execute > $(SIMULATOR_OUTPUT_DIR)/fsim_report.txt
87+
88+
# Test
89+
test_maxpool:
90+
make clean
91+
python $(MAKEFILE_DIR)matrix_operations/testing/test_maxpool.py
92+
python $(VTA_COMPILER_DIR)/main_vta_compiler.py $(MAKEFILE_DIR)matrix_operations/testing/maxpool.json $(CONFIG)/vta_config.json False
93+
cd $(FSIM_DIR) && make -s execute > $(SIMULATOR_OUTPUT_DIR)/fsim_report.txt
94+
95+
96+
# ADDING 2 MATRICES EXAMPLES
97+
matrix_add: ## Add two 16x16 matrices together
98+
make clean
99+
python $(VTA_COMPILER_DIR)/main_vta_compiler.py $(MAKEFILE_DIR)matrix_operations/add_16x16matrix.json $(CONFIG)/vta_config.json $(DEBUG) > $(COMPILER_OUTPUT_DIR)/prompt_vta_compiler.txt
100+
cd $(FSIM_DIR) && make -s execute > $(SIMULATOR_OUTPUT_DIR)/fsim_report.txt
101+
102+
# Test
103+
test_add:
104+
make clean
105+
python $(MAKEFILE_DIR)matrix_operations/testing/test_add.py
106+
python $(VTA_COMPILER_DIR)/main_vta_compiler.py $(MAKEFILE_DIR)matrix_operations/testing/add_two_matrices.json $(CONFIG)/vta_config.json False
107+
cd $(FSIM_DIR) && make -s execute > $(SIMULATOR_OUTPUT_DIR)/fsim_report.txt
108+
109+
110+
# LENET-5 TESTS
111+
###############
112+
lenet5_layer1:
113+
make clean
114+
python $(VTA_COMPILER_DIR)/main_vta_compiler.py $(MAKEFILE_DIR)matrix_operations/lenet5/lenet5_layer1.json $(CONFIG)/vta_config.json $(DEBUG) > $(COMPILER_OUTPUT_DIR)/prompt_vta_compiler.txt
115+
cd $(FSIM_DIR) && make -s execute > $(SIMULATOR_OUTPUT_DIR)/fsim_report.txt
116+
117+
lenet5_layer2:
118+
make clean
119+
python $(VTA_COMPILER_DIR)/main_vta_compiler.py $(MAKEFILE_DIR)matrix_operations/lenet5/lenet5_layer2.json $(CONFIG)/vta_config.json $(DEBUG) > $(COMPILER_OUTPUT_DIR)/prompt_vta_compiler.txt
120+
cd $(FSIM_DIR) && make -s execute > $(SIMULATOR_OUTPUT_DIR)/fsim_report.txt
121+
122+
lenet5_layer3:
123+
make clean
124+
python $(VTA_COMPILER_DIR)/main_vta_compiler.py $(MAKEFILE_DIR)matrix_operations/lenet5/lenet5_layer3.json $(CONFIG)/vta_config.json $(DEBUG) > $(COMPILER_OUTPUT_DIR)/prompt_vta_compiler.txt
125+
cd $(FSIM_DIR) && make -s execute > $(SIMULATOR_OUTPUT_DIR)/fsim_report.txt
126+
127+
lenet5_layer4:
128+
make clean
129+
python $(VTA_COMPILER_DIR)/main_vta_compiler.py $(MAKEFILE_DIR)matrix_operations/lenet5/lenet5_layer4.json $(CONFIG)/vta_config.json $(DEBUG) > $(COMPILER_OUTPUT_DIR)/prompt_vta_compiler.txt
130+
cd $(FSIM_DIR) && make -s execute > $(SIMULATOR_OUTPUT_DIR)/fsim_report.txt
131+
132+
lenet5_layer5:
133+
make clean
134+
python $(VTA_COMPILER_DIR)/main_vta_compiler.py $(MAKEFILE_DIR)matrix_operations/lenet5/lenet5_layer5.json $(CONFIG)/vta_config.json $(DEBUG) > $(COMPILER_OUTPUT_DIR)/prompt_vta_compiler.txt
135+
cd $(FSIM_DIR) && make -s execute > $(SIMULATOR_OUTPUT_DIR)/fsim_report.txt
136+
137+
lenet5_full: ## LeNet-5 simulation
138+
make clean
139+
python $(MAKEFILE_DIR)matrix_operations/lenet5/lenet5_full/main_reference_lenet5.py > $(COMPILER_OUTPUT_DIR)/prompt_vta_compiler.txt
140+
python $(VTA_COMPILER_DIR)/main_vta_compiler.py $(MAKEFILE_DIR)matrix_operations/lenet5/lenet5_full/lenet5_layer1.json $(CONFIG)/vta_config.json $(DEBUG) > $(COMPILER_OUTPUT_DIR)/prompt_vta_compiler_L1.txt
141+
python $(VTA_COMPILER_DIR)/main_vta_compiler.py $(MAKEFILE_DIR)matrix_operations/lenet5/lenet5_full/lenet5_layer2.json $(CONFIG)/vta_config.json $(DEBUG) > $(COMPILER_OUTPUT_DIR)/prompt_vta_compiler_L2.txt
142+
python $(VTA_COMPILER_DIR)/main_vta_compiler.py $(MAKEFILE_DIR)matrix_operations/lenet5/lenet5_full/lenet5_layer3.json $(CONFIG)/vta_config.json $(DEBUG) > $(COMPILER_OUTPUT_DIR)/prompt_vta_compiler_L3.txt
143+
python $(VTA_COMPILER_DIR)/main_vta_compiler.py $(MAKEFILE_DIR)matrix_operations/lenet5/lenet5_full/lenet5_layer4.json $(CONFIG)/vta_config.json $(DEBUG) > $(COMPILER_OUTPUT_DIR)/prompt_vta_compiler_L4.txt
144+
python $(VTA_COMPILER_DIR)/main_vta_compiler.py $(MAKEFILE_DIR)matrix_operations/lenet5/lenet5_full/lenet5_layer5.json $(CONFIG)/vta_config.json $(DEBUG) > $(COMPILER_OUTPUT_DIR)/prompt_vta_compiler_L5.txt
145+
cd $(FSIM_DIR) && make -s lenet5 > $(SIMULATOR_OUTPUT_DIR)/fsim_report.txt
146+
@echo ""
147+
@echo "SUCCESS!"
148+
149+
150+
# YOLONAS TESTS
151+
###############
152+
yolonas_conv1:
153+
make clean
154+
python $(VTA_COMPILER_DIR)/main_vta_compiler.py $(MAKEFILE_DIR)matrix_operations/yolonas/yolonas_conv1.json $(CONFIG)/vta_config.json $(DEBUG) > $(COMPILER_OUTPUT_DIR)/prompt_vta_compiler.txt
155+
cd $(FSIM_DIR) && make -s execute > $(SIMULATOR_OUTPUT_DIR)/fsim_report.txt
156+
157+
yolonas_conv2:
158+
make clean
159+
python $(VTA_COMPILER_DIR)/main_vta_compiler.py $(MAKEFILE_DIR)matrix_operations/yolonas/yolonas_conv2.json $(CONFIG)/vta_config.json $(DEBUG) > $(COMPILER_OUTPUT_DIR)/prompt_vta_compiler.txt
160+
cd $(FSIM_DIR) && make -s execute > $(SIMULATOR_OUTPUT_DIR)/fsim_report.txt
161+
162+
163+
164+
# GENERAL TESTS
165+
###############
166+
test:
167+
@make clean
168+
@echo ""
169+
@echo "test_matmul"
170+
@make test_matmul
171+
@echo ""
172+
@echo "test_mul_constant"
173+
@make test_mul_constant
174+
@echo ""
175+
@echo "test_maxpool"
176+
@make test_maxpool
177+
@echo ""
178+
@echo "test_add"
179+
@make test_add
180+
@echo ""
181+
@echo "SUCCESS!"
182+
39183

40184

41185
# CREATE OUTPUTS DIRECTORIES
@@ -48,11 +192,15 @@ $(SIMULATOR_OUTPUT_DIR):
48192

49193
# CLEAN
50194
#######
51-
.PHONY: clean debug help
52-
clean: ## Clean the project generated files (standalone/compiler_output/ and standalone/simulator_output/)
195+
.PHONY: clean debug help force_clean
196+
clean: | $(COMPILER_OUTPUT_DIR) $(SIMULATOR_OUTPUT_DIR) ## Clean the project generated files (standalone/compiler_output/ and standalone/simulator_output/)
53197
-rm $(COMPILER_OUTPUT_DIR)/*.*
54198
-rm $(SIMULATOR_OUTPUT_DIR)/*.*
55199

200+
force_clean:
201+
make clean
202+
cd $(FSIM_DIR) && make clean
203+
56204

57205
# DEBUG
58206
#######
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"MATRICES" : [
3+
{
4+
"ACCUMULATOR": [16, 16],
5+
"ADD_ACCUMULATOR": [16, 16]
6+
}
7+
],
8+
"ALU" : [
9+
["ADD_ACC", ["ACCUMULATOR", "ADD_ACCUMULATOR"]]
10+
],
11+
"BASE_ADDRESS" : "0000"
12+
}

src/compiler/vta_compiler/config/vta_config.json renamed to examples/matrix_operations/alternative_config/config_for_overfitting.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"LOG_BATCH" : 0,
88
"LOG_BLOCK" : 4,
99
"LOG_UOP_BUFF_SIZE" : 15,
10-
"LOG_INP_BUFF_SIZE" : 15,
11-
"LOG_WGT_BUFF_SIZE" : 18,
10+
"LOG_INP_BUFF_SIZE" : 10,
11+
"LOG_WGT_BUFF_SIZE" : 10,
1212
"LOG_ACC_BUFF_SIZE" : 17
1313
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"TARGET" : "sim",
3+
"HW_VER" : "0.0.2",
4+
"LOG_INP_WIDTH" : 3,
5+
"LOG_WGT_WIDTH" : 3,
6+
"LOG_ACC_WIDTH" : 5,
7+
"LOG_BATCH" : 0,
8+
"LOG_BLOCK" : 4,
9+
"LOG_UOP_BUFF_SIZE" : 15,
10+
"LOG_INP_BUFF_SIZE" : 6,
11+
"LOG_WGT_BUFF_SIZE" : 6,
12+
"LOG_ACC_BUFF_SIZE" : 8
13+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"TARGET" : "sim",
3+
"HW_VER" : "0.0.2",
4+
"LOG_INP_WIDTH" : 3,
5+
"LOG_WGT_WIDTH" : 3,
6+
"LOG_ACC_WIDTH" : 5,
7+
"LOG_BATCH" : 0,
8+
"LOG_BLOCK" : 4,
9+
"LOG_UOP_BUFF_SIZE" : 15,
10+
"LOG_INP_BUFF_SIZE" : 8,
11+
"LOG_WGT_BUFF_SIZE" : 8,
12+
"LOG_ACC_BUFF_SIZE" : 10
13+
}

0 commit comments

Comments
 (0)