代做ELEC4602 Microelectronics Design and Technology Lab 4: Combinational logic design代做Python程序

ELEC4602

Microelectronics

Design and Technology

Lab 4: Combinational logic design

Objective

The objective of this laboratory session is to work with a somewhat larger combinational digital circuit, namely a full-adder, and to design and characterise this adder. For the hand-calculations, you should use the parameters for the NSCU FreePDK 45nm CMOS process published at the course web-site. The hand-calculations should not be carried out in the laboratory session!

Full-adder design

The full-adder symbol and logic function is shown in figure 1.  An example (from Baker) of a static CMOS implementation of the full-adder is shown in figure 2; you may use this schematic or use your own.  The schematic in figure 2 directly implements the logic function in figure 1: the node CO in the rst schematic, for instance, is either pulled to VDD through a series of PMOS transistors, or pulled to ground via a series of NMOS transistors.  Looking at the NMOS pull- down network, we can see that CO  is pulled to ground if A and B are both high (causing both bottom-left NMOS transistors to conduct) or CI  is high and either A or B is high; looking at the PMOS pull-up network, we can see that CO is pulled to VDD if A or B islow and CI is low or both A and B are low; thus the logic function is realised.  You should create a cell that contains the schematic of your chosen full-adder, and use test-benches as appropriate for for the simulations that you are going to carry out.

Figure 1: Full-adder symbol (a), known parameters and functions (b)

Transistor types: In this lab, regular thin-oxide transistors (N VTG and P VTG) are used for all transistors.

Figure 2: Static CMOS example implementation of full-adder

Transistor dimensions: As noted in the gure, all transistor dimensions should have a lengths of L = 0.05 µm; you need to choose the widths for all the transistors:  if there is no particular load requirement to a logic gate, the transistors should be chosen as small as possible; while the smallest allowed transistor width is 90 nm, it is most convenient from a layout point of view to choose transistor widths as an integer multiplum of theminmum contact pitch (i.e. WunitN  = 65 nm + 75 nm = 140 nm), so choose this as the unit width for NMOS transistors.  The PMOS transistor unit width is usually chosen one to three times the NMOS transistor one.  The unit widths are the dimensions used in a unit size (or “normal”) inverter.  For more complex gates, like the ones shown in figure 2, transistors are normally increased in width when they appear in series, in order for the delay through the gate to be similar to that of the unit inverter. The normal sizing approach is this: if a transistorsit in a branch with N series transistors between the output and the relevant power supply (ground for NMOS and VDD  for PMOS), the transistor width is chosen as NWunit.

Test set-up: The power supply used in this session is VDD  = 0.9 V; this also means that digital values are either 0 V (0) or 0.9 V (1). In your test-bench, use load capacitances at both full-adder outputs (S and CO) of CL  = 8 fF. Rise and fall times of about 50 ps and data rates about 109 s-1 are probably appropriate.

Verifying logic function

To verify the logic function of your full-adder, apply input voltage waveforms that cycle through all eight input combinations (for instance using vpulse voltage sources with different periods – e.g. 3 ns, 6 ns and 12 ns at the three inputs and running a transient simulation; see gure 3) and check the outputs to see that the logic function implemented is the desired one.

Finding propagation delays

If the three inputs waveforms are arranged such that they never change state at the same time (as suggested in gure 3), you should be able to nd relevant propagation delays in your simulation.

Figure 3: Suggested input waveforms for full-adder

The Delay  time property in the vpulse voltage source is useful for this: arrange your inputs to be delayed, say, 0 ns, 0.5 ns and 1.0 ns. Now, making sure that a change in CI  causes a change in CO, find the H→ L and L→ H CI  to CO propagation delays.

Finding power dissipation

The power dissipation in static CMOS logic is almost exclusively dynamic; i.e. caused by charg- ing parasitic capacitances, and to some extend crow-bar currents. The power dissipation is equal to the power being delivered by VDD  (be sure to have only one VDD  voltage source in your schematic; the one living in your test bench):

where the integral finds the average current delivered by VDD .  Now, find the power dissipa-

tion in your full-adder: in the transient simulation above, plot the current in the power supply

VDD  (probably called  /V1/MINUS or something similar).  To nd the time integral of this cur-

rent, in the graph window, select Tools-Calculator which will open up a graph Calculator window. In this, clear the “buffer” entry field by clicking on the Clear  buffer button (or just

use backspace); then, in the graph window click on the supply current name (/V1/MINUS); that

should enter this waveform. in the calculator (probably looking something like IT("/V1/MINUS/")). Now click on iinteg (indefinite integral) in the Special Functions fieldof the Calculator (or just

edit the buffer to read iinteg(IT("/V1/MINUS"))), and click on the Evaluate  the  buffer button (you can choose to have the trace appearing in a New Window if you so choose); this should plot the time integral of your supply current in the graph window. In the graph window, choose Marker-Create Marker  . . . and click OK in the marker creation window.  Repeat this step to create another marker.  Now select both markers and choose Marker-Create  Delta Marker. Move one marker to the start of your time integral signal and the other to the end – the delta marker should now read the average slope of your time integral, and hence the average supply current from which you can calculate the power dissipation.

