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: Flavio M. De Paula<depaulfm@c...>
    Date: Thu Jul 17 21:11:15 CEST 2008
    Subject: [openrisc] What tag version of the RTL should I use that matches the or1k-sim?
    Top
    Hi Jeremy,

    Let me try to be more specific on my question. What version of the
    openrisc is the ork1sim based on?

    A clear difference between version 1/1/04 and or1ksim 0.2.0 is that in the
    latter there is a memory controler at address 0x93000000 (I looked in the
    sim.cfg file), whereas in the RTL there is no memory controller per say --
    meaning, I searched for a memory controller unit, or something that
    resembles one, the only thing closer to it is the traffic cop.

    The problem I'm having in the RTL is at the 5th instr (see below), when
    the cpu is supposed to fetch instruction at address 0xf0000118.

    To answer to your e-mail: I have downloaded and installed the new
    toolchain. I was able to boot linux 2.6.19. No problem here. But, there
    seems to be a clear difference between the actual hardware and the arch
    simulator. The aim of this e-mail to make sure I am comparing apples w/
    apples.

    Thank you for your cooperation. And, yes, once I find bugs I will file
    them and suggest fixes.


    ----- output of or1ksim

    r3 =00000001 00000100 l.ori r3,r0,0x1
    r3 =00000001 00000104 l.mtspr r0,r3,0x11
    r3 =f0000000 00000108 l.movhi r3,0xf000
    r3 =f0000118 r3 =f0000118 0000010c l.ori r3,r3,0x118
    r3 =f0000118 00000110 l.jr r3

    -----------

    ReferenceAuthor
    [openrisc] What tag version of the RTL should I use that matches the or1k-sim?Jeremy Bennett

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