|
Message
From: John.Smith@y...
Date: Fri, 31 Oct 2003 17:22:50 +0100
Subject: Re: [openrisc] Instruction l.mfspr ouput is not expected!
----- Original Message -----
From: "Damjan Lampret" <lampret@o... >
To: <openrisc@o... >
Date: Fri, 31 Oct 2003 17:06:09 +0100
Subject: Re: [openrisc] Instruction l.mfspr ouput is not expected!
Hi
No,I did not initialize R5.
I have just tested the simple program with three line.
Is there any other possible reason?
The code is so large that I can not find where is the source of the
error.
Regards
>
>
> > 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
>
|
 |