EE 421 Lab (Digital Integrated Circuit) - Fall 2018

 

Allis Hierholzer

Email: hierholz@unlv.nevada.edu

11/14/18

 

Project Requirements:

Design 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.

The circuit inputs are Din and clk_in.

The circuit outputs are D0-D7 and clk_out.

If the serial input is 10 Mbits/s then the parallel output is 1.25 MWords/s.

Your serial-parallel design should show various inputs to verify it works.

 

First Half of the Project: Schematic with several sample simulations

-In order to design a schematic for a serial to parallel converter, Transmission Gates (TG), inverters, and D Flip-Flops (D-FF) are created.

·         Transmission Gate (TG):

o   NMOS PG passes 0 well while PMOS PG passes 1 well; putting these complimentary MOSFETs in parallel produces a transmission gate (TG) that is used in digital CMOS circuit design to pass or not to pass a signal.

o   Schematic

http://cmosedu.com/jbaker/courses/ee421L/f18/students/hierholz/Proj/Photos/tg_schem.JPG

o   Symbol

http://cmosedu.com/jbaker/courses/ee421L/f18/students/hierholz/Proj/Photos/tg_sym.JPG

·         Inverter:

o   Inverters provide the complement of the input signal. It is made up of a PMOS devices where the source and body is connected to vdd and its drain is connected to the drain of the NMOS device; the source and body of the NMOS is connected to ground. The input signal is connected to the gate of the PMOS and NMOS connected together and the output is between the drains of the two devices.

o   Schematic

http://cmosedu.com/jbaker/courses/ee421L/f18/students/hierholz/Proj/Photos/inverter_schem.JPG

o   Symbol

http://cmosedu.com/jbaker/courses/ee421L/f18/students/hierholz/Proj/Photos/inverter_sym.JPG

·         D Flip-Flops (D-FF):

o   D-FF are used to create a shift register. An edge-triggered D-FF consists of multiple inverters and transmission gates.

o   Schematic

http://cmosedu.com/jbaker/courses/ee421L/f18/students/hierholz/Proj/Photos/dff_schem.JPG

o   Symbol

http://cmosedu.com/jbaker/courses/ee421L/f18/students/hierholz/Proj/Photos/dff_sym.JPG

o   Schematic to simulate D-FF

http://cmosedu.com/jbaker/courses/ee421L/f18/students/hierholz/Proj/Photos/sim_dff_schem.JPG

o   Simulation result

   http://cmosedu.com/jbaker/courses/ee421L/f18/students/hierholz/Proj/Photos/sim_dff_result.JPG

At the rising edge of the clock, Q saves the input of Din and it remains the same until the next rising edge of the clock.

Clk_in has a 20ns delay. Right when clk_in goes high, Din is high so Q stay high until the next rising edge.

At the next rising edge, Din is low, so Q goes low and stays low until the next rising edge.

Q_not then does the opposite of Q.

 

·         The schematic for an 8-bit serial to parallel converter requires 8 D-FF connected in series that makes a shift register that stores 8 serial bits.

o   Schematic to simulate shift register
http://cmosedu.com/jbaker/courses/ee421L/f18/students/hierholz/Proj/Photos/sim_shift_register_schem.JPG

o   Simulation Result

http://cmosedu.com/jbaker/courses/ee421L/f18/students/hierholz/Proj/Photos/sim_shift_register_result.JPG

When clk_in goes high, Din goes through each flipflop and keeps shifting until it reaches the 8th bit

 

·         Another set of 8 D-FF in series are connected in parallel to the first set of 8 D-FF to create an 8-bit serial to parallel converter

o   If the serial input is 10 Mbits/s clk_in has a frequency of 10MHz in order to grab each bit; so, clk_in/8 reduces the frequency of the input clk by 8 times.

o   If the period of clk_in is T = 1/f = 100ns, the period of clk_in/8 should be 8 times that which is 800ns.

o   Schematic for serial to parallel converter

http://cmosedu.com/jbaker/courses/ee421L/f18/students/hierholz/Proj/Photos/serial_to_parallel_converter_schem.JPG

o   Symbol

http://cmosedu.com/jbaker/courses/ee421L/f18/students/hierholz/Proj/Photos/serial_to_parallel_converter_sym.JPG

