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: Wed, 29 Oct 2003 04:14:42 +0100
    Subject: [openrisc] Instruction l.mfspr ouput is not expected!
    Top

    I tried the simple program in modelsim as the following.
    
            l.addi  r3,r0,0x0004
            l.mtspr r5,r0,17
            l.sw 0(r3),r5
    
    It should be 0x8001 on dwb_dat_o,but it appeared 0x0000.
    The l.mtspr instruction seem not to work.
    Could anyone explain it to me?I don't know what mistakes I did.
    
    Thanks and Regards!
    
    
    
     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.