Engineering How Essential Are Truth Tables in VHDL Digital Circuit Design?

AI Thread Summary
Truth tables are not essential for VHDL digital circuit design, as VHDL functions more like control code than traditional logic design. Instead of relying on truth tables, it is suggested to map out the logic and control flow first. Creating a state diagram from this mapping can help derive the necessary truth table. Key elements to consider include item numbers, selection states, and LED indicators. Overall, focusing on the logic flow can simplify the design process in VHDL.
needroom
Messages
1
Reaction score
0
inore
 
Last edited:
Physics news on Phys.org
needroom said:
I try to write the truth table but can't fully figure out.

You don't actually really need truth tables for VHDL. It's control code, so it's closer to programming in its own way. It might be easier if you start by mapping out the logic/control flow/decisions, use that to get the state diagram and get the truth table from the state diagram.

Start with the different elements/states:

ITEM NUMBER (00||01||10||11)
SELECT (0|1)<-off/on
DISPENSING LED (0,1)
LED, INSUFFICIENT_VALUE
TOP_UP
etc
 
Last edited:
Back
Top