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

Reply

VHDL - Silly question....

 
Thread Tools Search this Thread
Old 09-26-2003, 09:50 AM   #1
Default Silly question....


Sorry for this silly question, but the issue bugs me a little.
I have the logical expression:

/A*/B + A*B

( / means not...)

could'nt this expression be reducved more????

Don




Don
  Reply With Quote
Old 09-26-2003, 10:45 AM   #2
Allan Herriman
 
Posts: n/a
Default Re: Silly question....
On Fri, 26 Sep 2003 10:50:05 +0200, "Don" <> wrote:

>Sorry for this silly question, but the issue bugs me a little.
>I have the logical expression:
>
>/A*/B + A*B
>
>( / means not...)
>
>could'nt this expression be reducved more????


I translate this to VHDL (it *is* comp.lang.vhdl, after all) as

(not a and not b) or (a and b)

Is this what you meant?

It is equivalent to (a xnor b)

If your target hardware is lookup table based, then this already
produces the smallest amount of logic (1 LUT).
If your target hardware has an XNOR (or XOR) cell, it will probably be
smaller than the separate ANDs, OR and NOTs.
If you are making this out of transistors, there are some tricks you
can pull. I can get it down to 8 transistors after a few seconds
thought (two inverters and two transmission gates).

Was this homework?

Regards,
Allan.


Allan Herriman
  Reply With Quote
Old 09-26-2003, 12:38 PM   #3
Don
 
Posts: n/a
Default Re: Silly question....
"Allan Herriman" <> wrote in
message news:...
> On Fri, 26 Sep 2003 10:50:05 +0200, "Don" <> wrote:
>
> >Sorry for this silly question, but the issue bugs me a little.
> >I have the logical expression:
> >
> >/A*/B + A*B
> >
> >( / means not...)
> >
> >could'nt this expression be reducved more????

>
> I translate this to VHDL (it *is* comp.lang.vhdl, after all) as
>
> (not a and not b) or (a and b)
>
> Is this what you meant?
>
> It is equivalent to (a xnor b)
>
> If your target hardware is lookup table based, then this already
> produces the smallest amount of logic (1 LUT).
> If your target hardware has an XNOR (or XOR) cell, it will probably be
> smaller than the separate ANDs, OR and NOTs.
> If you are making this out of transistors, there are some tricks you
> can pull. I can get it down to 8 transistors after a few seconds
> thought (two inverters and two transmission gates).
>
> Was this homework?
>
> Regards,
> Allan.


Thank you very much.

Don




Don
  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
"Installing two drives" question - what next? Jim A+ Certification 12 08-07-2005 01:19 PM
Re: Good morning or good evening depending upon your location. I want to ask you the most important question of your life. Your joy or sorrow for all eternity depends upon your answer. The question is: Are you saved? It is not a question of how good God DVD Video 3 04-25-2005 04:19 PM
Re: Good morning or good evening depending upon your location. I want to ask you the most important question of your life. Your joy or sorrow for all eternity depends upon your answer. The question is: Are you saved? It is not a question of how good Filthy Mcnasty DVD Video 0 04-25-2005 04:29 AM
Re: Safe Mode Question (A+ question) Gordon Findlay A+ Certification 0 06-16-2004 10:48 AM
Silly Test Scheduling Question dreamer A+ Certification 0 02-06-2004 02:12 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