9.1.4. Non-NPU Deployment
Devices without a hardware NPU run the compiled model on the CPU. The deployment procedure is the same as for NPU devices: four files from one run go into an SDK example (Deploying a ModelZoo Run to an SDK Example (Golden-Vector Check), CCS Integration Guide). This page lists the differences.
9.1.4.1. Non-NPU Devices
|
SDK example folder |
Notes |
|---|---|---|
F28004, F28003 |
C2000Ware |
C28x CPU |
F28P65 |
C2000Ware |
C28x CPU |
F29H85 |
F29H85x SDK |
C29x CPU; examples call |
MSPM33C32 |
MSPM33 SDK |
Cortex-M33 |
AM263 |
MCU-PLUS-SDK |
Cortex-R5F |
MSPM0G3507, CC devices, IWRL6432 |
Not in |
1.4.0 guidance: integrate |
The complete device list is in Device Overview.
9.1.4.2. Importing an Example That Is Not in Resource Explorer
Some examples are not listed in CCS Resource Explorer. Import them manually:
File -> Import Projects.
Selecting Import Projects from the File menu
Browse to the example’s device folder and click Finish.
Browsing to the project folder
Then replace the four files, build, flash and check, exactly as in CCS Integration Guide.
9.1.4.3. CPU Inference Considerations
Model size. Without an NPU, cycles grow with the multiply-accumulate count of the model. Use models that list your device and keep them small.
Feature extraction runs on the CPU too. The SDK feature-extraction library (FFT, binning, windowing) is configured entirely by
user_input_config.h. ModelMaker reports its code and data memory for many devices (Device Overview).Memory. If the linker reports a section that does not fit, start from an example with a similar feature-extraction preset and adjust the
lnk.cmdplacement.Timing. Measure on target with a CPU timer around
tvmgen_default_runandFE_runFeatureExtractinapplication_main.c. The cycle and energy numbers of the 1.4.0 guide are not carried over because they were not re-measured for 1.5.0.Integer types. If
SKIP_NORMALIZEorOUTPUT_INTis defined inuser_input_config.h,model_input_tandmodel_output_tareint8_t. Keep that file matched tomod.a.
9.1.4.4. Non-NPU vs NPU
Aspect |
NPU devices |
Non-NPU devices |
|---|---|---|
Inference |
Hardware accelerated, waits on |
CPU only |
Initialization |
NPU module in SysConfig (or |
None needed for the model |
Compile preset |
|
|
Models |
NPU-compatible ( |
Any model that lists the device |