Skip to content

Commit

Permalink
[RN50] Update configs for ResNet to implement last MVAU as rtl component
Browse files Browse the repository at this point in the history
  • Loading branch information
auphelia committed Jul 22, 2024
1 parent b4854da commit fcb25ce
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
2 changes: 1 addition & 1 deletion build/get-finn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
# URL for git repo to be cloned
REPO_URL=https://github.com/Xilinx/finn
# commit hash for repo
REPO_COMMIT=9cd8bab4d5ebd6895716fad41753256542cc314f
REPO_COMMIT=274785308d563cf2c8d899023b3b098cf430f4bf
# directory (under the same folder as this script) to clone to
REPO_DIR=finn

Expand Down
19 changes: 9 additions & 10 deletions build/resnet50/folding_config/U250_folding_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"MVAU_hls_0": {
"PE": 64,
"SIMD": 3,
"ram_style": "auto",
"ram_style": "distributed",
"resType": "lut",
"mem_mode": "internal_decoupled",
"runtime_writeable_weights": 0,
Expand All @@ -68,7 +68,7 @@
]
},
"StreamingFIFO_rtl_3": {
"ram_style": "auto",
"ram_style": "distributed",
"depth": 2,
"impl_style": "rtl",
"inFIFODepths": [
Expand Down Expand Up @@ -251,7 +251,7 @@
"MVAU_hls_1": {
"PE": 1,
"SIMD": 16,
"ram_style": "auto",
"ram_style": "distributed",
"resType": "lut",
"mem_mode": "internal_decoupled",
"runtime_writeable_weights": 0,
Expand All @@ -265,7 +265,7 @@
"MVAU_hls_2": {
"PE": 2,
"SIMD": 32,
"ram_style": "auto",
"ram_style": "distributed",
"resType": "lut",
"mem_mode": "internal_decoupled",
"runtime_writeable_weights": 0,
Expand Down Expand Up @@ -349,7 +349,7 @@
]
},
"StreamingFIFO_rtl_17": {
"ram_style": "auto",
"ram_style": "distributed",
"depth": 2,
"impl_style": "rtl",
"inFIFODepths": [
Expand Down Expand Up @@ -381,7 +381,7 @@
"MVAU_hls_3": {
"PE": 2,
"SIMD": 64,
"ram_style": "auto",
"ram_style": "distributed",
"resType": "lut",
"mem_mode": "internal_decoupled",
"runtime_writeable_weights": 0,
Expand Down Expand Up @@ -5499,12 +5499,11 @@
0
]
},
"MVAU_hls_53": {
"MVAU_rtl_0": {
"PE": 1,
"SIMD": 4,
"ram_style": "auto",
"resType": "lut",
"mem_mode": "external",
"ram_style": "block",
"resType": "dsp",
"runtime_writeable_weights": 0,
"inFIFODepths": [
2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@
"preferred_impl_style": "hls"
},
"MVAU_53": {
"preferred_impl_style": "hls"
"preferred_impl_style": "rtl"
},
"ChannelwiseOp_2": {
"preferred_impl_style": "hls"
Expand Down

0 comments on commit fcb25ce

Please sign in to comment.