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: Kuoping Hsu<kuoping@s...>
    Date: Thu Sep 2 15:50:30 CEST 2004
    Subject: [openrisc] l.macrc problem.
    Top
    Dear All,

    In the OpenRISC 1000 architecture manual, it defines the l.macrc as follow,

    Format:
    l.macrc rD

    Description:
    blah blah........

    32-bit Implementation:
    rD[31:0] <- MACLO[31:0]
    MACLO[31:0], MACHI[31:0] <- 0

    But I found the real implementation (both of RTL code and or1ksim) is,

    rD[31:0] <- (MACHI, MACLO) [59:28]
    MACLO[31:0], MACHI[31:0] <- 0

    I do not think the RTL code and or1ksim take the same mistake. Which implementation is correct?

    Kuoping


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