Lab Final Project - High Speed Digital Receiver

Author: William Wherry

Email: wherrw1@unlv.nevada.edu

11/18/2020

  

Lab description:

   


   
Final Project Design:
     
Utilizing the design shown in CMOS Circuit Design, Layout, and Simulation, Fourth Edition , fig 18.23 utilizes an NMOS flavor differential amplifier in parallel with a PMOS flavor differential amplifier to create a high speed input buffer. Attached to the output is an inverter that helps "square up" the rising and falling edges of the output waveform. The circuit is designed to take the difference of two input signals, a signal and its inverted signal in this case, and amplify the difference between them. This functionality perfectly fits the requirements of this project, so I decided to build my design based on this circuit. The book's example of the circuit uses 10/1 NMOS and 20/1 PMOS as default devices, since the electron mobility is a little different for the PMOS's, so we need to give them extra width in order for their internal MOSFET resistance Rp to be as close to the NMOS's resistance, Rn, as possible. This also helps to give a switching point voltage as close to the VDD/2 as possible, so that we can slice our signals correctly and get good output digital logic signals.
   
fig 18.23

Baker, R. J. (2019). CMOS: Circuit design, layout, and simulation. Hoboken, NY: John Wiley & Sons.

   
Since the goal of this project is to have as fast a circuit as possible, with as low of power as possible, it was important for me to keep the propogation delays tPHL and tPLH as low as possible. With this in mind, I had to find a balance between a sharp digital logic output signal and the delays that would be caused by chaining together more inverters in pursuit of that sharp signal. I noted that adding two inverters to the book's design would sharpen the signal and keep it outputting a non-inverted signal, but I decided to instead swap the D and Di inputs in order to use one less inverter to save some speed that would be lost with the third inverter. My first basic schematic design is shown below.
   
first iteration
   
Please note that this was not my final design, just the starting point. I made a symbol for the design to make it easier to simulate as seen below.
   
symbol
   
Next, I wanted to do some simulations to see if it actually functioned as it was supposed to. I used two simple voltage pulse sources to simulate an attenuated signal over a long distance. Specifically, I set the voltages between 2.75V and 3V, which are the minimum voltages required. I figured if it worked in this worse case, then I could move on from there to make it more efficient. I also tested the best case scenario of 5V to 0V (no attenuation) as well as a voltage swing between 2.9V and 3V to see if it would work at that low of a voltage.
   
sim ckt
   
THESE ARE JUST TO TEST THE BASE CIRCUIT FROM THE BOOK. Comprehensive testing will be later in the report on my finalized circuit.
   
First test: 3ns bit width (333.3Mbit/s), 5V to 0V:
   
5v to 0v
     
Second test: 3ns bit width (333.3Mbit/s), 2.75V to 3V:
   
3n 250mV
3ns 250mV delay   
Fourth test, 3ns bit width (333.3Mbit/s), 2.9V to 3V (100mV amplitude):
   
3ns bit width 100mV test
   
Fourth test: 1ns bit width (1Gbit/s), 2.75V to 3V (250mV amplitude):
   
1ns bit width
1ns base ckt delays
   
   
Data of note:
Input signalBit WidthtPLHtPHL
5V to 0V3ns375.6ps386.2ps
2.75V to 3V3ns716.7ps731.0ps
2.75V to 3V1ns731.8ps724.4ps

You can see here that the base circuit has good tPHL and tPLH propagation delays right out of the box, even at 1ns bit width or 1Gbit/s, and the output digital signal is fairly sharp and reaches full digital logic levels. The circuit even seems to work as low as 100mV (thanks to the parallel PMOS and NMOS flavor dif amps the inputs can be theoretically rail to rail), although that is less than the required minimum, so I will not test that further. With such decent delays, there is a lot of room for improving power dissipation at the cost of speed. The easiest way in the case of this circuit to improve power dissipation is to increase the length of the top-most PMOS and bottom-most NMOS in the circuit. This will lower the speed, current use, and power use.
   
