Microcode compilation

The ao68000 microcode is represented as an Java program. Execution of this program results in generating the binary microcode.

Microcode operations

All possible microcode operations are described at the beginning of ./rtl/ao68000.v. The locations of:

are auto-generated and inserted to the same file. All the available operation are also represented as Java functions and saved in an auto-generated file, located at ./sw/ao68000_tool/Parser.java (Microcode operations). This auto-generated data is generated by the tool ./sw/ao68000_tool/ (ao68000_tool documentation).

Microcode compilation

The source for the microcode is located at ./sw/ao68000_tool/Microcode.java (Microcode).

The compiled microcode, in Altera MIF format, is located at ./rtl/ao68000_microcode.mif.

The tool ./sw/ao68000_tool/ (ao68000_tool documentation) is used to compile the microcode source and transform it into a MIF file. The makefile containing instructions for performing the compilation is located at ./Makefile.