Project - EE 421L Serial-to-parallel converter

Francisco Mata Carlos,

Email: matacarl@unlv.nevada.edu

11/14/18 

   

Lab description:

The goal of this project is to draft and layout a serial-to-parallel converter. The converter takes the serial input data and outputs an 8-bit word and clock.

 

First half Project instruction:

 

First a TG (Transmission Gate) and symbol was created, then an edge-triggered D-FF was designed. 8 D-FF's were connected in series making a shift register, which allowed to store 8 serial bits. The outputs of each D-FF was connected to the input of a second set of 8 D-FF's in parallel. The second set of 8 D-FF's is being control by a second clock 8 times slower than the clock controlling the first set of 8 D-FF's, generating an a 8-bit parallel output when clock_out goes high. The clock used on the first set of 8 D-FF's was set to a period of 100ns, because the input data is being represented as 10Mbits per second. The clock that is controlling the second set of D-FF's is the same clock divided by 8 (clock_out), which means that the frequency will decrease 8 times, or for this case one periodis equal to 800ns . The second clock or clock_out was created by taking the first clock or input clock and use it on 3 cascaded D-FF's. By doing this the Q output of the third D-FF decreases the frequency of the input clock by 8 times.

  

  

Below is the TG (Transmission gate) schematic and symbol

 http://cmosedu.com/jbaker/courses/ee421L/f18/students/matacarl/proj/TG_schematic.JPG   http://cmosedu.com/jbaker/courses/ee421L/f18/students/matacarl/proj/TG_symbol.JPG

 

 

Below is the inverter schematic and symbol
http://cmosedu.com/jbaker/courses/ee421L/f18/students/matacarl/proj/inverter.JPG  http://cmosedu.com/jbaker/courses/ee421L/f18/students/matacarl/proj/inverter_symbol.JPG  

 

Below are the schematic and symbol for the edge-triggered D-FF

 http://cmosedu.com/jbaker/courses/ee421L/f18/students/matacarl/proj/D_FF_schematic.JPG

http://cmosedu.com/jbaker/courses/ee421L/f18/students/matacarl/proj/D_FF_symbol.JPG

 

      

Below are the D-FF Layout and extracted view
http://cmosedu.com/jbaker/courses/ee421L/f18/students/matacarl/proj/D_FF_layout.JPG http://cmosedu.com/jbaker/courses/ee421L/f18/students/matacarl/proj/D_FF_extracted.JPG

Below are the DRC and LVS for the DFF
http://cmosedu.com/jbaker/courses/ee421L/f18/students/matacarl/proj/D_FF_DRC.JPG
http://cmosedu.com/jbaker/courses/ee421L/f18/students/matacarl/proj/D_FF_LVS.JPG

 

Below are the simulation schematic and plot for the D-FF

http://cmosedu.com/jbaker/courses/ee421L/f18/students/matacarl/proj/sim_D_FF_schematic.JPG   http://cmosedu.com/jbaker/courses/ee421L/f18/students/matacarl/proj/sim_D_FF_plot.JPG
The plot above shows the edge-triggered D-FF working correctly. When the clock goes high, Q outputs the Din (input) bit that is at that instant, and the output maintains that same bit until the next clock cycle. 

  

  

Below are the simulation schematic and plot for the first set of 8-D-FF's or shift register

http://cmosedu.com/jbaker/courses/ee421L/f18/students/matacarl/proj/sim_D_FF_8_schematic.JPG

 The simualtion below shows that the bits are shifted from left to right at each clock cycle

http://cmosedu.com/jbaker/courses/ee421L/f18/students/matacarl/proj/sim_D_FF_8_plot.JPG

 

Below are the schematic and plot showing how clock_out was created. Clock_out is basically the input clock divided by 8, or decreased by 8 times.

 http://cmosedu.com/jbaker/courses/ee421L/f18/students/matacarl/proj/clock_in_clck_out_schematic.JPG   http://cmosedu.com/jbaker/courses/ee421L/f18/students/matacarl/proj/clock_in_clck_out_plot.JPG

   

     
Below are the schematic and symbol for the Serial-to-Parallel converter

http://cmosedu.com/jbaker/courses/ee421L/f18/students/matacarl/proj/D_FF_SR_Parallel_schematic.JPG

http://cmosedu.com/jbaker/courses/ee421L/f18/students/matacarl/proj/D_FF_SR_Parallel_symbol.JPG

Below are the layout and extracted view for the serial-to-parallel converter

 http://cmosedu.com/jbaker/courses/ee421L/f18/students/matacarl/proj/D_FF_SR_Parallel_layout.JPG

http://cmosedu.com/jbaker/courses/ee421L/f18/students/matacarl/proj/D_FF_SR_Parallel_extracted.JPG

Below are the DRC and LVS for the serial-to-parallel converter
 http://cmosedu.com/jbaker/courses/ee421L/f18/students/matacarl/proj/D_FF_SR_Parallel_DRC.JPG
http://cmosedu.com/jbaker/courses/ee421L/f18/students/matacarl/proj/D_FF_SR_Parallel_LVS.JPG
 

     

Below are the simulations schematic along with different plots, showing the Serial-to-Parallel converter generate a parallel 8-bit output from the data input

http://cmosedu.com/jbaker/courses/ee421L/f18/students/matacarl/proj/sim_D_FF_SR_Parallel_schematic_with_symbol_input_11010011.JPG

    
The serial data input used for this simulation is 00001111 (LSB is 1 and MSB is 0), however on the plot for the input data (Din), the data was reversed because the inputs are shifted through from D7 through D0 (D7 being the first D-FF on the left and D0 being the last on the right). The ouput D<7:0> shows the correct 8-bit word as intended; D<0:3> having an output high and D<4:7> haing and an outpul low.

  

http://cmosedu.com/jbaker/courses/ee421L/f18/students/matacarl/proj/sim_D_FF_SR_Parallel_plot_with_symbol_input_00001111.JPG

    

    

The serial data input used for this simulation is 11010011 (LSB is on the right), however on the plot for the input data (Din), the data was reversed because the inputs are shifted through from D7 through D0 (D7 being the first D-FF on the left and D0 being the last on the right). The ouput D<7:0> shows the correct 8-bit word as intended; D<0:1>=5V, D<2:3>=0V, D<4>=5V, D<5>=0V, D<6:7>=5V. 

http://cmosedu.com/jbaker/courses/ee421L/f18/students/matacarl/proj/sim_D_FF_SR_Parallel_plot_with_symbol_input_11010011.JPG

    

    

The serial data input used for this simulation is 11110000 (LSB is 0 and MSB is 1), however, again on the plot for the input data (Din), the data was reversed because the inputs are shifted through from D7 through D0 (D7 being the first D-FF on the left and D0 being the last on the right). The ouput D<7:0> shows the correct 8-bit word as intended; D<0:3> having an output low and D<4:7> haing and an outpul high.

http://cmosedu.com/jbaker/courses/ee421L/f18/students/matacarl/proj/sim_D_FF_SR_Parallel_plot_with_symbol_input_11110000.JPG

 

   
Below is the simulation for the serial-to-parallel converter using the extracted view to show the layout works

 http://cmosedu.com/jbaker/courses/ee421L/f18/students/matacarl/proj/sim_D_FF_SR_Parallel_plot_with_symbol_input_11010011_extracted_display.JPG

http://cmosedu.com/jbaker/courses/ee421L/f18/students/matacarl/proj/sim_D_FF_SR_Parallel_plot_with_symbol_input_11010011_extracted.JPG

 

 

The schematic, and simulation files can be found here proj_fmc

 

Return to student lab reports

 

Return to labs