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

Reply

VHDL - DPRAM issue

 
Thread Tools Search this Thread
Old 02-26-2004, 11:21 PM   #1
Default DPRAM issue


Hi, Folks,

I am using a DPRAM with data bus width of 32 bits on both sides of the
RAM. However, the input data at A side is 16 bits. So in order to send
32 bits of data to fill one address of the RAM, I need to use a mux
and introduce a clock cycle of latency into the writing process at A
side. The problems is that mux logic is not scan insertable and the
extra clock cycle latency is not welcome either. So my question is: is
there any nice and dirty tricks in VHDL that can avoid those problems
without changing the RAM?

Thanks in advance.

Ian


ian
  Reply With Quote
Old 02-27-2004, 07:55 AM   #2
Tim Hubberstey
 
Posts: n/a
Default Re: DPRAM issue
ian wrote:
>
> I am using a DPRAM with data bus width of 32 bits on both sides of the
> RAM. However, the input data at A side is 16 bits. So in order to send
> 32 bits of data to fill one address of the RAM, I need to use a mux
> and introduce a clock cycle of latency into the writing process at A
> side. The problems is that mux logic is not scan insertable and the
> extra clock cycle latency is not welcome either. So my question is: is
> there any nice and dirty tricks in VHDL that can avoid those problems
> without changing the RAM?


This actually has nothing to do with VHDL, it is purely a design
question.

Since you mention scan insertion, I'm going to assume you're dealing
with an ASIC, not an FPGA. Your comment about requiring a mux makes no
sense if you're writing from a 16-bit bus to a 32-bit RAM port. This is
actually a de-muxing function. Furthermore, you would normally do this
with a 16-bit register to hold one value until the second value is
available and then write both values together as one 32-bit word. I see
nothing here that should be a problem with scan insertion.

If your DPRAM has separate byte or half-word enables, you could deal
with this by tying the upper and lower halves of the Port A data bus
together and using the byte/half-word enables to control the write. This
would eliminate the latency you mention. If you are doing a standard
cell design, you should be able to ask your vendor to generate you a RAM
with the necessary enables. Otherwise, you _are_ going to have one clock
of latency on the first 16-bit value
--
Tim Hubberstey, P.Eng. . . . . . Hardware/Software Consulting Engineer
Marmot Engineering . . . . . . . VHDL, ASICs, FPGAs, embedded systems
Vancouver, BC, Canada . . . . . . . . . . . http://www.marmot-eng.com


Tim Hubberstey
  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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Digital DIGEST - LIVE UPDATE Issue 41 Ablang DVD Video 0 01-05-2004 11:54 PM
Re: odd motherboard issue hootnholler A+ Certification 0 12-19-2003 06:34 AM
Digital DIGEST - LIVE UPDATE Issue 40 Ablang DVD Video 0 12-15-2003 02:45 PM
Digital DIGEST - LIVE UPDATE Issue 39 Ablang DVD Video 0 11-29-2003 02:17 AM
Digital DIGEST - LIVE UPDATE Issue 38 Ablang DVD Video 0 11-09-2003 01:31 AM




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