Project - EE 421L 

Authored by Surafel Abera

Abera@unlv.nevada.edu

November 15, 2017

 

   
First Part of Lab Work:

Design an even parity checking circuit having a 9-bit input word, 8-bits data and 1-bit parity, that outputs a 1 (0) when the even parity check is valid (invalid)

The inputs to your circuit are D0-D7, P and the output is checkd.  

An even parity bit is a bit added to a string of binary code to ensure that the total number of 1-bits in the string is even.  

An odd parity bit is a bit added to a string of binary code to ensure that the total number of 1-bits in the string is odd  


8 bits of datacount or (#) of 1-bits8 bits (+) parity bit = 9bits
evenodd
0000 00000000000000000000001
1010 00002101000000101000001
1000 11104100011100100011101
0000 00011000000011000000010
1001 00013100100011100100010
0011 11105001111101001111100

The even parity checking circuit will be checking the validity of the 9-bit input word by comparing the parity bit (the las bit) with 8-bit parity generator. 
http://cmosedu.com/jbaker/courses/ee421L/f17/students/abera/PROJECT/Even%20parity%20bit%20checker/9bit%20word%20diagram.jpg
An even parity bit (1-bit) is generated from 8-bit input XOR gate and it is XORed with the 9th bit (last bit).  The output tells us the validity of the 9th bit.
                                       
D2D1D0P
0000
0011
0101
0110
1001
1010
1100
1111
P(3-bit) = (D2) XOR (D1) XOR (D0)
 
                                          Schematic and Symbols for inverter, buffer, XOR Gates

                                          

inverter Schematicsinverter Symbol
http://cmosedu.com/jbaker/courses/ee421L/f17/students/abera/PROJECT/inverter.JPG
http://cmosedu.com/jbaker/courses/ee421L/f17/students/abera/PROJECT/inverter%20symbol.JPG
The inverter size is 6u/600n and it is used to build the buffer for contact pads.
      
 Buffer Schematics Buffer Symbol
http://cmosedu.com/jbaker/courses/ee421L/f17/students/abera/PROJECT/Buffer/buffer6%20schematic.JPG
http://cmosedu.com/jbaker/courses/ee421L/f17/students/abera/PROJECT/Buffer/buffer6%20symbol.JPG

The buffer circuit consistes of 6 inverters enough to drive capcitive load.  

        

XOR Schematic XOR Symbol
http://cmosedu.com/jbaker/courses/ee421L/f17/students/abera/PROJECT/Xor/Xor%20schematic.JPG
http://cmosedu.com/jbaker/courses/ee421L/f17/students/abera/PROJECT/Xor/Xor%20symbol.JPG
  The XOR is used to build the even parity generator and the detector.
                                                     
DFF Schematic 8-bit NOR Symbol
http://cmosedu.com/jbaker/courses/ee421L/f17/students/abera/PROJECT/Dff/Dff2%20Schematic.JPG
http://cmosedu.com/jbaker/courses/ee421L/f17/students/abera/PROJECT/Dff/Dff%20Symbol.JPG
    A DFF is used to impliment the serial to parallel converter that is used to loaded the 9-bit word into the Even Parity Checker
 
Sim Dff Sim Dff plot
http://cmosedu.com/jbaker/courses/ee421L/f17/students/abera/PROJECT/Dff/sim%20Dff.JPG
file:///C:/Users/My%20Surface/Desktop/EE421L/PROJECT/Dff/sim%20Dff%20plot.JPG

       

Even Parity Checker Schematic Even Parity Checker Symbol
http://cmosedu.com/jbaker/courses/ee421L/f17/students/abera/PROJECT/Even%20parity%20bit%20checker/EPC%20schematic.JPGhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/abera/PROJECT/Even%20parity%20bit%20checker/EPC%20schematic.JPGhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/abera/PROJECT/Even%20parity%20bit%20checker/EPC%20schematic%20symbol.JPG

The even parity checker schematic consistes of 8 XORs and a Buffer

                             

Schematic for simulating of Even Parity Checker 
http://cmosedu.com/jbaker/courses/ee421L/f17/students/abera/PROJECT/Even%20parity%20bit%20checker/sim%20EPC%20schematic.JPG



Clock Vpulse parametersData Vpulse parameters
http://cmosedu.com/jbaker/courses/ee421L/f17/students/abera/PROJECT/Even%20parity%20bit%20checker/sim%20EPC%20clock%20puls.JPGhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/abera/PROJECT/Even%20parity%20bit%20checker/sim%20EPC%20data%20puls.JPG
The clock speed is set 4 times as faster than data pulse-width which is 60% above the Nyquest sample rate.logic 1 or 0 = 16us pulse-width thus for 9-bits there are 144us.
 
 
9-bit Data inputValidSimulation of Even Parity Checker Plot
The validity of this input is indicated at the end of the "Valid" wave form between V9 and V10.
10000000 1Yeshttp://cmosedu.com/jbaker/courses/ee421L/f17/students/abera/PROJECT/Valid%20checks/valid%20true%20for%20(100000001).JPG
10000000 0Nohttp://cmosedu.com/jbaker/courses/ee421L/f17/students/abera/PROJECT/Valid%20checks/valid%20false%20for%20(100000000).JPG
10101010 1Yeshttp://cmosedu.com/jbaker/courses/ee421L/f17/students/abera/PROJECT/Valid%20checks/valid%20true%20for%20(101010101).JPG
1111  1111 1Yeshttp://cmosedu.com/jbaker/courses/ee421L/f17/students/abera/PROJECT/Valid%20checks/valid%20false%20for%20(111111111).JPG
11100011 1Yeshttp://cmosedu.com/jbaker/courses/ee421L/f17/students/abera/PROJECT/Valid%20checks/valid%20true%20for%20(111000111).JPG
11110000 1Nohttp://cmosedu.com/jbaker/courses/ee421L/f17/students/abera/PROJECT/Valid%20checks/valid%20false%20vfor%20(111100001).JPG
00110011 0Yeshttp://cmosedu.com/jbaker/courses/ee421L/f17/students/abera/PROJECT/Valid%20checks/valid%20true%20for%20(001100110).JPG
00111000 0Nohttp://cmosedu.com/jbaker/courses/ee421L/f17/students/abera/PROJECT/Valid%20checks/valid%20false%20for%20(001110000).JPG





inverter Schematicsinverter Layout
http://cmosedu.com/jbaker/courses/ee421L/f17/students/abera/PROJECT/inverter.JPGhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/abera/PROJECT/Buffer/12u_6u%20layout.JPG
The inverter Layout having 12u/6u is used to implemnt the buffer.
 

 Buffer Schematics Buffer Layout
http://cmosedu.com/jbaker/courses/ee421L/f17/students/abera/PROJECT/Buffer/buffer6%20schematic.JPGhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/abera/PROJECT/Buffer/buffer%20layout.PNG
DRCLVS
http://cmosedu.com/jbaker/courses/ee421L/f17/students/abera/PROJECT/Buffer/buffer%20DRC.PNGhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/abera/PROJECT/Buffer/buffer%20lvs.PNG
The buffer is layed out using 6 inverter and  passed DRC and LVS

XOR SchematicXOR Layout
http://cmosedu.com/jbaker/courses/ee421L/f17/students/abera/PROJECT/Xor/Xor%20schematic.JPGhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/abera/PROJECT/Xor/xor_Layout.JPG
DRCLVS
http://cmosedu.com/jbaker/courses/ee421L/f17/students/abera/PROJECT/Xor/xor_DRC.JPGhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/abera/PROJECT/Xor/xor_LVS.JPG

    The XOR layout with DRC and LVS wchich will be used to make the even parity generator

Even Parity Checker layout
http://cmosedu.com/jbaker/courses/ee421L/f17/students/abera/PROJECT/EPC/EPC%20Layout.PNG
http://cmosedu.com/jbaker/courses/ee421L/f17/students/abera/PROJECT/EPC/layout%20diagram.png
DRCLVS
http://cmosedu.com/jbaker/courses/ee421L/f17/students/abera/PROJECT/EPC/EPC%20DRC.PNGhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/abera/PROJECT/EPC/EPC%20LVS.PNG

Even Parity Checker layout on the left and the buffer on the right side of the layout passed DRC and LVS.  The inputs (D0-D7), D8 (parity bit), and output (check) all have been illustrated in the diagram.

  

Even Parity Checker schematic and layout connected to a pad

SchematicLayout
http://cmosedu.com/jbaker/courses/ee421L/f17/students/abera/PROJECT/EPC/EPC%20schemto%20pad.PNGhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/abera/PROJECT/EPC/EPC%20Layout%20to%20pad.PNG

 

 

Project files

 

Return to Abera lab

Return to EE 421L Labs