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: zhustudio<zhustudio@e...>
    Date: Sat Aug 21 12:24:28 CEST 2004
    Subject: [openrisc] about or1ksim basic.S
    Top
    hi all,

    here is the or1ksim log file. i simulate basic.S with nocache option.
    it is no error when make the source. but it can not reach the 'report'
    funtion.
    The gpr03 is deaddead. but when calling report function. it gets
    l.addi r1,r1,-4

    where can i find report function? in support.c
    or other place. thanks

    zhustudio




    040006d8: : e0681800 l.add r3,r8,r3 (next insn)
    GPR00: 00000000 GPR01: 00000001 GPR02: 00000003 GPR03: cc69e5fb
    GPR04: 00000000 GPR05: 00008001 GPR06: ffffffff GPR07: fffffffa
    GPR08: 1243f8b2 GPR09: 1243f8b2 GPR10: 04000660 GPR11: 000007ff
    GPR12: 00000fff GPR13: 00001fff GPR14: 00003fff GPR15: 00007fff
    GPR16: ffff0012 GPR17: ffff0011 GPR18: ffff8010 GPR19: ffffc00f
    GPR20: ffffe00e GPR21: fffff00d GPR22: fffff80c GPR23: fffffc0b
    GPR24: fffffe0a GPR25: ffffff09 GPR26: ffffff88 GPR27: ffffffc7
    GPR28: ffffffe6 GPR29: fffffff5 GPR30: fffffffc GPR31: 00000040 flag: 0
    040006d8: : e0681800 l.add r3,r8,r3 (executed) [time 11460ns, #564]
    HAZARDWAIT: 0
    040006dc: : 0400008a l.jal 0x8a (next insn)
    GPR00: 00000000 GPR01: 00000001 GPR02: 00000003 GPR03: deaddead
    GPR04: 00000000 GPR05: 00008001 GPR06: ffffffff GPR07: fffffffa
    GPR08: 1243f8b2 GPR09: 1243f8b2 GPR10: 04000660 GPR11: 000007ff
    GPR12: 00000fff GPR13: 00001fff GPR14: 00003fff GPR15: 00007fff
    GPR16: ffff0012 GPR17: ffff0011 GPR18: ffff8010 GPR19: ffffc00f
    GPR20: ffffe00e GPR21: fffff00d GPR22: fffff80c GPR23: fffffc0b
    GPR24: fffffe0a GPR25: ffffff09 GPR26: ffffff88 GPR27: ffffffc7
    GPR28: ffffffe6 GPR29: fffffff5 GPR30: fffffffc GPR31: 00000040 flag: 0
    040006dc: : 0400008a l.jal 0x8a (executed) [time 11480ns, #565]
    HAZARDWAIT: 0
    040006e0: : 15000000 l.nop 0 (next insn) (delay insn)
    GPR00: 00000000 GPR01: 00000001 GPR02: 00000003 GPR03: deaddead
    GPR04: 00000000 GPR05: 00008001 GPR06: ffffffff GPR07: fffffffa
    GPR08: 1243f8b2 GPR09: 040006e4 GPR10: 04000660 GPR11: 000007ff
    GPR12: 00000fff GPR13: 00001fff GPR14: 00003fff GPR15: 00007fff
    GPR16: ffff0012 GPR17: ffff0011 GPR18: ffff8010 GPR19: ffffc00f
    GPR20: ffffe00e GPR21: fffff00d GPR22: fffff80c GPR23: fffffc0b
    GPR24: fffffe0a GPR25: ffffff09 GPR26: ffffff88 GPR27: ffffffc7
    GPR28: ffffffe6 GPR29: fffffff5 GPR30: fffffffc GPR31: 00000040 flag: 0
    040006e0: : 15000000 l.nop 0 (executed) [time 11500ns, #566]
    HAZARDWAIT: 0
    04000904: (_report): 9c21fffc l.addi r1,r1,-4 (next insn)
    GPR00: 00000000 GPR01: 00000001 GPR02: 00000003 GPR03: deaddead
    GPR04: 00000000 GPR05: 00008001 GPR06: ffffffff GPR07: fffffffa
    GPR08: 1243f8b2 GPR09: 040006e4 GPR10: 04000660 GPR11: 000007ff
    GPR12: 00000fff GPR13: 00001fff GPR14: 00003fff GPR15: 00007fff
    GPR16: ffff0012 GPR17: ffff0011 GPR18: ffff8010 GPR19: ffffc00f
    GPR20: ffffe00e GPR21: fffff00d GPR22: fffff80c GPR23: fffffc0b
    GPR24: fffffe0a GPR25: ffffff09 GPR26: ffffff88 GPR27: ffffffc7
    GPR28: ffffffe6 GPR29: fffffff5 GPR30: fffffffc GPR31: 00000040 flag: 0
    04000904: (_report): 9c21fffc l.addi r1,r1,-4 (executed) [time 11520ns,
    #567]
    HAZARDWAIT: 0

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