Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how to use memory in FPGA?????///

Status
Not open for further replies.

sid1986m

Newbie level 4
Joined
Sep 8, 2010
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,309
can anybody help me abt how to use memory in fpga (virtex 5)
 

you declare an array of registers and it will automatically infer a memory in a given fpga e.g.

reg [15:0] reg_file[0:15]

will infer a memory in an FPGA. I have tried this with XILINX FPGAs
 

Hi,
you can instantiate a (hard) SRAM using Xilinx Core Generator.
 

Thats another way too. Thanks Malek for pointing that out.
 

hi tariq and malek i will try for this and let u know

---------- Post added at 23:36 ---------- Previous post was at 23:02 ----------

hi tariq i have use ur method but what i want is i have to use this reg in in 2 different module in one module i have to write and in other module i have to read the same reg. thats y i m facing problem. can u help me?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top