Project - ECE 421L 

Authored by Antanasia Jones

jonesa20@unlv.nevada.edu

 

11/30/16

  

For the lab project I had to design a circuit that can detect the output 101011 when it appears in a series.

   

In the first part of the project I had to design a falling edge D-Flip Flop  (DFF) circuit. The DFF is used to inverter a signal based on the input signal clock. The DFF uses TGs to provide full logic level on the outputs. Below are images of the transmission gates (TG) circuits that were used in the DFF schematic. Below are images of the TGs, that are refered to as Clock1 and Clock2, and DFF circuits, symbols and layouts. Clock1 is the where the clock of the PMOS is clock and clock of the NMOS is clock inverse. Clock2 is where the clock on the PMOS clock inverse and the clock on the NMOs is clock.

   

clk1.jpg

Clock circuit 1 schematic

 

clk1_sym.jpg

Clock 1 Symbol 

   

 clk1_layout.jpg

Clock 1 Layout

   

clk2.jpg

Clock 2 circuit schematic

   

clk2_sym.jpg

Clock 2 symbol

   

clk2_layout.jpg

Clock 2 layout 

   

DFF.jpg

D Flip Flop Circuit

   

DFF_sym.jpg

D Flip Flop Symbol

   

DFF_layout.jpg

D Flip Flop layout

   

The DFF operates by taking an input and generating two outputs, one that is the same as the input and one that is the inverse. The outputs, Q and Q', follow the falling edge of the clock, where the output can only chnage when the clock is falling. At other points in the simualtions the output should remain constant until the next falling edge. The simulation of the DFF should show that the Q output follows the D input on the falling edge of the clock and the Q' output is the inverse of the Q output. Below is an image of the simualtion of the DFF. 

 

DFF_sim.jpg 

DFF Simulation 

For the detector circuit, I inmplemented the detect operation using a NAND gate that would take the output Q from the DFFs and detect the desired sequence. Since the sequence has 6 bits I had to design a 6-bit NAND gate. Below are images of the 6-bit NAND gate schematic, symbol and layout. 

   

nand.jpg

6-bit NAND Gate schematic

 

nand_sym.jpg

6-bit NAND gate symbol 

 

nand_layout.jpg

6-bit NAND gate layout


On the output of the detector I had to place a buffer that would amplify the output signal. I calculated the Buffer value to be 5 so each buffer has a multiplier of 5 from the previous. This value was selected so that there wouldn't be too much delay in the output of the detector circuit. Below are images of the buffer schematic, symbol, and layout.

buf.jpg
Buffer schematic
 
buf_sym.jpg
Buffer symbol
 
buf_lay.jpg

Buffer layout
    
The detector circuit is made up of 6 DFF and the 6-bit NAND where the outputs of the DFF all go into th NAND gate. Below are images of the detector circuit, symbol, layout, DRC and LVS.
det.jpg
detector schematic
 
det_sym.jpg
detector symbol
 
det_lay.jpg
detector layout
 
drc.jpg
detector DRC
 
lvs.jpg
detector LVS
 
The simulation of the detector circuit should output a 1 when the signal 101011 appears. If any other signal appears the output should be 0. Below are images of the simulation results of the detector.
det_sch.jpg
detector simulation circuit
 
sim1.jpg
detector results for 101011
   
Zipfile for lab project placed here.
   

Return to EE421L Labs