Skip to content

Commit 67cf5d5

Browse files
committedJun 3, 2021
Updated TCL scripts
1 parent 355aaf5 commit 67cf5d5

File tree

14 files changed

+173
-65
lines changed

14 files changed

+173
-65
lines changed
 

‎AI_Engine_Development/Feature_Tutorials/11-ai-engine-emulation-waveform-analysis/README.md

+74-40
Large diffs are not rendered by default.

‎AI_Engine_Development/Feature_Tutorials/11-ai-engine-emulation-waveform-analysis/aie/fir24_sym_param.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**********
2-
© Copyright 2020 Xilinx, Inc.
2+
© Copyright 2021 Xilinx, Inc.
33
Licensed under the Apache License, Version 2.0 (the "License");
44
you may not use this file except in compliance with the License.
55
You may obtain a copy of the License at

‎AI_Engine_Development/Feature_Tutorials/11-ai-engine-emulation-waveform-analysis/aie/graph.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**********
2-
© Copyright 2020 Xilinx, Inc.
2+
© Copyright 2021 Xilinx, Inc.
33
Licensed under the Apache License, Version 2.0 (the "License");
44
you may not use this file except in compliance with the License.
55
You may obtain a copy of the License at

‎AI_Engine_Development/Feature_Tutorials/11-ai-engine-emulation-waveform-analysis/aie/graph.h

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**********
2-
© Copyright 2020 Xilinx, Inc.
2+
© Copyright 2021 Xilinx, Inc.
33
Licensed under the Apache License, Version 2.0 (the "License");
44
you may not use this file except in compliance with the License.
55
You may obtain a copy of the License at
@@ -13,7 +13,6 @@ limitations under the License.
1313
#include <adf.h>
1414

1515
#include "fir24_sym_param.h"
16-
#include "noise.h"
1716

1817
using namespace adf;
1918

‎AI_Engine_Development/Feature_Tutorials/11-ai-engine-emulation-waveform-analysis/pl_kernels/random_noise.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**********
2-
© Copyright 2020 Xilinx, Inc.
2+
© Copyright 2021 Xilinx, Inc.
33
Licensed under the Apache License, Version 2.0 (the "License");
44
you may not use this file except in compliance with the License.
55
You may obtain a copy of the License at

‎AI_Engine_Development/Feature_Tutorials/11-ai-engine-emulation-waveform-analysis/pl_kernels/s2mm.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**********
2-
© Copyright 2020 Xilinx, Inc.
2+
© Copyright 2021 Xilinx, Inc.
33
Licensed under the Apache License, Version 2.0 (the "License");
44
you may not use this file except in compliance with the License.
55
You may obtain a copy of the License at

‎AI_Engine_Development/Feature_Tutorials/11-ai-engine-emulation-waveform-analysis/sw/host.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**********
2-
© Copyright 2020 Xilinx, Inc.
2+
© Copyright 2021 Xilinx, Inc.
33
Licensed under the Apache License, Version 2.0 (the "License");
44
you may not use this file except in compliance with the License.
55
You may obtain a copy of the License at
@@ -13,7 +13,6 @@ limitations under the License.
1313
#include <stdlib.h>
1414
#include <fstream>
1515
#include <iostream>
16-
#include "host.h"
1716
#include <unistd.h>
1817
#include <complex>
1918
#include "adf/adf_api/XRTConfig.h"

‎AI_Engine_Development/Feature_Tutorials/11-ai-engine-emulation-waveform-analysis/tcl/add_waveforms.tcl

+14-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,21 @@
1+
#
2+
# © Copyright 2021 Xilinx, Inc.
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
# http://www.apache.org/licenses/LICENSE-2.0
7+
# Unless required by applicable law or agreed to in writing, software
8+
# distributed under the License is distributed on an "AS IS" BASIS,
9+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10+
# See the License for the specific language governing permissions and
11+
# limitations under the License.
12+
#
13+
114
# Remove all waveforms before adding new ones
215
remove_wave -of [get_wave_config] [get_waves -of [get_wave_config] -regexp ".*"]
316

417
# Set the appropriate paths based upon the platform being used
5-
set scope_path "/xilinx_vck190_es1_base_wrapper_sim_wrapper/xilinx_vck190_es1_base_wrapper_i/xilinx_vck190_es1_base_i"
18+
set scope_path "/xilinx_vck190_base_wrapper_sim_wrapper/xilinx_vck190_base_wrapper_i/xilinx_vck190_base_i"
619

720
# Create a wave group called CIPS and add all signals for the CIPS_0 to it
821
set CIPS [add_wave_group CIPS]
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,37 @@
1+
#
2+
# © Copyright 2021 Xilinx, Inc.
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
# http://www.apache.org/licenses/LICENSE-2.0
7+
# Unless required by applicable law or agreed to in writing, software
8+
# distributed under the License is distributed on an "AS IS" BASIS,
9+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10+
# See the License for the specific language governing permissions and
11+
# limitations under the License.
12+
#
13+
114
# Removes all waves from the viewer
215
remove_wave -of [get_wave_config] [get_waves -of [get_wave_config] *]
316

17+
set S2MM [add_wave_group S2MM]
418
set s2mm_intf [get_objects -r $scope_path/s2mm_1/m_axi_gmem -filter {type==proto_inst}]
5-
add_wave $s2mm_intf
19+
add_wave -into $S2MM $s2mm_intf
620

