How to generate netlist for SR Latch using Nand Gate

 

1) Begin by creating a netlist for SR-Latch. Latch should have two inputs (S and R) and two outputs (Q and QN). Be sure to also include ground and VDD. Make each transistor of your latch minimum-sized (use the minimum width and length for each transistor).

2) Simulate SR-latch to ensure that it works properly (use a transient analysis)–test setting Q to 1, holding this output value, resetting Q to 0, holding this output value, asserting set and reset at the same time, and holding this output value. I suggest that you create a subcircuit (in Spice, this is .SUBCKT) of your latch.

3) Then we need to modify the code to create a fanout-of-4 (FO4) at each output of SR-latch–this is one common way to add load to a circuit in order to more accurately measure its performance. To create a FO4 configuration, use two additional, identical copies of your latch as loads. Connect your Q output to both the S and R inputs of one of your load latches and connect your QN output to both the S and R inputs of your other load latch. Then we must measure the performance of your first latch and just use the other two copies as loads. You must also use a separate DC source for the VDD of each latch (this will ensure that you only measure the current of the first latch when calculating power and energy performance).

Note:

i) Measure and record the rise-time of output Q (from 10% to 90% of VDD) and propagation delay (from S to Q) for the set operation. Also measure and record the fall-time of output Q (from 90% to 10% of VDD) and propagation delay (from R to Q) for the reset operation. I recommend using CosmosScope to make these measurements.

ii) Measure and record the average current required (the current from the supply voltage, VDD) during your SR-Latch’s (1) hold operation, (2) set operation, and (3) reset operation (again, I recommend using CosmosScope to make these measurements). Calculate the average power dissipated during your SR-Latch’s (1) hold operation, (2) set operation, and (3) reset operation. Also calculate the average energy dissipated during your SR-Latch’s (2) set operation and (3) reset operation.

iii) Obtain waveform of your inputs (S and R) and outputs (Q and QN) showing you first asserting set and reset at the same time, and afterwards, immediately performing the hold operation. Describe what behavior you are observing and why this is occurring.

Note: >Now resize your transistors (change the NMOS and/or PMOS widths) to obtain equal rise- and fall-times. Do this in your Spice subcircuit (to ensure that all of your latches (the SR-Latch being measured and the two load latches) are still identical). Now obtain the following information from the FO4 simulation of your resized SR-Latch.

iv) List and explain the widths you chose for each of your transistors

For example: what calculations did you perform, what was the sequence of changes/simulations you performed which led you to your final transistor values, etc.
v) Compare and explain these results with your initial, minimum-sized SR-Latch
For example: how did the delays change (what percent increases/decreases and why?), how did the powers change (what percent increases/decreases and why?), etc.

Sample Solution

experienced labour shortages. Nattrass (1996:46; 2001) notes that in response to this challenge the South African government used coercive measures to ensure cheap labour to meet the demands of industry, mines, and commercial farms. Development driven by gold revenues and foreign capital ensured a consistent flow of labour away from traditional agriculture in favour of rapid urbanization (Nattrass 1996:46; Stander 1996). But this growth ground to a halt in the mid-1970s when the gold boom burst and effectively lost its luster. By the late 1970s unemployment had taken hold such that by 1994, one third of the African labour force was simply unable to find work. From the mid-1920s South Africa’s industrialisation strategy mirrored that of Latin America with a strong inward focus. Initially, this strategy supported labour-intensive industries but slowly began losing steam by the 1960s. Unlike the East Asian economies, who at that time adopted a more outward-orientated export approach, South Africa closed in with heavier protectionist measures and a capital-intensive industry approach. These developments, together with negative real interest rates and large-scale strategic investments such as Sasol, made for a lethal concoction of rising capital intensity. The net result is that economy became increasingly more capital intensive at the expense of labour intensity. The issue of employment creation is a hotly contested one in South African politics. Twenty years after democracy, it is still the election-dominating card, and the priority of national, provincial and municipal card. In fact, amongst the biggest and most visible political parties, the promise to create jobs is at the top of their election manifestos. ‘We have created 3.7million work opportunities over the past 5years’ ‘ Zuma, State of the Nation 2014 ‘The manifest we release today is a manifesto for jobs’ ‘ Helen Zille, Leader of opposition Democratic Alliance. Without getting into the political semantics it is important to heed Bhora’s (2003) cautions that we must understand the absolute expansion of employment within context. More simply, the number of jobs that have been created must be understood against the number of new entrants that have come into the labour market over the same period. For example, between 1995 and 2002: 1.6million jobs were created. However, 5 million new entrants entered the labour market over the same period. The inability of the labour force to absorb new entrants in addition to the graduate unemploy

This question has been answered.

Get Answer
WeCreativez WhatsApp Support
Our customer support team is here to answer your questions. Ask us anything!
👋 Hi, Welcome to Compliant Papers.