Home

RH02 Setting up the FST reader native extension

The article will help you to configure and set-up the FST readers native extension.



Native extension

The FST reader uses a native extension, meaning that it calls a native application (converter) to open and read data from the FST file. Find more about native extensions in the manual.
This native extension contains a source library from gtkWave and comes with pre-compiled converters.

17 Native Extensions



Re-compiling the native extension

You just need to re-compile the FST native extension if the original does not fit to your system (parse errors).

Go to Preferences->impulse->Native Extensions->FST Native.

mkdir -p linux-x86_64
gcc -m64 main.c ../flux.c ../lz4.c ../fastlz.c fstapi.c libz/adler32.c libz/compress.c libz/crc32.c libz/deflate.c libz/gzclose.c libz/gzlib.c libz/gzread.c libz/gzwrite.c libz/infback.c libz/inffast.c libz/inflate.c libz/inftrees.c libz/trees.c libz/uncompr.c libz/zutil.c  -I .. -I . -Ilibz  -D FLX_CONTROL -D FLX_COMPRESS -D FLX_STDIO -D FLX_ITEM_EXTENSION="flxbyte signalType;flxuint signalScale;" -Wno-implicit-function-declaration -g     -o linux-x86_64/fst
chmod 777 linux-x86_64/fst

If the output shows an error, you might need to extend the parameters for additional flags and libraries. If you can not resolve, send an email to This email address is being protected from spambots. You need JavaScript enabled to view it. with the text of the message output field.



Editing the native extension

If you press Edit Extension, impulse opens an editor with the extension sources.
This enables experienced users to enhance the readers native extension or to explore the fst content in a different manner. We are looking forward to get your feedback!


toem

technical software and tooling

Company

Contact Us

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