721
set s2mm_intf [get_objects -r $scope_path/s2mm_1/s -filter {type==proto_inst}]
8-
add_wave $s2mm_intf
22+
add_wave -into $S2MM $s2mm_intf
923

24+
set DDR4 [add_wave_group DDR4]
1025
set ddr4_intf [get_objects -r $scope_path/noc_ddr4/S00_AXI -filter {type==proto_inst}]
11-
add_wave $ddr4_intf
26+
add_wave -into $DDR4 $ddr4_intf
1227

28+
set AIENGINE [add_wave_group AIENGINE]
1329
set aie_intf [get_objects -r $scope_path/ai_engine_0/M00_AXIS -filter {type==proto_inst}]
14-
add_wave $aie_intf
30+
add_wave -into $AIENGINE $aie_intf
31+
32+
set CIPS_NOC [add_wave_group CIPS_NOC]
33+
set cips_intf [get_objects -r $scope_path/cips_noc/*S00_AXI*tlm -filter {type==proto_inst}]
34+
add_wave -into $CIPS_NOC $cips_intf
35+
36+
set cips_intf [get_objects -r $scope_path/cips_noc/*M00_AXI*tlm -filter {type==proto_inst}]
37+
add_wave -into $CIPS_NOC $cips_intf

‎AI_Engine_Development/Feature_Tutorials/11-ai-engine-emulation-waveform-analysis/tcl/bootup_signals.tcl

+13
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
#
2+
# © Copyright 2021 Xilinx, Inc.
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
# http://www.apache.org/licenses/LICENSE-2.0
7+
# Unless required by applicable law or agreed to in writing, software
8+
# distributed under the License is distributed on an "AS IS" BASIS,
9+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10+
# See the License for the specific language governing permissions and
11+
# limitations under the License.
12+
#
13+
114
# Removes all waves from the viewer
215
remove_wave -of [get_wave_config] [get_waves -of [get_wave_config] *]
316

‎AI_Engine_Development/Feature_Tutorials/11-ai-engine-emulation-waveform-analysis/tcl/ddr_to_aie.tcl

-2
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,27 @@
1+
#
2+
# © Copyright 2021 Xilinx, Inc.
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
# http://www.apache.org/licenses/LICENSE-2.0
7+
# Unless required by applicable law or agreed to in writing, software
8+
# distributed under the License is distributed on an "AS IS" BASIS,
9+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10+
# See the License for the specific language governing permissions and
11+
# limitations under the License.
12+
#
13+
114
# Removes all waves from the viewer
215
remove_wave -of [get_wave_config] [get_waves -of [get_wave_config] *]
316

17+
set CIPS [add_wave_group CIPS]
418
set pl_intf [get_objects -r $scope_path/CIPS_0/*M_AXI*FPD*tlm -filter {type==proto_inst}]
5-
add_wave $pl_intf
19+
add_wave -into $CIPS $pl_intf
620

21+
set NOISE [add_wave_group NOISE]
722
set pl_intf [get_objects -r $scope_path/random_noise_1/* -filter {type==proto_inst}]
8-
add_wave $pl_intf
23+
add_wave -into $NOISE $pl_intf
924

25+
set AIENGINE [add_wave_group AIENGINE]
1026
set cips_intf [get_objects -r $scope_path/ai_engine_0/*S00*tlm -filter {type==proto_inst}]
11-
add_wave $cips_intf
27+
add_wave -into $AIENGINE $cips_intf

‎AI_Engine_Development/Feature_Tutorials/11-ai-engine-emulation-waveform-analysis/tcl/ps_to_ddr.tcl

-2
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,29 @@
1+
#
2+
# © Copyright 2021 Xilinx, Inc.
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
# http://www.apache.org/licenses/LICENSE-2.0
7+
# Unless required by applicable law or agreed to in writing, software
8+
# distributed under the License is distributed on an "AS IS" BASIS,
9+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10+
# See the License for the specific language governing permissions and
11+
# limitations under the License.
12+
#
13+
114
# Removes all waves from the viewer
215
remove_wave -of [get_wave_config] [get_waves -of [get_wave_config] *]
316

4-
set pl_intf [get_objects -r $scope_path/CIPS_0/*FPD*CCI*NOC_0* -filter {type==proto_inst}]
5-
add_wave $pl_intf
17+
set CIPS [add_wave_group CIPS]
18+
set pl_intf [get_objects -r $scope_path/CIPS_0/*FPD*CCI*NOC_0*tlm -filter {type==proto_inst}]
19+
add_wave -into $CIPS $pl_intf
620

721
set pl_intf [get_objects -r $scope_path/cips_noc/*S00_AXI*tlm -filter {type==proto_inst}]
8-
add_wave $pl_intf
22+
add_wave -into $CIPS $pl_intf
923

1024
set pl_intf [get_objects -r $scope_path/cips_noc/*M00_AXI*tlm -filter {type==proto_inst}]
11-
add_wave $pl_intf
25+
add_wave -into $CIPS $pl_intf
1226

27+
set AIENGINE [add_wave_group AIENGINE]
1328
set aie_intf [get_objects -r $scope_path/ai_engine_0/*S00*tlm -filter {type==proto_inst}]
14-
add_wave $aie_intf
29+
add_wave -into $AIENGINE $aie_intf

0 commit comments

Comments
 (0)