From https://github.com/Unallocated/FPGA