+ Post New Thread
Results 1 to 4 of 4
  1. #1
    Full Member level 3
    Points: 1,560, Level: 9

    Join Date
    Dec 2014
    Posts
    172
    Helped
    3 / 3
    Points
    1,560
    Level
    9

    FIFO implementation using RAM

    We normally use RAM for FIFO implementation saying Flip flop implementation is costlier. How is RAM memory implemented in hardware? If RAM is implemented using normal flip flop registers, what is the use of using RAM? How RAM implementation becomes cheaper than Flip flop implementation?

    •   AltAdvertisement

        
       

  2. #2
    Advanced Member level 5
    Points: 9,201, Level: 22

    Join Date
    Apr 2016
    Posts
    1,919
    Helped
    338 / 338
    Points
    9,201
    Level
    22

    Re: FIFO implementation using RAM

    In an ASIC, RAM would be SRAM, never from flops.
    Really, I am not Sam.



    •   AltAdvertisement

        
       

  3. #3
    Advanced Member level 5
    Points: 41,023, Level: 49

    Join Date
    Mar 2008
    Location
    USA
    Posts
    6,607
    Helped
    1949 / 1949
    Points
    41,023
    Level
    49

    Re: FIFO implementation using RAM

    You would need a dual-port RAM or you would need
    to accept some form of access arbitration (and make
    it so). Index counters for the addresses, both. Over
    and underflow flagging.

    "Cheaper" means smaller area and lower power from
    RAM. "How much" and "worth the effort" are worth
    some considering. It will vary with the platform and
    performance demands and blah blah blah. You could
    go and look at FIFO memory products, chip and board
    level, and get a lot of insight I expect.



    •   AltAdvertisement

        
       

  4. #4
    Junior Member level 2
    Points: 463, Level: 4

    Join Date
    Jan 2018
    Posts
    24
    Helped
    1 / 1
    Points
    463
    Level
    4

    Re: FIFO implementation using RAM

    This was discussed and explained very well about a month ago, see: https://www.edaboard.com/showthread....h-ram-or-flops



--[[ ]]--