As a side project I've implemented a Brainfuck CPU in verilog (see BCFU.v). Although completely useless due to the fact that there are only 8 instructions, it was a fun and educative project to work on. Only open-source tools were used (to the best of my knowledge).
Because it has a cache for the dataoperations read and write instructions to the ram must be inserted. The cpu uses a finite state machine with 16 internal states to decide the next instruction at rumtine. read documentation for more info.
just run make
and everything should run :)
If you wish to compile a c program run make configure
and then make c
some programs can be found in the program/examples. just copy paste to program.be Some c programs can be build (see here)
I've created the hardware using qflow. Follow the link for instructions.
iverilog bison flex
qflow and dependecies