This lab has deliverables to be submitted and marked.
Due date: noon, 5 December 2023, Tuesday
Problem Description:
A hypothetical machine can work in manual mode or automatic mode. When it works in automatic mode, it can either work in a non terminating cycle of 3 states: prepare, cut and punch, or in a reverse non terminating cycle of the same 3 states: prepare, punch and cut.
The machine can receive two signals: AUTO and DIRC. When the AUTO signal is 0, the machine either goes to manual mode state if it's currently in any state of automatic mode, or stays in manual mode state if it's currently in the manual mode state. When the AUTO signal is 1, the machine either stays in the automatic mode if it's currently in any state of automatic mode, or goes to prepare state of the automatic mode if it's currently in manual mode state.
When the machine is in manual mode state, the DIRC signal is irrelevant. When the machine is in automatic mode, then the DIRC signal determines in which direction the machine cycles through the 3 states: DIRC signal being 0 means the machine cycles through the 3 states in the order of prepare, cut and punch; while DIRC signal being 1 means it cycles through the 3 states in the order of prepare, punch and cut.
Design and realize a sequential circuit to control the state transition of the machine based on the input sequence using JK Flip Flops (chip 7476) and other logic gates. Note that there is no explicit output for this circuit, but the output of each flip flop should be connected to an LED to observe the transition of the states.
Pre-lab Preparation:
For the design:
Based on your design, draw the logic schematic of the sequential circuit. (Deliverable: logic schematic)
For each chip used in your circuit, provide a complete pin out table. (Deliverable: pin out tables)
In-Lab Tasks:
(Optionally) take pictures of your circuits and integrate the pictures in your lab report.
The pre-lab preparation and the in-lab tasks can and should be done by a group of up to 2 students.
What to submit (Deliverables):
Lab report (a text or PDF file) that includes all the deliverables (except the physically wired circuits) and any accompanying files.
Please clearly identify your tables, diagrams and pictures with meaningful titles in your lab report.
How to submit:
You have two ways to submit:
Submit your lab report (.txt, or .pdf) and pictures (.png files) if any
on any of the cub machines
using the following script:
~liuh/bin/submit 355 Lab9 .
Alternatively, upload your report (and picture if any) to VIU Learn, under CSCI 355's assessment/assignment/Lab 9 tab.