About

This website hold the development of the the circuitize passes for gcc. This project involve creating some new passes in the GCC compiler to directly produce the hardware circuit descriptions of part of the code specified with the user. When the circuitize pass is activated the compiler is producing both a circuitized version of the binary and a circuit description file as suggested by figure below:

The gcc compiler will compile the source file as usual, but the circutize pass will take a particular care of the code between the ciruitize_start and circuitize_end functions calls, as the part of the code to circuitize.

The circuitized binary will look like the regular binary but the circutized parts will be replaced by some call to the dedicated circuit.

The circuit description file will describe this dedicated circuit.

Both those circuitized binary and circuit description will then be used as input to a dedicated simulator that would allow us to extract performance metrics.

GCC

For details on how to implement a pass inside GCC, please refer to the GCC Wiki. You will find a collection of information including tutorial materials.

GCC is owned by the Free Software Foundation (FSF), as such, all contributors must assign their copyright to the FSF before any of their changes are accepted. The copyright assignment process is described in Contributing to GCC.