I have been trying to do some basic stuff as follows,
I have made a basic cpu with one in-port and one out-port
given a constant value at the inport
want to read the value in the outport by implementing the CPU using assembly prog.
.text
.global _start
_start:
movia r15, 0x00000000 /*base address of input port*/
movia r16, 0x00000010 /*base address of output port*/
ldwio r4, 0(r15)
stwio r4, 0(r16)
.end
how shud i compile this and write into the FPGA ???
I much complicated project is awaiting me... if i get through these basics i and pick up and go ahead. please help.