Академический Документы
Профессиональный Документы
Культура Документы
Barrel shifter is a basic circuit that shifts the given data input. In this report
we discuss a 4-bit barrel shifter circuit in which the data is shifted by ‘n’ bits
where ‘n’ is the user input. The circuit is designed such that the shift operation
is performed in a single clock cycle depending on the select input (i.e. n).
The capacitance on the S input of the transmission gate is the input capacitance
of the NMOS device (Cinn). The capacitance on the S’ input is the input
2.1. SYMBOL
Figure 3: Symbol of transmission gate
2.2. SCHEMATIC
2.4. SIMULATION
The above schematic is simulated using a test input and the resulting wave
forms are as shown in the figure.
From the figure it is seen that when the transmission gate is enabled ( C in
the figure) the output follows the input. i.e. The transmission gate passes both
logic levels efficiently.
3.1. SYMBOL
The Input data is given at A3A2A1A0. The shift data is given at S3S2S1S0. The
Power pins are VDD and GND. The Output is obtained at B3B2B1B0 .
3.2. SCHEMATIC
The schematic of barrel shifter is shown in the figure.
Now we generate a pex file and then it’s ready for post layout simulation.
3.7. PEX FILE CREATION
In this pex file is shown . This file is needed to be update later in order
to compare with the netlist generated in schematic in post layout
simulation.
4.2.1.SYMBOL
In this symbol is drawn to carry out post layout simulation our 4-bit Barrel Shifter.
Figure 13: Symbol drawn for post layout of 4-bit Barrel Shifter
4.2.2.SOURCE NETLIST FILE
In this , we have to compare the netlist file generated with the pex file
and if the pins are not in order then we make them in order same as
shown in this figure below . After editing the plex file and now we
import that pes file here. Now it is ready for post layout simulation.
5. CONCLUSION
• The circuit designed here is only for rotate ( left ) operation . But with
few modifications in the circuit connections , it can be used for rotate
right operation as well as for shift operations with sign bit extension .
• The barrel shifter was designed with considerations for minimum delay
6. REFERENCE:
nd
1. CMOS circuit design, layout and simulation, 2 edition by R. Jacob Baker.
2. Basic VLSI design by Douglas A Pucknell, Kamran Eshraghan