لو سمحتو بدي اصمم دائرة منطقية لمصعد في مبنى بيتكون من خمس طبقات والمصعد بيقف فقط ع الارضي والثالث والخامس وبد استخدم الاتي :
One 6-bit register for holding the elevator calls
One 2-bit register for encoding the current elevator level
One 2-bit register for encoding the current direction
A combinational logic circuit that determines if the current level can be served by the elevator - inputs: elevator level, direction/ total input bits 10, let output be stop
One combinational logic circuit that determines if there are levels to be services above, let output be exists_above
One combinational logic circuit that determines if there are levels to be services below, let output be exists_below
An FSM that decides the elevator direction with input stop, exists_above, exists_below
A combinational circuit that looks at the elevator and each time it is stopped, it deactivates the corresponding red button - inputs: elevator level, elevator direction, input bits 4, output bits 3 with use of a decoder
او اي مكونات اضافية .... ارجووووووووووو المساعدة ولو بفكرة او ملاحظة بسيطة