o   Schematic to simulate serial to parallel converter

http://cmosedu.com/jbaker/courses/ee421L/f18/students/hierholz/Proj/Photos/sim_serial_to_parallel_converter_schem.JPG

o   Simulation result

http://cmosedu.com/jbaker/courses/ee421L/f18/students/hierholz/Proj/Photos/sim_serial_to_parallel_converter_result.JPG

The input used for this simulation is Din = 10011100. PieceWiseLinear Voltage source was used to create this input.

Clk_in has a period of 100ns, so in order to grab each bit of the input, the pulse width of each bit should 100ns, with a period of 200ns.

The least significant bit is the first input and it keeps shifting until it reached the 8th bit.

Once 8 bits are saved, clk_out goes high and outputs D7=1, D6=0, D5=0, D4=1, D3=1, D2=1, D1=0, D0=0.

 

                         Ex2:

                         http://cmosedu.com/jbaker/courses/ee421L/f18/students/hierholz/Proj/Photos/sim_serial_to_parallel_converter_result_annotate2.JPG


                         Ex3:

                         http://cmosedu.com/jbaker/courses/ee421L/f18/students/hierholz/Proj/Photos/sim_serial_to_parallel_converter_result_annotate3.JPG

                         Extracted simulation: Extracted view is used to test that the layout is working properly. In this simulation, the inputs from Ex2 was chosen to compare with the

                        extracted view simulation. The results in Ex2 should match the result in extracted view simulation.

                        http://cmosedu.com/jbaker/courses/ee421L/f18/students/hierholz/Proj/Photos/sim_serial_to_parallel_converter_result_annotate2_extracted_display.JPG

                        Result:

                        http://cmosedu.com/jbaker/courses/ee421L/f18/students/hierholz/Proj/Photos/sim_serial_to_parallel_converter_result_annotate2_extracted.JPG

                       

Second Half of the Project: A verified layout and documentation

    -D-FF             

        ·         Layout

          http://cmosedu.com/jbaker/courses/ee421L/f18/students/hierholz/Proj/Photos/dff_layout.JPG

        ·         Extracted

          http://cmosedu.com/jbaker/courses/ee421L/f18/students/hierholz/Proj/Photos/dff_extracted.JPG

        ·         LVS

          http://cmosedu.com/jbaker/courses/ee421L/f18/students/hierholz/Proj/Photos/dff_LVS.JPG

        ·         DRC

          http://cmosedu.com/jbaker/courses/ee421L/f18/students/hierholz/Proj/Photos/dff_DRC.JPG

    -Serial To Parallel Converter

        ·         Layout

             http://cmosedu.com/jbaker/courses/ee421L/f18/students/hierholz/Proj/Photos/serial_to_parallel_converter_layout.JPG

        ·          Segments of layout for a closer view

             (1) D<5> on the right side is connected to D<5> on the left side of the (2) second segment

             http://cmosedu.com/jbaker/courses/ee421L/f18/students/hierholz/Proj/Photos/serial_to_parallel_converter_layout1.JPG

             (2) D<3> on the right side is connected to D<3> on the left side of the (3) third segment

             http://cmosedu.com/jbaker/courses/ee421L/f18/students/hierholz/Proj/Photos/serial_to_parallel_converter_layout2.JPG

          (3)

             http://cmosedu.com/jbaker/courses/ee421L/f18/students/hierholz/Proj/Photos/serial_to_parallel_converter_layout3.JPG

        ·          Extracted

          http://cmosedu.com/jbaker/courses/ee421L/f18/students/hierholz/Proj/Photos/serial_to_parallel_converter_extracted.JPG

        ·          LVS: To compare the schematic and layout using the extracted view and make sure all net lists match

          http://cmosedu.com/jbaker/courses/ee421L/f18/students/hierholz/Proj/Photos/serial_to_parallel_converter_LVS.JPG

        ·          DRC: To make sure that there are no violations on the layout

          http://cmosedu.com/jbaker/courses/ee421L/f18/students/hierholz/Proj/Photos/serial_to_parallel_converter_DRC.JPG

                  

The cells used to generate the images used on this webpage can be downloaded in proj_hie

Return to EE 421 Lab
Return to Student Lab Reports