FPGA Assembly (FASM) Parser and Generation library
This library provides a textX grammer for the FASM file format some basic functions for parsing and generating FASM files.
FPGA Assembly (FASM)
FPGA Assembly is a file format designed by the SymbiFlow Project developers to provide a plain text file format for configuring the internals of an FPGA.
It is designed to allow FPGA place and route to not care about the actual bitstream format used on an FPGA.
- Removing a line from a FASM file leaves you with a valid FASM file.
- Allow annotation with human readable comments.
- Allow annotation with "computer readable" comments.
- Has syntactic sugar for expressing memory / lut init bits / other large arrays of data.
- Has a canonical form.
- Does not require any specific bitstream format.
FASM is currently supported by the SymbiFlow Verilog to Routing fork, but we hope to get it merged upstream sometime soon.
It is also used by Project X-Ray.