|
Message
From: "Damjan Lampret" <lampret@o...>
Date: Fri, 31 Oct 2003 17:06:09 +0100
Subject: Re: [openrisc] Instruction l.mfspr ouput is not expected!
> No,It is not zero I found.SR is 0x8001.I am using modelsim.
> It is strange that register SR is 0x8001.I monitored SR in module
> or1200_sprs.On reset SR should be 0x8001.
> And in or1ksim the result is right.
> I don't know what is wrong yet!:(
Could happen if we you different R5 in or1ksim and rtl simulation. Where do
you initialize R5? Put another instructions something like
l.addi r5,r0,0
before the three instructions.
regards,
Damjan
|
 |