---
+ Post New Thread
Results 1 to 2 of 2
  1. #1
    Newbie level 1
    Points: 370, Level: 4

    Join Date
    Dec 2010
    Posts
    1
    Helped
    0 / 0
    Points
    370
    Level
    4

    Help me declare the array of a SRAM memory using Verilog

    I need to design a 16MB SRAM Memory in my project..can a nyone help me with the way I need to declare the array for memory using verilog.
    What will be the array size so as to get a 16MB memory, what will be the number of address bits required for that..
    I am not able to understand the correspondance of address to its related data.. I mean how will address get linked with the data.
    I need to do this all with verilog code

    Thanks in advance

    •   Alt3rd December 2010, 06:47

      advertising

        
       

  2. #2
    Member level 1
    Points: 766, Level: 6

    Join Date
    Dec 2010
    Posts
    32
    Helped
    6 / 6
    Points
    766
    Level
    6

    Re: Design a SRAM Memory

    Number of data words to be stored in the memory = Memory size = 2 ^ (Number of address bits).

    There is no correspondence between the data and address as such. The address width only defines the amount of data that can be stored.

    Hope you can do rest of the calculation. :)


    1 members found this post helpful.

+ Post New Thread
Please login