+ Post New Thread
Results 1 to 4 of 4
  1. #1
    Full Member level 5
    Points: 2,885, Level: 12
    Achievements:
    7 years registered

    Join Date
    Oct 2006
    Location
    hyderabad
    Posts
    251
    Helped
    13 / 13
    Points
    2,885
    Level
    12

    memory implementation onto FPGA

    Hi.i am doing a project in which i need to give the input data of 256 depth and 16 bit width.i would like to implement onto FPGA.
    i heard frm friends tht i need either write fifo or sram for tht.i know how to write a synthesizable code for that.my pb. is how to configure it onto FPGA and load the data into them.

    one friend told already block-ram will be there use it.but i dont know this too.which is the best way or any other way is good in doing such tasks.

    i would like to use spartan3/3E kit.

    plz respond

    thanks in advance.

    •   AltAdvertisement

        
       

  2. #2
    Advanced Member level 2
    Points: 5,794, Level: 18

    Join Date
    Aug 2005
    Posts
    682
    Helped
    87 / 87
    Points
    5,794
    Level
    18

    memory implementation onto FPGA

    Do not write them, use corgen instead.



    •   AltAdvertisement

        
       

  3. #3
    Full Member level 2
    Points: 1,732, Level: 9

    Join Date
    Jan 2007
    Posts
    121
    Helped
    5 / 5
    Points
    1,732
    Level
    9

    Re: memory implementation onto FPGA

    Quote Originally Posted by vinodkumar
    Hi.i am doing a project in which i need to give the input data of 256 depth and 16 bit width.i would like to implement onto FPGA.
    i heard frm friends tht i need either write fifo or sram for tht.i know how to write a synthesizable code for that.my pb. is how to configure it onto FPGA and load the data into them.

    one friend told already block-ram will be there use it.but i dont know this too.which is the best way or any other way is good in doing such tasks.

    i would like to use spartan3/3E kit.

    plz respond

    thanks in advance.
    You have two ways:
    1. You may write synthesizable block which consider SRAM (You already did). Then FPGA tools will generate automatically your RAM. You should not be involved in this case.

    2. To work smart and generate your RAM directlly from the FPGA tools.

    In designs that are not BIG both ways are relevant. But although the 2'way is still the best one.



    •   AltAdvertisement

        
       

  4. #4
    Full Member level 1
    Points: 2,372, Level: 11
    ram's Avatar
    Join Date
    May 2004
    Posts
    117
    Helped
    10 / 10
    Points
    2,372
    Level
    11

    Re: memory implementation onto FPGA

    Xilinx has one xst.pdf which is for xlinx syntheis reference guide. They have shown lots of examples of memory coding styles which will automatically infer the block rams (if you are using xilinx as synthesis tool).

    Alternatively if you are using some other synthesis tool like synplify_pro etc. try the same code . If it is not infering block RAM then, use attributes or pragmas to tell to synthesis tool to synthesize as block ram


    bye
    ram



--[[ ]]--