Corrected SDF example documentation to use CMSIS-DSP Python wrapper.

pull/19/head
Christophe Favergeon 4 years ago
parent ccec7128cb
commit b8b72f2c69

@ -26,11 +26,7 @@ Let's analyze the file `graph.py` in the `example1` folder. This file is describ
First, we add some path so that the example can find the sdf packages when run from example1 folder. First, we add some path so that the example can find the sdf packages when run from example1 folder.
```python ```python
import sys from cmsisdsp.sdf.scheduler import *
sys.path.append("../..")
from sdf import *
``` ```

@ -103,12 +103,12 @@ This node is provided in sdf/nodes/cpp so no need to define it. You can just use
It can be used by just doing in your AppNodes.h file : It can be used by just doing in your AppNodes.h file :
```c++ ```c++
#include "CFFT_F32.h" #include "CFFT.h"
``` ```
From Python side it would be: From Python side it would be:
```python ```python
from sdf.nodes.py.CFFTF32 import * from cmsisdsp.sdf.nodes.CFFT import *
``` ```

@ -30,7 +30,7 @@ This file is defining the new nodes which were used in `graph.py`. In `graph.py`
In `appnodes.py` we including new kind of nodes for simulation purpose: In `appnodes.py` we including new kind of nodes for simulation purpose:
```python ```python
from sdf.nodes.py.CFFTF32 import * from cmsisdsp.sdf.nodes.CFFT import *
``` ```

Loading…
Cancel
Save