-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #298 from ucb-bar/dev
v0.7.1 Release This is an incremental release: * Support for rectangular convolutions * New Timeloop configurations included in repo * Area improvements for runtime-configurable dataflows * Faster build and elaboration times
- Loading branch information
Showing
60 changed files
with
493 additions
and
260 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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 |
---|---|---|
@@ -1 +1 @@ | ||
004297b6a8c01be1b2110c4cf4f9393ae1ff8805 | ||
569917e2f30616f85a841d16a92914ae98ad7184 |
This file contains 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 was deleted.
Oops, something went wrong.
This file contains 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 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,64 @@ | ||
# A Timeloop-compatible YAML definition of an architecture similar to Gemmini | ||
# WARNING: Not correlated with Gemmini RTL | ||
architecture: | ||
version: 0.3 | ||
|
||
subtree: | ||
- name: System | ||
local: | ||
- name: DRAM | ||
class: DRAM | ||
attributes: | ||
instances: 1 | ||
word-bits: 8 | ||
block_size: 64 | ||
shared_bandwidth: 8 | ||
|
||
subtree: | ||
- name: Chip | ||
attributes: | ||
technology: 40nm | ||
local: | ||
- name: Scratchpad | ||
class: SRAM | ||
attributes: | ||
entries: 262144 | ||
depth: 16384 | ||
width: 128 | ||
instances: 1 | ||
meshX: 1 | ||
word-bits: 8 | ||
n_rdwr_ports: 2 | ||
n_banks: 4 | ||
subtree: | ||
- name: PECols[0..15] # only the K dim can be parallelized across Accumulator columns | ||
local: | ||
- name: Accumulator | ||
class: SRAM | ||
attributes: | ||
entries: 1024 # acc size / pe_dim = 16384/16 | ||
depth: 1024 | ||
width: 32 | ||
instances: 16 | ||
word-bits: 32 | ||
network-word-bits: 16 | ||
n_rdwr_ports: 2 | ||
n_banks: 2 | ||
subtree: | ||
- name: PERows[0..15] | ||
local: | ||
- name: Registers | ||
class: SRAM | ||
attributes: | ||
depth: 1 | ||
width: 8 | ||
entries: 1 | ||
instances: 256 | ||
word-bits: 8 | ||
n_rdwr_ports: 2 | ||
n_banks: 1 | ||
- name: MACC | ||
class: intmac | ||
attributes: | ||
datawidth: 8 | ||
word-bits: 8 |
This file contains 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,50 @@ | ||
mapspace_constraints: | ||
- target: Registers | ||
type: bypass | ||
bypass: | ||
- Outputs | ||
- Inputs | ||
keep: | ||
- Weights | ||
- target: Accumulator | ||
type: bypass | ||
bypass: | ||
- Weights | ||
- Inputs | ||
keep: | ||
- Outputs | ||
- target: Scratchpad | ||
type: bypass | ||
keep: | ||
- Inputs | ||
- Weights | ||
bypass: | ||
- Outputs | ||
- target: DRAM | ||
type: bypass | ||
keep: | ||
- Weights | ||
- Inputs | ||
- Outputs | ||
bypass: [] | ||
- target: Registers | ||
type: temporal | ||
factors: R=1 S=1 P=1 Q=1 C=1 K=1 N=1 | ||
permutation: PQRSCKN | ||
- target: Accumulator | ||
type: spatial | ||
factors: R=1 S=1 P=1 Q=1 C<=16 K=1 N=1 | ||
permutation: QKC | ||
- target: Accumulator | ||
type: temporal | ||
permutation: QPNCSRK | ||
- target: Scratchpad | ||
type: spatial | ||
factors: R=1 S=1 P=1 Q=1 N=1 C=1 K<=16 | ||
- target: Scratchpad | ||
type: temporal | ||
factors: R=1 S=1 P=1 Q=1 C=1 K=1 N=1 | ||
- target: DRAM | ||
type: temporal | ||
permutation: CSRKQPN | ||
|
This file contains 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 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 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
Submodule gemmini-rocc-tests
updated
30 files
This file contains 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,10 @@ | ||
{ | ||
"name" : "gemmini-smoke", | ||
"workdir" : ".", | ||
"base" : "br-base.json", | ||
"overlay" : "overlay", | ||
"host-init" : "host-init.sh", | ||
"command": "/root/run-test-smoke.sh", | ||
"rootfs-size" : "16GiB", | ||
"spike-args" : "--extension=gemmini" | ||
} |
This file contains 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 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 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
Submodule libgemmini
added at
4be220
This file contains 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,9 @@ | ||
#!/usr/bin/env bash | ||
|
||
echo "*****************TEST RESULTS*************" > test_output.txt | ||
|
||
echo "========mobilenet=========" | ||
/root/imagenet/mobilenet-linux >> test_output.txt | ||
|
||
cat test_output.txt | ||
poweroff -f |
This file contains 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
Oops, something went wrong.