01 Concept

flux trace format is an open waveform/trace format targeting semiconductor and multi-core embedded system use-cases. The trace data is packed into a binary format and allows scalable compression. Traces A trace combines a set of...

Continue reading

02 Steps to create a trace

impulse-> Import flux trace, select an import folder and press ok. 3) toem repos @ GitHub Use this link to access the toem repos at GitHub (flux and examples). Steps to create a trace Prepare the memory Create...

Continue reading

03 Hello flux

Hello flux Example 1 creates the simple uncompressed trace and writes it into a file. Preparing the memory The first step in setting up a flux trace is calculating the required memory. The core of flux does not use any c-library...

Continue reading

04 To be handled ...

To be handled ... The previous example used the flxWriteToFile handler of flux. In the embedded area, you probably will use a dedicated channel for trace data. To do so, you just need to add a handler function like below:   flxresult...

Continue reading

05 Scopes and numeric data

Scopes and numeric data The method flxAddScope adds a scope item to the trace. Scopes shall be used to organize large amounts of signals. The arguments are: the trace object, itemId for the scope, parentId, here 0 for the root...

Continue reading

06 Text, enums and binary data

Text, enumeration and binary data Text and binary signal handling is similar to the handling of integer signals. You just need a pointer and a size.   // head flxAddHead(trace, "example", "flux example"); //...

Continue reading

07 Structured data

Structured data Signals of type structure can transport a set of values (members) with each change. This member set may vary from sample to sample.  The following types are supported: FLX_STRUCTTYPE_TEXT : Textual data FLX_STRUCTTYPE_ENUM...

Continue reading

08 Arrays

Arrays Array are similar to structures with the difference that all members have the same type. Supported types are integer, float and event. To declare an array signal you need to select the corresponding array type (FLX_TYPE_INTEGER_ARRAY,...

Continue reading

09 Logic data

Logic data Below you find a small example tracing logic data (verilog,..). A logic bit is made up by one of the following states: #define FLX_STATE_0_BITS  0 #define FLX_STATE_1_BITS  1 #define FLX_STATE_Z_BITS ...

Continue reading

10 Relations and labels

Relations and labels Associations and labels allow you to highlight relations between trace signals or add additional information to samples. Below example defines a  set of event signals using enumeration values. If you attach an...

Continue reading

A1 API Reference

Overview Buffer creation and handling #define FLX_BUFFER_BYTES flxBuffer flxCreateFixedBuffer void flxClearBuffer flxbint flxGetBufferBytes flxresult flxFlushBuffer Trace creation and handling #define FLX_TRACE_BYTES flxTrace flxCreateTrace flxresult...

Continue reading

toem

technical software and tooling

Company

Contact Us

This email address is being protected from spambots. You need JavaScript enabled to view it.