-
Notifications
You must be signed in to change notification settings - Fork 58
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 #91 from Xilinx/refactor/rtl_integration
Refactor all build flows to work with FINN v0.10
- Loading branch information
Showing
45 changed files
with
3,059 additions
and
2,967 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
64 changes: 36 additions & 28 deletions
64
build/bnn-pynq/folding_config/cnv-w1a1_folding_config.json
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,79 +1,87 @@ | ||
{ | ||
"Defaults": {}, | ||
"Thresholding_Batch_0": { | ||
"PE": 1, | ||
"ram_style": "distributed" | ||
"Thresholding_rtl_0": { | ||
"PE": 1 | ||
}, | ||
"ConvolutionInputGenerator_0": { | ||
"ConvolutionInputGenerator_rtl_0": { | ||
"SIMD": 3, | ||
"ram_style": "distributed" | ||
}, | ||
"MatrixVectorActivation_0": { | ||
"MVAU_hls_0": { | ||
"PE": 16, | ||
"SIMD": 3, | ||
"ram_style": "auto" | ||
"ram_style": "auto", | ||
"resType": "lut" | ||
}, | ||
"ConvolutionInputGenerator_1": { | ||
"ConvolutionInputGenerator_rtl_1": { | ||
"SIMD": 32, | ||
"ram_style": "distributed" | ||
}, | ||
"MatrixVectorActivation_1": { | ||
"MVAU_hls_1": { | ||
"PE": 32, | ||
"SIMD": 32, | ||
"ram_style": "auto" | ||
"ram_style": "auto", | ||
"resType": "lut" | ||
}, | ||
"ConvolutionInputGenerator_2": { | ||
"ConvolutionInputGenerator_rtl_2": { | ||
"SIMD": 32, | ||
"ram_style": "distributed" | ||
}, | ||
"MatrixVectorActivation_2": { | ||
"MVAU_hls_2": { | ||
"PE": 16, | ||
"SIMD": 32, | ||
"ram_style": "auto" | ||
"ram_style": "auto", | ||
"resType": "lut" | ||
}, | ||
"ConvolutionInputGenerator_3": { | ||
"ConvolutionInputGenerator_rtl_3": { | ||
"SIMD": 32, | ||
"ram_style": "distributed" | ||
}, | ||
"MatrixVectorActivation_3": { | ||
"MVAU_hls_3": { | ||
"PE": 16, | ||
"SIMD": 32, | ||
"ram_style": "auto" | ||
"ram_style": "auto", | ||
"resType": "lut" | ||
}, | ||
"ConvolutionInputGenerator_4": { | ||
"ConvolutionInputGenerator_rtl_4": { | ||
"SIMD": 32, | ||
"ram_style": "distributed" | ||
}, | ||
"MatrixVectorActivation_4": { | ||
"MVAU_hls_4": { | ||
"PE": 4, | ||
"SIMD": 32, | ||
"ram_style": "auto" | ||
"ram_style": "auto", | ||
"resType": "lut" | ||
}, | ||
"ConvolutionInputGenerator_5": { | ||
"ConvolutionInputGenerator_rtl_5": { | ||
"SIMD": 32, | ||
"ram_style": "distributed" | ||
}, | ||
"MatrixVectorActivation_5": { | ||
"MVAU_hls_5": { | ||
"PE": 1, | ||
"SIMD": 32, | ||
"ram_style": "auto" | ||
"ram_style": "auto", | ||
"resType": "lut" | ||
}, | ||
"MatrixVectorActivation_6": { | ||
"MVAU_hls_6": { | ||
"PE": 1, | ||
"SIMD": 4, | ||
"ram_style": "auto" | ||
"ram_style": "auto", | ||
"resType": "lut" | ||
}, | ||
"MatrixVectorActivation_7": { | ||
"MVAU_hls_7": { | ||
"PE": 1, | ||
"SIMD": 8, | ||
"ram_style": "auto" | ||
"ram_style": "auto", | ||
"resType": "lut" | ||
}, | ||
"MatrixVectorActivation_8": { | ||
"MVAU_hls_8": { | ||
"PE": 5, | ||
"SIMD": 1, | ||
"ram_style": "auto" | ||
"ram_style": "auto", | ||
"resType": "lut" | ||
}, | ||
"LabelSelect_Batch_0": { | ||
"LabelSelect_hls_0": { | ||
"PE": 1 | ||
} | ||
} |
64 changes: 36 additions & 28 deletions
64
build/bnn-pynq/folding_config/cnv-w1a2_folding_config.json
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,79 +1,87 @@ | ||
{ | ||
"Defaults": {}, | ||
"Thresholding_Batch_0": { | ||
"PE": 1, | ||
"ram_style": "distributed" | ||
"Thresholding_rtl_0": { | ||
"PE": 1 | ||
}, | ||
"ConvolutionInputGenerator_0": { | ||
"ConvolutionInputGenerator_rtl_0": { | ||
"SIMD": 3, | ||
"ram_style": "distributed" | ||
}, | ||
"MatrixVectorActivation_0": { | ||
"MVAU_hls_0": { | ||
"PE": 8, | ||
"SIMD": 3, | ||
"ram_style": "auto" | ||
"ram_style": "auto", | ||
"resType": "lut" | ||
}, | ||
"ConvolutionInputGenerator_1": { | ||
"ConvolutionInputGenerator_rtl_1": { | ||
"SIMD": 16, | ||
"ram_style": "distributed" | ||
}, | ||
"MatrixVectorActivation_1": { | ||
"MVAU_hls_1": { | ||
"PE": 16, | ||
"SIMD": 16, | ||
"ram_style": "auto" | ||
"ram_style": "auto", | ||
"resType": "lut" | ||
}, | ||
"ConvolutionInputGenerator_2": { | ||
"ConvolutionInputGenerator_rtl_2": { | ||
"SIMD": 16, | ||
"ram_style": "distributed" | ||
}, | ||
"MatrixVectorActivation_2": { | ||
"MVAU_hls_2": { | ||
"PE": 8, | ||
"SIMD": 16, | ||
"ram_style": "auto" | ||
"ram_style": "auto", | ||
"resType": "lut" | ||
}, | ||
"ConvolutionInputGenerator_3": { | ||
"ConvolutionInputGenerator_rtl_3": { | ||
"SIMD": 16, | ||
"ram_style": "distributed" | ||
}, | ||
"MatrixVectorActivation_3": { | ||
"MVAU_hls_3": { | ||
"PE": 8, | ||
"SIMD": 16, | ||
"ram_style": "block" | ||
"ram_style": "block", | ||
"resType": "lut" | ||
}, | ||
"ConvolutionInputGenerator_4": { | ||
"ConvolutionInputGenerator_rtl_4": { | ||
"SIMD": 8, | ||
"ram_style": "distributed" | ||
}, | ||
"MatrixVectorActivation_4": { | ||
"MVAU_hls_4": { | ||
"PE": 4, | ||
"SIMD": 8, | ||
"ram_style": "auto" | ||
"ram_style": "auto", | ||
"resType": "lut" | ||
}, | ||
"ConvolutionInputGenerator_5": { | ||
"ConvolutionInputGenerator_rtl_5": { | ||
"SIMD": 8, | ||
"ram_style": "distributed" | ||
}, | ||
"MatrixVectorActivation_5": { | ||
"MVAU_hls_5": { | ||
"PE": 1, | ||
"SIMD": 8, | ||
"ram_style": "auto" | ||
"ram_style": "auto", | ||
"resType": "lut" | ||
}, | ||
"MatrixVectorActivation_6": { | ||
"MVAU_hls_6": { | ||
"PE": 1, | ||
"SIMD": 2, | ||
"ram_style": "distributed" | ||
"ram_style": "distributed", | ||
"resType": "lut" | ||
}, | ||
"MatrixVectorActivation_7": { | ||
"MVAU_hls_7": { | ||
"PE": 2, | ||
"SIMD": 2, | ||
"ram_style": "block" | ||
"ram_style": "block", | ||
"resType": "lut" | ||
}, | ||
"MatrixVectorActivation_8": { | ||
"MVAU_hls_8": { | ||
"PE": 5, | ||
"SIMD": 1, | ||
"ram_style": "distributed" | ||
"ram_style": "distributed", | ||
"resType": "lut" | ||
}, | ||
"LabelSelect_Batch_0": { | ||
"LabelSelect_hls_0": { | ||
"PE": 1 | ||
} | ||
} |
Oops, something went wrong.