Skip to main content

CMSIS-Stream graph description

Project description

README

This is a Python package for the Arm open source CMSIS-Stream library.

You can install it with:

pip install cmsis-stream

Then you can follow the documentation to learn how to:

  • Define new compute nodes
  • Connect them into a dataflow graph to process streams
  • Generate at build time a static C scheduler to run the graph on your target (no need of an RTOS)

Change history

Version 1.9.2:

  • A specific memory buffer can now be assigned to a FIFO (so buffer external to this framework)
  • New option to dynamically allocate the FIFO buffers using custom memory allocator

Version 1.9.1:

  • Correction to the management of sharing buffer states. It makes it easier to use this feature from the Python

Version 1.9.0:

  • Introduced a C++ namespace for the nodes
  • Introduced some support for static reference counting (in type system). It is to help with use of buffers in a graph and detect at build time some problems. See example12 and documentation about buffers

Version 1.8.0:

  • Introduction of a new asynchronous mode : fullyAsynchronous
  • Previous asynchronous mode is deprecated and will be removed in a future version

Version 1.7.0:

  • Improvements to GenericNodes.h when building with gcc
  • addLiteral can now also use bool values from Python
  • Naming of the function to get a node was not consistent between the C and CPP APIs

Version 1.6.1:

  • Correction to 1.6.0 : Missing YAML module

Version 1.6.0:

  • SDS sensor and recorder nodes to interact with the Arm SDS Framework to record stream of samples and replay them in Arm Virtual Hardware
  • YAML import / export of a graph and its code generation settings

Version 1.5.1:

  • Wrong GenericNodes.h was included in version 1.5.0
  • 1.5.0 is no more available for download and has been replaced by 1.5.1 correction

Version 1.5.0:

  • Corrections to the heap mode
  • Added possibility to identify and access nodes from the outside of the scheduler (it implies the heap mode). See documentation for more information

Version 1.4.0:

  • Possibility to customize the style of the graph pictures (colors, fonts ...)
  • Graph picture can now also be generated before schedule computation (useful to debug an incorrect graph before trying to compute a schedule)
  • Possibility to use more pure C functions in the graph. The GenericFunction node can now easily be used to plug more kind of C functions without having to write a C++ wrapper
  • Dsp node has been removed. Instead use the Unary, Binary or the more flexible GenericFunction node

Version 1.3.0:

  • New nodes GenericToMany, GenericFromMany, GenericManyToMany
  • Duplicate node implementation now using GenericToMany
  • Possibility to change the name of IOs in Binary, Unary and Dsp nodes

Version 1.2.1:

  • Correct an issue in 1.2.0. Some templates needed by the new command line tool had not been included in the package.

Version 1.2.0:

  • The file cg_status.h can now also be created from the python package

  • A new heapAllocate option has been introduced. When true, FIFO and node objects are allocated on the heap and no more on the stack. Two new functions are generated in the scheduler to initialize or free those objects

  • A new command line tool cmsis-stream is available. It can be used to quickly create a project with : cmsis-stream create TestFolder. The folder will contain makefiles for windows, mac and linux. It will also contain a CMSIS build tool solution file to build for Arm Virtual Hardware CS 300

Version 1.1.0:

  • The file GenericNodes.h can now be created from the python package. Like that, it is possible to start using CMSIS-Stream by only installing the Python package. Of course, if other specifics nodes are required (FFT, MFCC) the CMSIS-Stream repository will have to be used to get the headers

  • Duplicate node and duplicate insertion has been improved: one-to-many connections are now fully supported. Before it was automatically supported up to 3 outputs and for more outputs, Duplicate nodes had to be inserted manually.

Version 1.0.0:

  • First version (originally it was the compute graph library part of the CMSIS-DSP library)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

cmsis_stream-1.9.2-py3-none-any.whl (93.6 kB view details)

Uploaded Python 3

File details

Details for the file cmsis_stream-1.9.2-py3-none-any.whl.

File metadata

  • Download URL: cmsis_stream-1.9.2-py3-none-any.whl
  • Upload date:
  • Size: 93.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.11

File hashes

Hashes for cmsis_stream-1.9.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8af3ebfe40e110baeae426acf9e691f398ac3af3eef4aec88bcbce82dce60e8a
MD5 eff3283a299a1a78424f00ed380332c6
BLAKE2b-256 b2660d1e34c99fc8cbcab3c6e39ea3afccb5712e15ffb480b0b617395533814b

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page