Commit 61478be8 authored by Christophe Favergeon's avatar Christophe Favergeon
Browse files

Added event recorder example and documentation for the compute graph.

parent 4806c7f0
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -15,4 +15,7 @@ examples/build/bin_example6/
examples/build/input_example6.txt
examples/build/output_example3.txt
examples/build/output_example6.txt
examples/eventrecorder/tmp/
examples/eventrecorder/out/
examples/eventrecorder/DebugConfig/
+6 −6
Original line number Diff line number Diff line
@@ -18,17 +18,17 @@

6. ### [Python default nodes](documentation/PythonNodes.md)

7. ### Extensions
7. ### [Memory optimizations](documentation/Memory.md)

   1. #### [Memory optimizations](documentation/Memory.md)
8. ### Extensions

   2. #### [Cyclo-static scheduling](CycloStatic.md)
   1. #### [Cyclo-static scheduling](CycloStatic.md)

   3. #### [Dynamic / Asynchronous mode](Async.md)
   2. #### [Dynamic / Asynchronous mode](Async.md)

8. ### [Maths principles](MATHS.md)
9. ### [Maths principles](MATHS.md)

9. ### [FAQ](FAQ.md)
10. ### [FAQ](FAQ.md)


+6 −4
Original line number Diff line number Diff line
@@ -81,8 +81,8 @@ class FIFO<T,length,0,0>: public FIFOBase<T>
        FIFO(uint8_t *buffer,int delay=0):mBuffer((T*)buffer),readPos(0),writePos(delay) {};

        /* Not used in synchronous mode */
        bool willUnderflowWith(int nb) const final {return false;};
        bool willOverflowWith(int nb) const final {return false;};
        bool willUnderflowWith(int nb) const final {(void)nb;return false;};
        bool willOverflowWith(int nb) const final {(void)nb;return false;};
        int nbSamplesInFIFO() const final {return 0;};

        T * getWriteBuffer(int nb) final
@@ -150,17 +150,19 @@ class FIFO<T,length,1,0>: public FIFOBase<T>
        FIFO(uint8_t *buffer,int delay=0):mBuffer((T*)buffer),readPos(0),writePos(delay) {};

        /* Not used in synchronous mode */
        bool willUnderflowWith(int nb) const final {return false;};
        bool willOverflowWith(int nb) const final {return false;};
        bool willUnderflowWith(int nb) const final {(void)nb;return false;};
        bool willOverflowWith(int nb) const final {(void)nb;return false;};
        int nbSamplesInFIFO() const final {return 0;};

        T * getWriteBuffer(int nb) final
        {
            (void)nb;
            return(mBuffer);
        };

        T* getReadBuffer(int nb) final
        {
            (void)nb;
            return(mBuffer);
        }

+0 −1
Original line number Diff line number Diff line
@@ -59,7 +59,6 @@ endfunction()

project(Examples)


# Add DSP folder to module path
list(APPEND CMAKE_MODULE_PATH ${DSP})

+1 −0
Original line number Diff line number Diff line
@@ -61,4 +61,5 @@ python main.py
* [Example 9](example9/README.md) : Check that duplicate nodes and arc delays are working together and a scheduling is generated
* [Example 10 : The dynamic dataflow mode](example10/README.md)
* [Cyclo-static scheduling](cyclo/README.md)
* [Simple example with the event recorder](eventrecorder/README.md)
Loading