Corner simulations

The simulations done so far has been carried out using a typical set of process parameters.  In reality, there is a lot of variation between different wafers fabricated.  For digital circuits, it is usually regarded as sufficient to simulate in two worst-case corners (in addition to the typical parameter values), namely the slow corner (low gain, high capacitance) and the fast corner (high gain, low capacitance). To simulate your circuit in the slow corner, in the Virtuoso ADE Explorer window maestro menu choose Setup-Model  Libraries . . ., in the Model Library Setup win- dow, replace the model library that you are using to the on ending in  . . ./hspice_ss.include (as opposed to  . . ./hspice_stat.include), and click OK. Simulations done now are carried out in the slow corner for the process.  Use the same approach carry out simulations in the fast corner (replace model library with the one ending in . . ./hspice_ff.include). Find the H→ L and L→ H CI to CO propagation delays in the slow and the fast corner.

Driving a large load

When driving a large capacitive load from a unit sized gate, it is necessary to inserts buffer in- verters with increasing drive strength (i.e. transistor widths): The NMOS transistor in an inverter of drive strength S has a width of SWunitN  while the PMOS transistor has a width of SWunitP . The usual approach is shown in figure 4 where two inverters are inserted after the unit inverter such that the load capacitance CX  can be driven to the digital value X in reasonable time.  The scale factor k (drive strength ratio between consecutive inverters) is normally in the range 3 to 6.

Change the load capacitance CLS at the S output to 150 fF, and insert suitable buffer inverters, such that this load can be driven at the data rate you have been using in the other simulations; verify this by a transient simulation.

Figure 4: Unit inverter driving large load; inverters are labelled with drive strengths

Report

A short report in  .pdf format on the laboratory exercise must be prepared and uploaded on the course Moodle site no later than the due date. This need to include:

• The schematic of your test bench.

The schematic of full-adder (explain choice of transistor widths).

Proof that S is always pulled to ground or VVDD  (but never both).

• Transient simulations showing logic function.

• Transient simulations showing the CI  to CO  propagation delays in the fast and the slow corner (compare this with simple hand calculations using the typical parameters).

• Simulations used for power dissipation calculation, and a calculation of the power dissipa- tion.

• The schematic of the buffer inverters for driving a large load on S.

• Transient simulations showing proper operation when driving a large load on S.




热门主题

课程名

mktg2509 csci 2600 38170 lng302 csse3010 phas3226 77938 arch1162 engn4536/engn6536 acx5903 comp151101 phl245 cse12 comp9312 stat3016/6016 phas0038 comp2140 6qqmb312 xjco3011 rest0005 ematm0051 5qqmn219 lubs5062m eee8155 cege0100 eap033 artd1109 mat246 etc3430 ecmm462 mis102 inft6800 ddes9903 comp6521 comp9517 comp3331/9331 comp4337 comp6008 comp9414 bu.231.790.81 man00150m csb352h math1041 eengm4100 isys1002 08 6057cem mktg3504 mthm036 mtrx1701 mth3241 eeee3086 cmp-7038b cmp-7000a ints4010 econ2151 infs5710 fins5516 fin3309 fins5510 gsoe9340 math2007 math2036 soee5010 mark3088 infs3605 elec9714 comp2271 ma214 comp2211 infs3604 600426 sit254 acct3091 bbt405 msin0116 com107/com113 mark5826 sit120 comp9021 eco2101 eeen40700 cs253 ece3114 ecmm447 chns3000 math377 itd102 comp9444 comp(2041|9044) econ0060 econ7230 mgt001371 ecs-323 cs6250 mgdi60012 mdia2012 comm221001 comm5000 ma1008 engl642 econ241 com333 math367 mis201 nbs-7041x meek16104 econ2003 comm1190 mbas902 comp-1027 dpst1091 comp7315 eppd1033 m06 ee3025 msci231 bb113/bbs1063 fc709 comp3425 comp9417 econ42915 cb9101 math1102e chme0017 fc307 mkt60104 5522usst litr1-uc6201.200 ee1102 cosc2803 math39512 omp9727 int2067/int5051 bsb151 mgt253 fc021 babs2202 mis2002s phya21 18-213 cege0012 mdia1002 math38032 mech5125 07 cisc102 mgx3110 cs240 11175 fin3020s eco3420 ictten622 comp9727 cpt111 de114102d mgm320h5s bafi1019 math21112 efim20036 mn-3503 fins5568 110.807 bcpm000028 info6030 bma0092 bcpm0054 math20212 ce335 cs365 cenv6141 ftec5580 math2010 ec3450 comm1170 ecmt1010 csci-ua.0480-003 econ12-200 ib3960 ectb60h3f cs247—assignment tk3163 ics3u ib3j80 comp20008 comp9334 eppd1063 acct2343 cct109 isys1055/3412 math350-real math2014 eec180 stat141b econ2101 msinm014/msing014/msing014b fit2004 comp643 bu1002 cm2030
联系我们
EMail: 99515681@qq.com
QQ: 99515681
留学生作业帮-留学生的知心伴侣!
工作时间:08:00-21:00
python代写
微信客服:codinghelp
站长地图