Go Back   Velocity Reviews > Newsgroups > VHDL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

VHDL - Use BRam and DRam on FPGA's Xilinx

 
Thread Tools Search this Thread
Old 04-16-2007, 03:27 AM   #1
Default Use BRam and DRam on FPGA's Xilinx


Hi everybody!
When I write verilog code to generate RAM or ROM, the source code only
use slices resources. But I want to use BRam or DRam resources on FPGA
(FPGA's Xilinx) to generate RAM or ROM. Can you help me?



Gordon Freeman
  Reply With Quote
Old 04-16-2007, 01:42 PM   #2
Andy
 
Posts: n/a
Default Re: Use BRam and DRam on FPGA's Xilinx
The most common reason people get flops/gates when the wanted RAM is
that they are reading/writing more than one (single port) or two (dual
port) elements of the same array in the same clock cycle.

Review your code to ensure this is not happening.

Andy

On Apr 15, 9:27 pm, "Gordon Freeman" <gordonfreeman1...@gmail.com>
wrote:
> Hi everybody!
> When I write verilog code to generate RAM or ROM, the source code only
> use slices resources. But I want to use BRam or DRam resources on FPGA
> (FPGA's Xilinx) to generate RAM or ROM. Can you help me?





Andy
  Reply With Quote
Old 04-16-2007, 03:02 PM   #3
martin.wahlstedt
Junior Member
 
Join Date: Mar 2007
Posts: 14
Default
google xst.pdf and read the pages about memories, p. 120 ->

Martin


martin.wahlstedt
martin.wahlstedt is offline   Reply With Quote
Old 04-17-2007, 10:53 PM   #4
Andy Peters
 
Posts: n/a
Default Re: Use BRam and DRam on FPGA's Xilinx
On Apr 15, 7:27 pm, "Gordon Freeman" <gordonfreeman1...@gmail.com>
wrote:
> Hi everybody!
> When I write verilog code to generate RAM or ROM, the source code only
> use slices resources. But I want to use BRam or DRam resources on FPGA
> (FPGA's Xilinx) to generate RAM or ROM. Can you help me?


Depending on the FPGA family, you need to describe a synchronous read
in order to infer a BRAM.

-a



Andy Peters
  Reply With Quote
Old 04-18-2007, 10:47 AM   #5
Matthias Alles
 
Posts: n/a
Default Re: Use BRam and DRam on FPGA's Xilinx
Hi!

Take a look at the XST manual (xst.pdf), chapter 2: HDL Coding
techniques. This chapter describes detailed which HDL constructs will
result in the usage of which FPGA resource.

Matthias


Gordon Freeman schrieb:
> Hi everybody!
> When I write verilog code to generate RAM or ROM, the source code only
> use slices resources. But I want to use BRam or DRam resources on FPGA
> (FPGA's Xilinx) to generate RAM or ROM. Can you help me?
>



Matthias Alles
  Reply With Quote
Old 04-23-2007, 03:51 AM   #6
Gordon Freeman
 
Posts: n/a
Default Re: Use BRam and DRam on FPGA's Xilinx
On Apr 18, 4:47 pm, Matthias Alles <REMOVEallesCAPIT...@NOeit.SPAMuni-
kl.de> wrote:
> Hi!
>
> Take a look at the XST manual (xst.pdf), chapter 2: HDL Coding
> techniques. This chapter describes detailed which HDL constructs will
> result in the usage of which FPGA resource.
>
> Matthias
>
> Gordon Freeman schrieb:
>
> > Hi everybody!
> > When I write verilog code to generate RAM or ROM, the source code only
> > use slices resources. But I want to use BRam or DRam resources on FPGA
> > (FPGA's Xilinx) to generate RAM or ROM. Can you help me?


Thank you.
Right now, I can make it.



Gordon Freeman
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46