The Challenge

In this assignment you will  develop a  sequential circuit to allow for  secret communication between  branches of your company.

Thanks to employees like you and the stock speculators,  Banana Electronics has grown significantly over the last semester. It is thus attracting  the attention of many competitors forcing the company to safeguard its proprietary information.  The  Board of Directors of Banana Electronics  has decided that information exchange among the  branches should occur  in binary serial format and approved a top secret code for encrypting the data.   Your assignment  is to develop the transmitter circuit that encrypts the  bit stream and to produces the bit stream to be transmitted. 

SPECIFICATIONS:

The transmitter has one input (X)  on which information bits are fed to the unit.  It has  one output (Z) on which  the encrypted bit stream appears. 
Operation:
(a) Initially the output Z is equal to the value of the input bit.
(b) After the pattern 011 occurs in the input, the output becomes equal to the complement of the  input bit until the pattern 0010 occurs.
(c) Once the pattern 0010 occurs in the input, the output becomes equal to the  input bit  until the pattern 011 occurs.

(b) and (c) continue for as long as bits are received. Two patterns (0010 and 011 ) may have overlap.

Example:
X =  1 0 0 1 1 1 0 1 0 0 0 0 0 1 0 1 0 0 1 1 0 1
Z =    1 0 0 1 1 0 1 0 1 1 1 1 1 0 1 1 0 0 1 1 1 0


Design Constraints:
Use a Moore Machine  with J-K flip-flops.

Extra Credit:
Design using Mealy Machine


 
 

This project was developed by A. Jayasumana