Skip to content
FPGA Assembly (FASM) Parser and Generator
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs Small fixes to documentation. Jan 11, 2019
examples Convert to an actual well formed Python project. Jan 11, 2019
fasm Fix finding max bit. Feb 7, 2019
tests Fix test tests. Jan 11, 2019
.gitignore Import default Python .gitignore config. Feb 7, 2019
.style.yapf
.travis.yml
COPYING
MANIFEST.in Adding diagram of ecosystem to the README. Jan 11, 2019
README.md Adding diagram of ecosystem to the README. Jan 11, 2019
setup.cfg Convert to an actual well formed Python project. Jan 11, 2019
setup.py
tox.ini Convert to an actual well formed Python project. Jan 11, 2019

README.md

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.

FASM Ecosystem Diagram

Properties

  • 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.

Supported By

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.

You can’t perform that action at this time.