mosfets to adjust
   
Judging by the trials above, it appears that I will get the most propagation delay at very low input voltages. Therefore, I decided the easiest way to test different lengths of MOSFET to try to save power at the cost of speed was to use the worst case scenario of a greatly attenuated 250mV input, since it had the greatest delays. Since I know that the base circuit can get down to 1ns bit width without much issue, I decided to use that as my goal. Also, since I was using 1ns rise and fall times in my simulation, I wanted the delays to be less than that if possible. I tested a few different sizes using a very low bit width and you can see the results below. In an effort to not clutter the page, I only show the pictures of the base circuit simulations compared to my pick of the best compromise between power dissipation and propagation delay and put results of others in the table only.
   
Base circuit simulations (click image to enlarge):
base circuit delay base ckt power spikes average power base ckt
   
Final choice simulations (click image to enlarge):
best ckt delays best ckt powergraph best avg power
   
InputBit widthNMOS W/L & PMOS W/LtPLHtPHLAverage Power over 50ns
3V to 2.75V (250mV)1ns6u/0.6u & 12u/0.6u (Base circuit)731.8ps724.4ps10.21mW
3V to 2.75V (250mV)1ns6u/6u & 12u/6u998ps1250ps5.3mW
3V to 2.75V (250mV)1ns6u/6u & 12u/0.6u781ps890ps7.2mW
3V to 2.75V (250mV)1ns6u/3u & 12u/3u952ps1027ps5.27mW
3V to 2.75V (250mV)1ns*12u/2.1u & 12u/3u 847ps882ps8.2mW
*Through testing, I found that the tPHL can be adjusted with the PMOS W/L and the tPLH can be adjusted with the NMOS W/L, so I managed to get the delays to similar values while reducing power consumption.
   
Judging by the delays and the average power over 50ns, I decided that my final design would use an uppermost PMOS of 12u/3u and a lowermost NMOS of 12u/2.1u. This combination gave good propagation delays that are close to each other in value, while staying under the 1ns goal that I set for myself and also saves about 20% power over the base circuit on average. The final circuit schematic is shown below.
   
Final Design:
   
   final circuit schematicsymbol
   
With my candidate for a final design decided, I needed to do more testing to look at the characteristics of the design. First, I wanted to performance of several bit widths and voltage levels to be positive it behaves as it should. Below are several trials with their results summarized in a table.
   
TESTING DIFFERENT BIT WIDTHS AND INPUT VOLTAGES:
   
1ns bit-width (1Gbit/s):

   
5V to 0V:
5v
4V to 1V:

3V to 2V:

2V to 1V:

3V to 2.75V:

   

Input SignaltPLHtPHLAvg Power over 50ns
5V to 0V471.8 ps465.5 ps4.99mW
4V to 1V476.6 ps499.6 ps5.20mW
3V to 2V598.7 ps610.9 ps6.22mW
2V to 1V714.8 ps562.5 ps5.16mW
3V to 2.75V847.0 ps882.0 ps8.20mW

2ns bit-width (500Mbit/s):
   
5V to 0V:

4V to 1V:

3V to 2V:

2V to 1V:

3V to 2.75V:

   
Input SignaltPLHtPHLAvg Power over 50ns
5V to 0V482.4 ps446.1 ps4.28mW
4V to 1V498.7 ps475.9 ps4.56mW
3V to 2V597.2 ps590.2 ps5.78mW
2V to 1V709.8 ps538.0 ps4.75mW
3V to 2.75V875.6 ps912.2 ps7.52mW
   
3ns bit-width (333.3Mbit/s):
   
5V to 0V:

4V to 1V:

3V to 2V:

2V to 1V:

3V to 2.75V:

   
Input SignaltPLHtPHLAvg Power over 50ns
5V to 0V467.9 ps450.2 ps3.91mW
4V to 1V585.3 ps471.6 ps4.24mW
3V to 2V625.5 ps645.1 ps5.57mW
2V to 1V
714.4 ps546.7 ps4.55mW
3V to 2.75V820.0 ps923.0 ps7.19mW
   
