You can use any combination of multiple clocks you wish, but only clock and /clock are clock inputs to the circuit and you will have to design circuits to generate the other clocks. /load is not an input to the circuit. You need to generate it if you need it. You can assume reset is asserted low if you like.
You should use the cells you designed in labs 1 and 2 to build your neuron and your circuit. Do not change the circuit structure of your cells or the transistor sizes unless the rise/fall times do not meet the requirements of lab 1. However, you can modify the layout in minor ways if you can see some ways to make the circuits smaller or faster. You can rotate and flip cells about the x and y axes.
Make sure your ohmic contacts meet the following requirement: Every cell should have a well and substrate contact, including transmission gates, and of course they should be connected to Vdd and Gnd. For larger cells, include at least two contacts per 50x50 lambda, one for the psubstrate and the other for the nwell. Every separate block of nwell should have at least one ohmic contact. For all your contacts, you will get the best performance if you use multiple minimum-size contacts for large contact areas and not large contacts.
You can use metal layers 1, 2 and 3 for the neuron. You can use metal layers 1-5 for the entire neural network in Part 2.
The Laboratory Goal
For this lab, you can use any layout strategy you choose as long as it fits the cell methodology you have already selected. The goal is to minimize the area·delay product in Part 2. Designs that are more square, rather than long, thin rectangles, tend to be better designs. The designer with the lowest area-delay product will win a prize, a gift certificate from Amazon.com. There will be two prizes, one for the best undergraduate design and one for the best graduate design. Pay close attention to the specific delay you are to measure.
The Laboratory Steps for Part 1:
1. Design your neuron circuit and create a Cadence circuit (schematic) diagram and a Cadence layout using the cells you have already designed. You cannot design new cells for Lab 3. The bulk of the work here should be the routing of your design. Include your logic/gate level diagram for your neuron. Use LVS to verify your layout prior to SPICE simulation. Important note: Any pins in your layout labeled the same should be physically connected.
2. Simulate your neuron schematic and layout with SPICE to ensure that your design works correctly The inputs to your project circuit should be named clock, load, A,B,C,D,I and reset. The output should be named AP. It is important you follow this naming convention so we can verify that your circuit works.
Use the following sequence of inputs:
a) Reset your flip flop (even though reset is shown asserted high you could assert it low) . You might need the load signal to reset your flip-flop.
b) Unassert Reset and then set load to 1and keep it high. All other inputs should be 0. Clock the circuit. Then test your neuron by sequencing through all combinations of inputs starting with ABCDI = 00000, then 00001, then 00010 until you reach 11111.
4. The delay you should measure with SPICE is the clock cycle. The faster your clock cycle, the faster your circuit will function. Measure the area of your design in square microns. Your area should be the bounding box area of your design. If your design is not rectangular, include the wasted area in your area calculation. Compute the area-delay product of your neuron design.
5. Upload your report to the assignments function of Blackboard, incliding your layout and simulation files as a TAR file as in lab 2 so that we can test (simulate) your circuit to be sure it performs as specified. Be sure to include your SPICE input files for the project.
Testing Strategy
Here is a testing strategy that might be useful to you: Build the neuron combinational schematic in Cadence and test it using SPICE. Add the flip flop and any logic needed to keep the flip flop from firing two clock cycles in a row. Test the entire "neuron."
Lab Report Contents:
- A cover sheet (title page) giving your name, date you submitted the lab, title, and student number.
- A description of the neuron you built, including a transistor-level or gate-level circuit diagram printed from Cadence.
- The neuron layout screen capture.
- A description of the simulation experiments you ran with SPICE
- SPICE netlist files generated by Cadence, which will include the technology file, the input stimulus file and the circuitry netlist.
- SPICE outputs for the neuron as shown in MWAVES images.
Items 1-4 and 6 should all be in a single report. Tar this report along with the files specified in item 5, and upload to the assignments page of the blackboard.
IMPORTANT: Once you upload there will be no deletions or reuploads allowed. All files should be in a single Tar file, uploaded to blackboard. Files uploaded to the dropbox will not be graded. All layouts must be in color. Failure to follow these instructions could result in deduction of points.