1# Copyright 2020 The TensorFlow Authors. All Rights Reserved.
2#
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#
7#     http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14# ==============================================================================
15
16# Needs to be run when compiled with -O0
17file ../../../tools/make/gen/apollo3evb_cortex-m4/bin/preprocessor_1k_micro_test
18target remote localhost:2331
19load ../../../tools/make/gen/apollo3evb_cortex-m4/bin/preprocessor_1k_micro_test
20monitor reset
21break preprocessor.cc:211
22commands
23dump verilog value micro_windowed_input.txt fixed_input
24dump verilog value micro_dft.txt fourier_values
25dump verilog value micro_power.txt power_spectrum
26dump verilog memory micro_power_avg.txt output output+42
27c
28end
29break preprocessor_1k.cc:50
30commands
31print count
32end
33c
34