Setting up the FST reader
The article will help you to configure and set-up the FST readers 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.
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.
- Please check if your system has the required GNU compatible toolchain installed (g++,make)
- Press Make
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
Editing the native extension
If you press Edit Extension, impulse opens an editor with the converter 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!