LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Advertise
  • Mirrors
  • Logos
  • Contact us
  • Find Resources
  • Job Opportunity
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Openrisc > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: John.Smith@y...
    Date: Fri, 31 Oct 2003 17:22:50 +0100
    Subject: Re: [openrisc] Instruction l.mfspr ouput is not expected!
    Top

    
    
    ----- 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 
    > 
    
    
    

    Follow upAuthor
    Re: [openrisc] Instruction l.mfspr ouput is not expected!Damjan Lampret

     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.