TAILIEUCHUNG - Sequential Verulog Topics part 13

Example of Sequential Circuit Synthesis In Section , An Example of RTL-to-Gates, we synthesized a combinational circuit. Let us now consider an example of sequential | Example of Sequential Circuit Synthesis In Section An Example of RTL-to-Gates we synthesized a combinational circuit. Let us now consider an example of sequential circuit synthesis. Specifically we will design finite state machines. Design Specification A simple digital circuit is to be designed for the coin acceptor of an electronic newspaper vending machine. Assume that the newspaper cost 15 cents. Wow Who gives that kind of a price any more Well let us assume that it is a special student edition The coin acceptor takes only nickels and dimes. Exact change must be provided. The acceptor does not return extra money. Valid combinations including order of coins are one nickel and one dime three nickels or one dime and one nickel. Two dimes are valid but the acceptor does not return money. This digital circuit can be designed by using the finite state machine approach. Circuit Requirements We must set some requirements for the digital circuit. When each coin is inserted a 2-bit signal coin 1 0 is sent to the digital circuit. The signal is asserted at the next negative edge of a global clock signal and stays up for exactly 1 clock cycle. The output of the digital circuit is a single bit. Each time the total amount inserted is 15 cents or more an output signal newspaper goes high for exactly one clock cycle and the vending machine door is released. A reset signal can be used to reset the finite state machine. We assume synchronous reset. Finite State Machine FSM We can represent the functionality of the digital circuit with a finite state machine. input 2-bit coin 1 0 no coin x0 2 b00 nickel x5 2 b01 dime x10 2 b10. output 1-bit newspaper release door when newspaper 1 b1 states 4 states s0 0 cents s5 5 cents s10 10 cents s15 15 cents The bubble diagram for the finite state machine is shown in Figure 14-10. Each arc in the FSM is labeled with a label input output where input is 2-bit and output is 1-bit. For example x5 0 means transition

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.