The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Design Languages >> VHDL-AMS >> VDHL code for a boolean expression
https://designers-guide.org/forum/YaBB.pl?num=1097517057

Message started by Mahesh on Oct 11th, 2004, 10:50am

Title: VDHL code for a boolean expression
Post by Mahesh on Oct 11th, 2004, 10:50am

Im new to vhdl and just want to learn the basics, ive come across a question and wanted to know how i would wrote the architechture statement, if anyone can help it would be great.

    ________
           __
             _          __
x=(AC+BC+D) + BC


Title: Re: VDHL code for a boolean expression
Post by m4he5h on Oct 11th, 2004, 11:03am

Thats mean to be

NOT (ac + NOT (B NOT C) + D) + NOT BC,
didnt come out right above

Title: Re: VDHL code for a boolean expression
Post by Paul on Oct 27th, 2004, 8:55am

Mahesh,

have a look at the following page for some VHDL guidelines:
http://www.eda.org/rassp/vhdl

To write your expression, juste replace multiplication by AND and addition by OR and put brackets in the necessary cases.

Paul

The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.