Skip to content

Commit

Permalink
[Docs] Update build dataflow example folder
Browse files Browse the repository at this point in the history
  • Loading branch information
auphelia committed Mar 29, 2024
1 parent 769f81f commit 038d306
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 19 deletions.
3 changes: 2 additions & 1 deletion src/finn/qnn-data/build_dataflow/build.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright (c) 2020 Xilinx, Inc.
# Copyright (C) 2020-2022 Xilinx, Inc.
# Copyright (C) 2022-2024, Advanced Micro Devices, Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
Expand Down
3 changes: 2 additions & 1 deletion src/finn/qnn-data/build_dataflow/dataflow_build_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"mvau_wwidth_max": 10000,
"synth_clk_period_ns": 10.0,
"board": "Pynq-Z1",
"standalone_thresholds": true,
"standalone_thresholds": false,
"folding_config_file": "folding_config.json",
"shell_flow_type": "vivado_zynq",
"verify_save_rtlsim_waveforms": true,
"force_python_rtlsim": true,
Expand Down
5 changes: 2 additions & 3 deletions src/finn/qnn-data/build_dataflow/folding_config.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"Defaults": {},
"Thresholding_hls_0": {
"PE": 49,
"ram_style": "distributed"
"Thresholding_rtl_0": {
"PE": 49
},
"MVAU_hls_0": {
"PE": 16,
Expand Down
11 changes: 1 addition & 10 deletions src/finn/qnn-data/build_dataflow/specialize_layers_config.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,17 @@
{
"Defaults": {},
"Thresholding_0": {
"preferred_impl_style": "hls"
"preferred_impl_style": "rtl"
},
"MVAU_0": {
"preferred_impl_style": "hls"
},
"Thresholding_1": {
"preferred_impl_style": ""
},
"MVAU_1": {
"preferred_impl_style": ""
},
"Thresholding_2": {
"preferred_impl_style": ""
},
"MVAU_2": {
"preferred_impl_style": ""
},
"Thresholding_3": {
"preferred_impl_style": "rtl"
},
"MVAU_3": {
"preferred_impl_style": ""
},
Expand Down
5 changes: 2 additions & 3 deletions src/finn/qnn-data/test_ext_weights/tfc-w1a1-extw.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"Defaults": {},
"Thresholding_hls_0": {
"PE": 49,
"ram_style": "distributed"
"Thresholding_rtl_0": {
"PE": 49
},
"MVAU_hls_0": {
"PE": 16,
Expand Down
3 changes: 2 additions & 1 deletion tests/end2end/test_ext_weights.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Copyright (c) 2021, Xilinx
# Copyright (C) 2021-2022, Xilinx, Inc.
# Copyright (C) 2022-2024, Advanced Micro Devices, Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
Expand Down

0 comments on commit 038d306

Please sign in to comment.