Lab Project - ECE 421L 

Author:    Nicholas Mingura

Email:       mingura@unlv.nevada.edu

   

For the lab project all students were assigned to make a serial to parallel converter that takes serial input data and an associated clock signal and generates an 8-bit output (parallel) word and clock. This process requires multiple components that we have made previously and a few new ones that were need to be fabricated. 

   

The first component that was made was an inverter made with a pmos and nmos transistor with the same W/L ratio. The inverter has both gates tied to gother with the input put and the drain of the pmos tied together with the drain of the nmos, where the source and body of the pmos and nmos is tied to vdd and ground respectivly. This means when the input is high the pmos is turned off and the nmos is turned on pulling the output to ground. When the input is low the pmos is on and the nmos is on pulling the output high. 

  

file:///C:/Users/Nicholas/Desktop/EE%20421L/Project/Inverter_Schematic.JPG

Image 1:Inverter Schematic

  

Following the schematic creation the next step was to make a symbol for the inverter to simplify future designs that would use the logic gate. 

  

file:///C:/Users/Nicholas/Desktop/EE%20421L/Project/Inverter_Symbol.JPG

Image 2:Inverter Symbol

  

After making the Inverter symbol the next step was to make a layout view of the inverter using the same width and length of nmos and pmos. They were placed using 4 grid units about the axis for the pmos and 4 below for the nmos to allign the larger layouts later on. 

    

file:///C:/Users/Nesbala/Desktop/Lab_Project_Photos/Inverter_Layout.JPG

Image 3:Inverter Layout view

  

To ensure that the layout was made properly a design rule check or DRC was used, after the DRC an LVS was used which checks that the layout matches same nodes as the schematic. 

  

file:///C:/Users/Nesbala/Desktop/Lab_Project_Photos/Inverter_LVS.JPG  file:///C:/Users/Nesbala/Desktop/Lab_Project_Photos/Inverter_DRC.JPG

Image 4:Inverter LVS and DRC respectivly 

 

Following the creation of the inverter the next step was to create a transistor gate using an nmos and pmos with the same W/L ratio. Both the sources are tied together and both of the drains are also tied together, with the body of the nmos tied to vdd and the body of the nmos tied to ground. The gate of the pmos is tied to an input S and the gate of the nmos is tied to S_not. Both of the tied sources and drains are connected to an input/output pin.

  

file:///C:/Users/Nicholas/Desktop/EE%20421L/Project/Trans_Gate_Schematic.JPG

Image 5:Transistor gate schematic

 

After making the schematic for the transistor gate the symbol view was made to also simplify the circuit for future designs. 

  

file:///C:/Users/Nicholas/Desktop/EE%20421L/Project/Trans_Gate_Symbol.JPG

Image 6:Transistor gate symbol

  

After making the sybol view of the transistor gate the layout view was made and design rule checked with the LVS to ensure it was created correctly.

  

file:///C:/Users/Nesbala/Desktop/Lab_Project_Photos/Trans_Gate_Layout.JPG

Image 7:Transistor gate Layout

  

file:///C:/Users/Nesbala/Desktop/Lab_Project_Photos/Trans_Gate_LVS.JPG  file:///C:/Users/Nesbala/Desktop/Lab_Project_Photos/Trans_Gate_DRC.JPG

Image 8:Transistor gate LVS and DRC

Following making the transistor gate a D flip flop was made using both previously mentioned components. The D flip flop was made using three transistor gates and four inverters. 

   

file:///C:/Users/Nicholas/Desktop/EE%20421L/Project/D_Flip_Flop_Schematic.JPG

Image 9:D flip flop schematic

  

In order to ensure that it was made correctly three voltage sources were made to simulate the clock the inverted clock and the vdd for the pmos and nmos transistors. For the D flip flop every time the clock trigger occurs the output Q will become the same value of D and Q_not will become the opposite. 

  

file:///C:/Users/Nicholas/Desktop/EE%20421L/Project/D_Flip_Flop_Sim.JPG

Image 10:D flip flop simulation

  

After ensuring that the D flip flop was running properly a symbol view was made to once again simplify future schematics that need the D flip flop. 

  

file:///C:/Users/Nicholas/Desktop/EE%20421L/Project/D_Flip_Flop_Symbol.JPG

Image 11:D flip flop symbol

  

Following making the D flip flop schematic and symbol the next part was to make the layout view, since we made the trans gate and inverters previously we are able to just istantiate the components instead of making them individually. After istantiating the components in the following step was to wire the correct outputs to the correct inputs, according to the schematic we made earlier. 

   

