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

Reply

VHDL - flag handling

 
Thread Tools Search this Thread
Old 06-08-2006, 05:10 PM   #1
Default flag handling


Hi Folks

I am just wondering if some guru out there can tell me what is the best

way to implement flags inside a synthesizable VHDL code.

Any one one that?

If so please email me back and share it with all.

Thank you

Faycal



Daniel
  Reply With Quote
Old 06-08-2006, 05:43 PM   #2
Ralf Hildebrandt
 
Posts: n/a
Default Re: flag handling
Daniel wrote:


> I am just wondering if some guru out there can tell me what is the best
> way to implement flags inside a synthesizable VHDL code.


What do you mean?

A flag is a register. A register is a latch or flipflop while flipflops
are recommended. Flipflops may have synchronous or asynchronos sets and
resets. Synchronous handling is good for design reliability wil
asynchronous operation may offer special behavior and therefore better
performance.
But I guess, that answer is not that, what you have expected...

Ralf


Ralf Hildebrandt
  Reply With Quote
Old 06-08-2006, 06:39 PM   #3
Mike Treseler
 
Posts: n/a
Default Re: flag handling
Daniel wrote:

> I am just wondering if some guru out there can tell me what is the best
> way to implement flags inside a synthesizable VHDL code.


I'm not sure what you mean, but here is one way.

The word "flag" sometimes connotes a register output
bit that is memory-mapped to a bus address and packed in
a specific bit position; read for status, write for control.

Search for read_data_v(0) here:
http://home.comcast.net/~mike_treseler/uart.vhd
for the hardware description of a memory mapped status flag.

Search for valid_handshake_c here:
http://home.comcast.net/~mike_treseler/test_uart.vhd
to see how this flag is used in a simulated read cycle.

-- Mike Treseler


Mike Treseler
  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
star wars part two and three and no EX flag Mark DVD Video 1 12-03-2005 01:33 AM
Re: Dolby Digital Surround EX flag on Star Wars Episodes 1-3 DVDs Mark DVD Video 3 11-10-2005 01:11 PM
CE Pro Sneak Peek: Defy Broadcast Flag, Build Your Own PVR. Allan DVD Video 0 03-10-2005 11:54 AM
FCC Broadcast Flag and compatable playback. spam@trash.can DVD Video 2 08-21-2004 09:28 PM
Why do only some DVDs have the center rear surround flag? Michael S. DVD Video 4 09-24-2003 04:50 PM




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