4ns bit-width (250Mbit/s):
   
5V to 0V:

4V to 1V:

3V to 2V:

2V to 1V:

3V to 2.75V:

   
Input SignaltPLHtPHLAvg Power over 50ns
5V to 0V483.9 ps462.4 ps3.61mW
4V to 1V483.3 ps470.7 ps3.98mW
3V to 2V600.1 ps621.6 ps5.41mW
2V to 1V
710.3 ps545.3 ps4.39mW
3V to 2.75V805.8 ps965.5 ps6.94mW
   
If you look closely at the average power dissipation across all bit widths, you can see that in general the circuit consumes much more power as the input signal gets smaller in amplitude. It appears to be much more efficient when the input signal is larger, consuming almost half the power of that the worst-case input does. Also, as the input signal gets smaller, the propagation delays increase dramatically. 
Finally, power dissipation also increases as speed increases. You can see this fact in the equation Pavg = Iavg * VDD = Ctotal * VDD^2 * freq_clk. Frequency in this equation is related to the speed of the circuit, which increases the power consumption of the circuit as speed increases. To record the average power of the circuit, I used Cadence's built in tools to find the instantaneous power over my 50ns transient simulations and then used the average function in the calculator to find the average power consumption over that time period.
   
Next, I tested temperature performance using a parametric analysis. I used the worst case 3V to 2.75V input as well as the best case 5V to 0V just in case behavior changed too much in one of these extreme cases. I assumed if these two situations worked, then likely all in between would also be fine.
   
Temperature simulation from 0ºC to 100ºC with input voltage between 3V and 2.75V:
250mV temp
   
Temperature simulation from 0ºC to 100ºC with input voltage between 5V and 0V:
temp results with 5v input
     
You can see from the two graphs that in both cases, output propagation delay increases as temperature increases. Both 250mV swing input and 5V swing input still functioned, but both had increases in delay as the temperature rose.
   
   

Finally, I tested how low VDD could get before the circuit no longer worked.
   
VDD = 5V:

   
VDD = 4V:

   
VDD = 3V (note that I had to change the input values):

   
VDD = 2V:

   
VDD = 1V:

     
   
VDDInput voltageFunctioned?
5V3V to 2.75VYes
4V3V to 2.75VYes
3V1V to 0.75V*Yes
2V1V to 0.75VNo
1V1V to 0.75VNo
* I had to change the input because it had to be below VDD to even have a chance to function.
   
Changing VDD from 5V to 1V in increments of 1V seems to suggest that the circuit will operate with limited functionality as long as the input voltages are somewhat below VDD, but the output logic signal will only ever go up to VDD in amplitude. At VDD of 2V or lower the circuit completely ceases to function correctly.
   
Design & Testing Conclusions:
Throughout this lab, I designed and thoroughly tested my digital receiver and I am pretty happy with my design. It only broke when VDD began to decrease, and appears to hold up pretty well at increased temperatures, only suffering an increase in delays. It can function up to 1Gbit/s with a voltage difference as low as 250mV with no issues and the propagation delays are under 1ns for both tPHL and tPLH. Also, by modifying the W/L of the uppermost PMOS and lowermost NMOS, I was able to save about 20% average power dissipation over the base circuit from the book at a small cost to propagation delay. Overall, I think my project design was a great success and learning experience.
   
   
   
Layout of the design
   
final layout

Extracted view:
final extracted
   
DRC & LVS passed:
drclvs

     
My layout design passes the DRC and LVS tests, so I believe that my design and layout of the high-speed digital receiver was successful. This concludes the final project for EE421L - Digital Integrated Circuit Design Laboratory. I would like to thank Dr. Baker for his excellent instruction and teaching methodology. Hopefully I can use the knowledge I gained in the laboratory in my career in the near future.

     
Project Files:
labFinal_EE421L_WMW_f20.zip
     
     

Return to William Wherry Labs Directory