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 > Cores > Message List > Message Post

    Message

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

    From: Mark McDougall<markm@v...>
    Date: Tue Apr 12 05:15:36 CEST 2005
    Subject: [oc] Sony IRCS Core
    Top
    Jai Dhar wrote:

    > These two
    > codes (7 bit and 8 bit) are currently parallel outputs.

    15 bits of parallel output could be inconvenient to low-end micros (with
    8-bit data bus). You'd have to decode 2 separate addresses or use two
    GPIO ports (micro-controller).

    You may wish to consider an 8-bit wide FIFO to store a couple of
    device/command pairs (serially) whilst the host is too busy to process
    and/or has a high interrupt latency. This could be useful if interfacing
    to a small micro that disables interrupts for a while when it's doing
    something else.

    > - when valid data is received, raise an interrupt pin. - Data bus
    > (both cmd and dev. registers) are constantly updated - When user
    > wishes to strobe data, assert an ack signal that clears the
    > interrupt.

    Are you contemplating an edge or level interrupt signal? I suspect level
    is easier to implement (eg. tie to FIFO not empty). Don't know whether
    you want to bother considering (host) interrupt sharing issues?!?

    Without a FIFO simply reading the register (RD strobe) could clear the
    interrupt. With a FIFO you could use the FIFO empty to control the
    interrupt line. I'd also consider having an interrupt enable/disable as
    well.

    > Essentially, it is up to the user to respond as fast as they wish -
    > the data will constantly be updated even if the interrupt isn't
    > serviced.

    Depends on whether or not a missed command is important. Using a FIFO
    could cause a lot less headaches for low-end host processors...

    Regards,

    --
    Mark McDougall, Software Engineer
    Virtual Logic Pty Ltd, <http://www.vl.com.au>
    21-25 King St, Rockdale, 2216
    Ph: +612-9599-3255 Fax: +612-9599-3266


    ReferenceAuthor
    [oc] Sony IRCS CoreJai Dhar

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