Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > VHDL > Truth Table: Help !

Thread Tools

Truth Table: Help !

marco.marsella marco.marsella is offline
Junior Member
Join Date: Mar 2010
Posts: 3

I have to implement a truth table (very easy...)

...but in the definition of the table there are some "don't care" bits...

Let's say for example that the table is so defined:

"000" -- "111000"
"001" -- "000111"
"010" -- "11--11"

...... and so on....

What I need is that the minimun number of output bits toggle,
so that the output for input "010" is:
"110111" when the previous input was "001" and
"111011" when the previous input was "000".

Any idea ???

Thanks in advance and regards,
Reply With Quote
jeppe jeppe is offline
Senior Member
Join Date: Mar 2008
Location: Denmark
Posts: 348
This can't be done with a truth table - I would say you need a State Diagram instead.

Reply With Quote
JohnDuq JohnDuq is offline
Join Date: Dec 2008
Posts: 88
Instead of a three-bit truth table with just the present input, how about a six-bit truth table with both the previous input and the present input?
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
help with truth tables? jazzman519 VHDL 0 11-27-2009 03:33 PM
How to validate one control based on the truth value of another validator? ASP .Net 1 10-12-2005 03:56 PM
OT: The truth about Macintosh MCSE World MCSE 7 09-09-2003 05:58 PM
Truth Table Implementation shibu VHDL 3 09-04-2003 05:09 AM
Truth Table help PerritoPerron C++ 5 07-13-2003 08:49 PM