11-30-2010 08:08 AM
I'm having assignment about making queue system with 2 input and display output using 7segment and buzzer.
with following criteria:
A = 1, B = 0, show number 1.
A=0,b=1, show number 2.
A=1, b= 1, show number 1, after few second show number 2.
I've done until 2nd criteria and i've done the logic expression.
But now, i dunno how to get the priority system which show 2 after few second.
Can someone help me about this...
Thx 🙂
03-09-2011 07:34 AM
Can you post what you already have and then perhaps other users can give you an idea how to move forward? Usually with this type of system (with timing involved and various 'states') - a state machine is probably the best method using combinational logic and likely some sort of simple RC timing circuit. Since your current implementation is unknown, its difficult to suggest a circuit implementation.
One approach (especially if you'll be adding additional functionality) is to implement a state machine is to use a Karnaugh map (http://en.wikipedia.org/wiki/Karnaugh_map) to implement your design. Once you've designed the logic, you'll need to build a Finite State Machine (http://en.wikipedia.org/wiki/Finite-state_machine) and then likely implement using combinational logic and d-flip flops.
I remember using the Greenfield book in school when initally learning about state machines and their implementation and this might be a good place to start (http://www.amazon.com/Practical-Digital-Design-Using-ICS/dp/0136898947) but there likely are other practical books as well.
Regards,
Pat Noonan