



kammirzazad
by kammirzazad on Dec 26, 2013 |
kammirzazad
Posts: 3 Joined: Dec 19, 2013 Last seen: May 27, 2014 |
||
Hi,
I am trying to run mor1kx (cappuccino) processor with single ram as instruction and data memory. However after reset occurs, processor puts reset vector 0x100 on ibus_addr and stops. Does anyone have idea what the cause may be? Thanks |
RE: kammirzazad
by stekern on Dec 30, 2013 |
stekern
Posts: 84 Joined: Apr 28, 2009 Last seen: Nov 10, 2016 |
||
We will need some more info to be able to debug this with you.
You said it puts address 0x100 on the insn bus, so far so good. Then you say it "stops", can you define that a bit more. Do you see an ack coming from the wb bus? |
RE: kammirzazad
by kammirzazad on Dec 31, 2013 |
kammirzazad
Posts: 3 Joined: Dec 19, 2013 Last seen: May 27, 2014 |
||
Thanks for your reply,
Actually i found out that i had connected ack from data bus to instruction bus ack input , which caused processor to stall and not go further. But i still have question about processor start-up : does it just read vector address from 0x100 and jump to there automatically or fetches and executes instructions starting from 0x100? |
RE: kammirzazad
by stekern on Jan 7, 2014 |
stekern
Posts: 84 Joined: Apr 28, 2009 Last seen: Nov 10, 2016 |
||
Thanks for your reply,
Actually i found out that i had connected ack from data bus to instruction bus ack input , which caused processor to stall and not go further. But i still have question about processor start-up : does it just read vector address from 0x100 and jump to there automatically or fetches and executes instructions starting from 0x100? It start fetching from 0x100 (or the address you configure the startup address to be, but default is 0x100). I.e. it executes the first instruction that is present at address 0x100. |
RE: kammirzazad
by bsubash66 on Jan 7, 2014 |
bsubash66
Posts: 8 Joined: Jun 15, 2012 Last seen: Sep 11, 2020 |
||
Hi
You have to start the memory location of the rom from 0x100 to execute the instructions. I have worked on it. I have implemented a rom with instruction according to my application. You can change the default address ox100 in define file of the or1200_define.v . |



