![]() |
|
|
|
#1 |
|
Hi,
A newbie question: what does "guard" mean in VHDL? Can anybody kindly give me one example? Kuan Kuan Zhou |
|
|
|
|
#2 |
|
Posts: n/a
|
Probably you can find a little bit more at this location
http://www.acc-eda.com/vhdlref/refgu...res/blocks.htm Its interesting if a signal if all drivers to a signal are disconnected. What should be the value of that signal? Therefore the a signal declaration can be declared as: signal myobject1 : std_logic REGISTER; signal myobject1 : std_logic BUS; In case myobject1 it not driven anymore it remembers its last value. In case myobject2 is not driven anymore the resolution functions determines the value. see more on this at: http://www-asim.lip6.fr/recherche/al...ubset/vbe.html Egbert Molenkamp "Kuan Zhou" <> wrote in message news > Hi, > > A newbie question: what does "guard" mean in VHDL? Can anybody kindly > give me one example? > > Kuan Egbert Molenkamp |
|
|
|
#3 |
|
Posts: n/a
|
guard is the implicit signal created when you declare a block with a
guard expression. guard expressions are used to control operation of guarded signal assignments. ex: guard_ex: block (value = '1') is begin --- signal_a <= guarded (x and y); --- end block; here signal_a is a guarded signal evaluated when guard is true ie, when value='1'. -Neo zingafriend@yahoo.com |
|
|
|
#4 |
|
Posts: n/a
|
On Mon, 24 Jan 2005 00:41:42 -0500, Kuan Zhou <>
wrote: >Hi, > > A newbie question: what does "guard" mean in VHDL? Can anybody kindly >give me one example? Given that you say you're a newbie, perhaps a better answer would be: Guard is a keyword you won't ever use in synthesisable code, and probably won't use in your testbench either. Regards, Allan Allan Herriman |
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PETITION TO STOP BUSH'S DRAFT | jasmine | DVD Video | 148 | 11-23-2004 07:05 AM |
| New York Times Killed "Bush Bulge" Story | Jas | DVD Video | 79 | 11-16-2004 04:49 AM |
| OT: KERRY TO CONCEDE!!!!!!! | RnR Lesnar | DVD Video | 131 | 11-10-2004 09:49 PM |
| Chicago Sun Times: Bush's draft is very POSSIBLE | Jasmine | DVD Video | 63 | 09-30-2004 04:55 PM |