Project - EE 421L 

Authored :: Aaron Escobedo,

Email :: Escoba3@UNLV.Nevada.edu 

Due :: November 15th, 2017

  

For our project, we will be looking to implement a 9-bit parity checker - in this, 1 bit is for checking while 8-bits are for data.

For our implentation of a parity checker, we can use purely XOR logic gates to create the logic we are looking for. one such implementation is now shown below.

http://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Project/Images/9bit%20parity%20check%20schematic.JPG

In this schematic, I have reused many of the implemnted logic gates previously created for other labs. the XOR gate is now shown below which was previously used;

http://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Project/Images/XOR%20Schematic.JPG
XOR Schematic
http://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Project/Images/XOR%20Symbol.JPG
XOR Symbol
http://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Project/Images/sim%20XOR%20Schematic.JPG
XOR Simulation Schematic
http://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Project/Images/XOR%20Results.JPG
XOR Logic Results

With these results to showcase we have created an XOR logic gate, we were able to implement them appropiately to be used for the parity checker.
Additionally, we had to an inverter at the end of our circuit, however, a concern of us is the output capacitiance for this circuit as at some point, the user will desire to check the actual output of this circuit via a pad with a oscilloscope probe. Since oscilloscope probes commonly have approximately 10pF of capacitance, we would desire out output invert to have close to 10pF of capacitance. We can achieve this via some calulcations.


From the calculations, we can estimate a value of 96/1 ratio for the PMOS device, while the NMOS device will use a 48/1 ratio - this is represented as a 96/48 on the inverter symbol itself.

http://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Project/Images/96_48%20Inverter%20Schematic2.JPG
96/48 Inverter Schematic
http://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Project/Images/96_48%20Inverter%20Symbol.JPG
96/48 Inverter Symbol


With all these in place, we can now create a symbol, and simulate our parity checker, the following now showcases my results;

http://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Project/Images/9bit%20parity%20check%20symbol.JPG
Parity checker symbol
http://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Project/Images/sim%209bit%20parity%20check%20schematic.JPG
Simulation Schematic
http://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Project/Images/sim%209bit%20parity%20check%20results.JPG
Simulations Results - we can see various input options here 


With this portion complete, I will now begin the process of implemented it from a layout perspective.

To start, I will once again use the XOR logic gate used previously; this layout and related extracted view is now is shown below

http://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Project/Images/XOR%20Layout%20view.JPG
Layout of XOR
http://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Project/Images/XOR%20Extracted%20view.JPG
Extracted view of XOR


In addition to an XOR, we will need an inverter. Unlike previously though, we will have a much larger inverter, so this had to be created from scratch; this is now shown below

Since probes typically have a internal capacitance of 10pF - we will want to match this 10pF load with our circuit, our inverter then should be close to 10pF.

General Delay Calculationhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Project/Images/delay%20calculation.JPG
Total Capacitance http://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Project/Images/delay%20calculation%202.JPG
Derivation of Coxn/phttp://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Project/Images/delay%20calculation%203.JPG
Resistance for C5 Processhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Project/Images/delay%20calculation%204.JPG
Capacitance for C5 processhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Project/Images/delay%20calculation%205.JPG
Calcualted total capacitancehttp://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Project/Images/delay%20calculation%206.JPG
Calculated resistance totalhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Project/Images/delay%20calculation%207.JPG
Calculated total delay though inverterhttp://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Project/Images/delay%20calculation%208.JPG

In the above, we can see I used a 96/48 sized inverter - this was done to get close to the expected value of the probe scope (10pF) as eventaully we will have to measure our circuits implementation.

http://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Project/Images/96_48%20Inverter%20Layout.JPG
Layout of 96/48 Inverter
http://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Project/Images/96_48%20Inverter%20Extracted.JPG
Extracted view of 98/46 Inverter
http://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Project/Images/96_48%20Inverter%20Extracted%20NMOS.JPG
NMOS side of the 98/46 Inverter
http://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Project/Images/96_48%20Inverter%20Extracted%20PMOS.JPG
PMOS side of the 98/46 Inverter

These values now match what we calculated previously and also used in our schematic

From here, we can follow the schematic previously shown on the top of the webpage to create a proper layout - however, we will also need to add more. We need a way to physically measure the results of this layout and as such, we will add an output pad with ESD protection. Fortunately, this portion of the circuit was provided for us via the CMOSedu website. The now updated schematic and corresponding layout will look like this;

http://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Project/Images/9bit%20parity%20check%20with%20output%20pad%20schematic.JPG
updated Schematic

http://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Project/Images/9bit%20parity%20check%20Layout.JPG

Importantly, we must ensure it follows the Design Rules via the DRC Check;

http://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Project/Images/9bit%20parity%20check%20Layout%20DRC%20passed.JPG

Now, we can Extract and LVS the extracted layout and the orginal schematic

http://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Project/Images/9bit%20parity%20check%20Extracted.JPG
Extracted view of the layout

http://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Project/Images/9bit%20parity%20check%20LVS%20netlist%20match.JPG
Netlists match between the extracted view and the schematic!

Now that we have a circuit that passes both the DRC rules and the LVS - we can once again simulate the extracted version of this circuit to ensure it is the same as the previously constructed circuit.

By opening the previous saved state, we can going to the enviroment settings to use the extracted version of our circuit.

http://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Project/Images/sim%209bit%20parity%20check%20extracted%20results%20extracted%20setup.JPG

Here are our results when we run this simulation

http://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Project/Images/sim%209bit%20parity%20check%20extracted%20results.JPG

and proof of this;

http://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Project/Images/sim%209bit%20parity%20check%20extracted%20results%20proof.JPG

We can compare out two results to see if they indeed are the same

Original Schematic Resultshttp://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Project/Images/sim%209bit%20parity%20check%20results.JPG
Extracted Schematic Resultshttp://cmosedu.com/jbaker/courses/ee421L/f17/students/escoba3/Project/Images/sim%209bit%20parity%20check%20extracted%20results.JPG

These circuits match!

This concludes the project for EE 421L


Return to Students
Return to EE 421L Labs