The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Mar 29th, 2024, 4:45am
Pages: 1
Send Topic Print
VDHL code for a boolean expression (Read 3747 times)
Mahesh
Guest




VDHL code for a boolean expression
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

Back to top
 
 
  IP Logged
m4he5h
New Member
*
Offline



Posts: 1

Re: VDHL code for a boolean expression
Reply #1 - Oct 11th, 2004, 11:03am
 
Thats mean to be

NOT (ac + NOT (B NOT C) + D) + NOT BC,
didnt come out right above
Back to top
 
 
View Profile   IP Logged
Paul
Community Fellow
*****
Offline



Posts: 351
Switzerland
Re: VDHL code for a boolean expression
Reply #2 - 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
Back to top
 
 
View Profile WWW   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.