Task
Create a compiler for a made up language, that would compile on picoCPU.
To translate ASM to machine code, use picoASM as library.
To verify solution, simulate picoCPU in Vivado.
Required features:
http://ati.ttu.ee/~kjans/iag0450/
http://ati.ttu.ee/~hkinks/antlr
http://ati.ttu.ee/wiki/index.php/PicoCPU
arr[5] = {1,2,3,4,5};
i = 0;
sum = 0;
while (i<5) {
sum = sum + arr[i];
i++;
}
exit;
http://ati.ttu.ee/~hkinks/antlr/array-adder.asm