OpenCores
no use no use 1/1 no use no use
load Xilinx Core Gen Block RAM with program
by marto on Aug 13, 2012
marto
Posts: 6
Joined: Feb 21, 2012
Last seen: Oct 12, 2012
So i'm trying to implement interrupts on the soft core (z80). At the moment im using a COE file to load the block ram.
Basically when the Interrupt Signal is asserted the program is to jump to 0038H and then it will return.

Here's the program: 31 99 20 C3 00 20 C3 0A 20 FB ED 56 3E 00 C6 00 CA 05 20 F3 3E 55 D3 07 3E 00 FB C9

but I want part of it to be in the Xilinx block ram at location 0000H, then some at 0038H for the interrupt and some at 2000H for the main program.

Is there an easy way to accomplish this?
RE: load Xilinx Core Gen Block RAM with program
by marto on Aug 23, 2012
marto
Posts: 6
Joined: Feb 21, 2012
Last seen: Oct 12, 2012
Nevermind.
Couldn't find a way to delete the thread.

Just required assembler directives to pad the code.
no use no use 1/1 no use no use
© copyright 1999-2026 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.