●TensorFlowのサンプルを準備する
```shell
$ python3 -m venv deploying_tfl
$ source deploying_tfl/bin/activate
(deploying_tfl)$ pip3 install numpy image
(deploying_tfl)$ git clone --depth 1 https://github.com/tensorflow/tflite-micro.git
(deploying_tfl)$ cd tflite-micro/
(deploying_tfl)$ python3 tensorflow/lite/micro/tools/project_generation/create_tflm_tree.py -e person_detection tflite_app
(deploying_tfl)$ deactivate
```
```shell
$ ls -l tflite-micro/tflite_app
total 28
drwxrwxr-x 3 altera altera 4096 Dec 20 10:16 examples
-rw-rw-r-- 1 altera altera 11358 Dec 20 10:16 LICENSE
drwxrwxr-x 4 altera altera 4096 Dec 20 10:16 signal
drwxrwxr-x 4 altera altera 4096 Dec 20 10:16 tensorflow
drwxrwxr-x 6 altera altera 4096 Dec 20 10:16 third_party
```
```shell
$ ls -l tflite-micro/tflite_app/examples/person_detection/
total 48
-rw-rw-r-- 1 altera altera 1135 Dec 10 10:16 detection_responder.cc
-rw-rw-r-- 1 altera altera 1545 Dec 10 10:16 detection_responder.h
-rw-rw-r-- 1 altera altera 960 Dec 10 10:16 image_provider.cc
-rw-rw-r-- 1 altera altera 2036 Dec 10 10:16 image_provider.h
-rw-rw-r-- 1 altera altera 1061 Dec 10 10:16 main.cc
-rw-rw-r-- 1 altera altera 4263 Dec 10 10:16 main_functions.cc
-rw-rw-r-- 1 altera altera 1348 Dec 10 10:16 main_functions.h
-rw-rw-r-- 1 altera altera 781 Dec 10 10:16 model_settings.cc
-rw-rw-r-- 1 altera altera 1477 Dec 10 10:16 model_settings.h
```
Platformdesignerで配置したところ
クロックブリッジの設定(Explicit clock rate)
リセットブリッジの設定はデフォルトのまま
IOPLLの設定
NIOS Vの設定
JTAG UARTの設定はデフォルトのまま
RAMのサイズを1048576に設定.それ以外はデフォルトのまま
TFL_SETの専用バス幅
TFL_GETの専用バス幅
TFL_EXEのバス幅