file:///C:/Users/Nesbala/Desktop/Lab_Project_Photos/D_Flip_Flop_Layout.JPG

Image 12:D flip flop layout view

   

The next step is to use the DRC and LVS tools to ensure that it follows the design rules and that all nodes are correctly matching the same node in the schematic.

    

file:///C:/Users/Nesbala/Desktop/Lab_Project_Photos/D_Flip_Flop_LVS.JPG  file:///C:/Users/Nesbala/Desktop/Lab_Project_Photos/D_Flip_Flop_DRC.JPG

Image 13:D flip flop LVS and DRC

 

After creating the D flip flop the next step was to make a time shifting component to compensate for the differnt clocks needed for the different D flip flops. This was done using three d flip flops where the input goes to the first D flip flop clock the D and Q_not are tied together and the Q feeds into the next D flip flop clock input, until the last Q is the shifted clock output. This circuit takes the input clock and then extends the time spent high and overall period time. 

  

file:///C:/Users/Nicholas/Desktop/EE%20421L/Project/Time_Shift_Schematic.JPG

Image 14:Time shift schematic

  

To ensure that the time shift is working properly a clock input was made using for a voltage pulse source and a vdc used for the vdd value for all the nmos and pmos that need it. 

  

file:///C:/Users/Nicholas/Desktop/EE%20421L/Project/Time_Shift_Sim.JPG

Image 15:Time shift simulation

   

The next step was to create the layout view of the time shift component which was significantly shortened by istantiating the d flip flop we made earlier into the layout three times. After wiring them correctly the DRC and LVS tools were used to once again ensure that the the design rules were followed and the nodes match the corresponding schematic nodes. 

  

file:///C:/Users/Nesbala/Desktop/Lab_Project_Photos/Time_Shift_Full_Layout.JPG

Image 16:Full time shift layout

  

Because the time shift layout is so large here are two closer views showing the input pins of the time shift and another image showing the output pins. 

 

file:///C:/Users/Nesbala/Desktop/Lab_Project_Photos/Time_Shift_Inputs_Layout.JPG

Image 17:Input pins of time shift layout

  

file:///C:/Users/Nesbala/Desktop/Lab_Project_Photos/Time_Shift_Outputs_Layout.JPG

Image 18:Output pins of time shift layout

 

After making the time shift component all the components that are needed to creat the serial to parallel converter are made and can begin being created. For this circuit we are told that there will be two inputs being the clock input and the serial input, in addition to this there are 9 outputs being a clock output, and the 8 d flip flop outputs. The total circuit use 8 D flip flops for the shift register and 8 d flip flops to store the values given to the shift registers. 

  

file:///C:/Users/Nicholas/Desktop/EE%20421L/Project/Serial_To_Parallel_Converter_Sim_Schematic.JPG

Image 19:Serial to parallel converter schematic

  

To simulate this circuit the two previously mentioned inputs were made using two vpulse sources and as before a vdc was used for all the pmos and nmos that needed a vdd source. To know this works the ouput should mimic the input based on the clock triggers.

  

file:///C:/Users/Nicholas/Desktop/EE%20421L/Project/Serial_To_Parallel_Converter_Sim.JPG

Image 20:Serial to parallel converter simulation results.

  

After the simulation was ran the layout view was made next using istantiated parts from all the previous parts that we have made, significantly lowering the time of the creation. 

  

file:///C:/Users/Nesbala/Desktop/Lab_Project_Photos/Serial_To_Parallel_Converter_Full_Layout.JPG

Image 21:Full serial to parallel converter layout view

   

Like the time shift the serial to parallel converter is such a large layout view the input and output were zoomed into so that they were visable.

    

file:///C:/Users/Nesbala/Desktop/Lab_Project_Photos/Serial_To_Parallel_Converter_Inputs_Layout.JPG

Image 22:Input pins of the serial to parallel converter layout view

   

file:///C:/Users/Nesbala/Desktop/Lab_Project_Photos/Serial_To_Parallel_Converter_Outputs_Layout.JPG

Image 23:Output pins of the serial to parallel converter layout view

  

The final step of the project was to make sure that the DRC and the LVS of the layout view were correctly made and match the schematic view.

    

file:///C:/Users/Nesbala/Desktop/Lab_Project_Photos/Serial_To_Parallel_Converter_LVS.JPG  file:///C:/Users/Nesbala/Desktop/Lab_Project_Photos/Serial_To_Parallel_Converter_DRC.JPG

Image 24:Serial to parallel converter LVS and DRC

  

Lab Zip

 

Return to Nicholas Mingura's Labs

Return to EE 421L Students

Return to EE 421L Home