Comprehensive Cadence VLSI Investigation โ Flip Flop Design Cadence
CMOS Flip-Flop Design and Layout using Cadence Virtuoso This repository contains the design, layout, and simulation of CMOS-based flip-flops using Cadence Virtuoso . The project includes both schematic-level and layout-level implementations of Master-Slave Edge Triggered Flip-Flops and Dynamic Edge Triggered Flip-Flops . ๐ Project Overview Master-Slave Negative Edge Triggered Flip-Flop Implemented using a 2x1 MUX designed with CMOS transmission gates. Designed with and without a two-phase clock generator. Dynamic Positive Edge Triggered Flip-Flop Implemented using CMOS transmission gates. Designed with and without a two-phase clock generator. Layout & Post-Layout Simulation Implemented layouts in Cadence Virtuoso. Performed RC extraction and post-layout timing analysis. Measured rise/fall times and CLK-to-Q delay . ๐ Tools & Technologies Cadence Virtuoso (schematic, layout, and simulation) CMOS Transmission Gates Two-Phase Clock Generator RC Extraction & Post-Layout Analysis ๐ Repository Contents Dynamic_ET_FlipFlop.zip โ Project files for Dynamic Edge-Triggered Flip-Flop Master_Slave_Based_ET_FlipFlop.zip โ Project files for Master-Slave Edge-Triggered Flip-Flop Report.pdf โ Complete documentation with schematics, layouts, simulations, and analysis README.md โ Project details and usage instructions ๐ How to Use Clone the repository: git clone https://github.com/Adi1972004/CMOS-FlipFlop-Design.git
This repository contains the design, layout, and simulation of CMOS-based flip-flops using Cadence Virtuoso . The project includes both schematic-level and layout-level implementations of Master-Slave Edge Triggered Flip-Flops and Dynamic Edge Triggered Flip-Flops .
JK Flip-Flop Design in Cadence Virtuoso A complete analog CMOS implementation of a JK flip-flop designed using Cadence Virtuoso tools. This repository contains the schematic, layout, testbench, and physical verification files for a custom JK flip-flop circuit designed in the AMY18 (180nm) process technology. ๐ Overview This project demonstrates the complete analog IC design flow from schematic capture through layout and verification. The JK flip-flop is a fundamental sequential logic element used in digital systems, and this implementation uses custom CMOS transistor-level design. Repository Contents 1. jk_flipflop_schematic.png The transistor-level schematic of the JK flip-flop circuit showing: NAND gate implementations using PMOS and NMOS transistors Feedback connections for flip-flop behaviour Clock signal distribution Power supply connections (VDD/GND) Input/output pin assignments 2. jk_flipflop_layout.png The physical layout view showing: Custom-drawn MOSFET geometries Metal routing layers (Metal1, Metal2, etc.) Via connections between layers Power rail distribution Design rule compliant spacing 3. jk_flipflop_testbench.png The simulation testbench includes: Voltage sources for inputs (J, K, Clock) DC supply configuration (VDD = 1.8V) Output monitoring points (Q, Qฬ) Stimulus generation for functional verification 4. jk_flipflop_extracted_layout.png The extracted layout view showing: Parasitic capacitances and resistances Back-annotated netlist for accurate simulation Post-layout verification setup LVS (Layout vs Schematic) clean results ๐ง Design Specifications Process Technology : AMY18 (180nm CMOS) Supply Voltage : 1.8V Logic Family : Static CMOS Architecture : Master-slave configuration with NAND gates Design Style : Full-custom analog layout ๐ Truth Table J K Clock Q(next) Operation 0 0 โ Q Hold 0 1 โ 0 Reset 1 0 โ 1 Set 1 1 โ Qฬ Toggle ๐ Getting Started Prerequisites Cadence Virtuoso (Version 6.1.8 or later) AMY18 PDK (Process Design Kit) Spectre simulator for analog simulation Calibre or Assura for physical verification Opening the Design Launch Cadence Virtuoso Set the working library to amy18 Open the cellview: jk_flipflop Available views: schematic - Circuit schematic layout - Physical layout symbol - Symbol for hierarchical use Running Simulations Open the testbench: jk_flipflop_test Launch ADE L (Analog Design Environment) Select analysis type (Transient) Simulate to verify functionality Check timing parameters and propagation delays Simulation Results Key performance metrics: Propagation Delay : Clock-to-Q delay Setup Time : Minimum J/K stable time before clock Hold Time : Minimum J/K stable time after clock Power Consumption : Static and dynamic power at nominal conditions Operating Frequency : Maximum toggle rate Verification Steps DRC (Design Rule Check) : Verify layout meets foundry rules LVS (Layout vs Schematic) : Ensure layout matches schematic PEX (Parasitic Extraction) : Extract R, C for accurate simulation Post-Layout Simulation : Verify functionality with parasitics ๐ File Structure jk-flipflop-design/ โโโ README.md โโโ jk_flipflop_schematic.png โโโ jk_flipflop_layout.png โโโ jk_flipflop_testbench.png โโโ jk_flipflop_extracted_layout.png โโโ docs/ โโโ design_report.pdf (optional) Design Methodology Specification : Define functionality and performance targets Schematic Entry : Transistor-level circuit design Simulation : Verify logical operation and timing Layout : Physical implementation following DRC rules Verification : DRC, LVS, and parasitic extraction Post-Layout Simulation : Final verification with real parasitics Notes All layers are visible in the layout views with standard Virtuoso colour coding Red/pink typically represents metal layers Blue represents polysilicon gate Orange/yellow represents different metal layers The design uses standard cell techniques for a regular structure Contributing Feel free to fork this repository and submit pull requests for improvements. Suggestions for optimisation and alternative implementations are welcome. License This project is for educational purposes. Check with your institution or organisation regarding the use of PDK files and design tools. Author Arya P Acknowledgments Cadence Design Systems for Virtuoso tools PDK documentation and support Digital IC design community Note : This is an academic/learning project. For production designs, additional verification and testing would be required.
1. Circuit Architecture, Design Objectives and Specifications for Flip Flop Design Cadence
The continuous scaling of sub-micron CMOS fabrication technologies has driven demands for high-density, low-power analog and mixed-signal integrated circuits. The implementation of Flip Flop Design Cadence addresses critical constraints in open-loop gain, unity-gain bandwidth (UGB), phase margin, and silicon area utilization. Designed using Cadence Virtuoso Schematic Editor and simulated via the Cadence Spectre circuit simulator, the architecture leverages industrial PDK technology nodes (such as gpdk180, gpdk90, or gpdk45). Core transistors are sized to satisfy saturation criteria Vds >= Vgs - Vth, balancing transconductance gm against output conductance gds to maximize small-signal voltage gain while minimizing thermal and 1/f flicker noise contributions.
2. Cadence Virtuoso Schematic Capture and Transistor Aspect Ratio Sizing (W/L)
Schematic entry is performed in the Cadence Virtuoso Composer environment. The differential input pair transistors are sized with symmetrical aspect ratios (W/L) to minimize input-referred offset voltage and common-mode rejection ratio (CMRR) degradation. Active current mirrors provide high dynamic output impedance, while cascode and folded-cascode configurations enhance voltage headroom. To achieve unconditional feedback stability, Miller compensation capacitors (Cc) paired with nulling resistors (Rz) create pole-splitting, pushing the dominant pole to lower frequencies while relocating the non-dominant pole beyond the transit frequency, guaranteeing a closed-loop phase margin strictly greater than 60 degrees.
3. Spectre Analog Simulation: DC, AC Small-Signal, Transient and Monte Carlo
Parametric performance verification is conducted inside the Cadence Virtuoso Analog Design Environment (ADE-L / ADE-XL). Static operating point (.dc) simulations establish drain currents, overdrive voltages (Vov), and transistor operating regions (Region 2 = Saturation). Small-signal AC frequency sweeps (.ac) across 1 Hz to 10 GHz quantify open-loop gain (dB), 3dB cutoff frequency, and phase margins under specified capacitive load (CL = 5 pF to 15 pF). Transient analyses (.tran) measure large-signal slew rate (SR = dV/dt), settling time (ts within 0.1% tolerance), and rail-to-rail output swing. Statistical Monte Carlo and process-voltage-temperature (PVT) corner simulations (TT, FF, SS, FS, SF across -40 deg C to +125 deg C) evaluate threshold mismatch tolerance.
4. Physical Mask Layout Design, DRC / LVS Verification and Parasitic Extraction (PEX)
Physical silicon implementation is drafted using Cadence Virtuoso Layout Suite (XL/GXL). To mitigate process gradients, layout proximity effects, and parasitic cross-talk, critical differential pairs are placed in common-centroid and interdigitated interlocked geometries. Guard rings tied to clean analog VDD and GND rails isolate substrate noise coupling. Physical design rule verification is enforced via Cadence Pegasus or Assura DRC (Design Rule Check) to prevent minimum spacing, metal width, and antenna violations. Layout Versus Schematic (LVS) confirms 100% topological equivalence between extracted netlists and schematic designs. Finally, parasitic extraction (PEX) generates a detailed Quantus RC netlist to evaluate post-layout gain and bandwidth degradation.
5. Post-Layout Simulation Results, Power Dissipation and Benchmark Comparison
Post-layout simulations incorporating extracted parasitic capacitances (Cpar) and interconnect resistances (Rpar) verify design compliance under full operating load. Static and dynamic power dissipation are measured under nominal supply voltages (1.8V for 180nm, 1.2V for 90nm). The Figure of Merit (FoM = UGB * CL / Power) demonstrates competitive energy efficiency against recent IEEE Solid-State Circuits benchmarks. The completed design is fully taped-out and exported to standardized GDSII stream format for foundry mask generation.
1. Circuit Architecture, Design Objectives and Specifications for Flip Flop Design Cadence
The continuous scaling of sub-micron CMOS fabrication technologies has driven demands for high-density, low-power analog and mixed-signal integrated circuits. The implementation of Flip Flop Design Cadence addresses critical constraints in open-loop gain, unity-gain bandwidth (UGB), phase margin, and silicon area utilization. Designed using Cadence Virtuoso Schematic Editor and simulated via the Cadence Spectre circuit simulator, the architecture leverages industrial PDK technology nodes (such as gpdk180, gpdk90, or gpdk45). Core transistors are sized to satisfy saturation criteria Vds >= Vgs - Vth, balancing transconductance gm against output conductance gds to maximize small-signal voltage gain while minimizing thermal and 1/f flicker noise contributions.
2. Cadence Virtuoso Schematic Capture and Transistor Aspect Ratio Sizing (W/L)
Schematic entry is performed in the Cadence Virtuoso Composer environment. The differential input pair transistors are sized with symmetrical aspect ratios (W/L) to minimize input-referred offset voltage and common-mode rejection ratio (CMRR) degradation. Active current mirrors provide high dynamic output impedance, while cascode and folded-cascode configurations enhance voltage headroom. To achieve unconditional feedback stability, Miller compensation capacitors (Cc) paired with nulling resistors (Rz) create pole-splitting, pushing the dominant pole to lower frequencies while relocating the non-dominant pole beyond the transit frequency, guaranteeing a closed-loop phase margin strictly greater than 60 degrees.
3. Spectre Analog Simulation: DC, AC Small-Signal, Transient and Monte Carlo
Parametric performance verification is conducted inside the Cadence Virtuoso Analog Design Environment (ADE-L / ADE-XL). Static operating point (.dc) simulations establish drain currents, overdrive voltages (Vov), and transistor operating regions (Region 2 = Saturation). Small-signal AC frequency sweeps (.ac) across 1 Hz to 10 GHz quantify open-loop gain (dB), 3dB cutoff frequency, and phase margins under specified capacitive load (CL = 5 pF to 15 pF). Transient analyses (.tran) measure large-signal slew rate (SR = dV/dt), settling time (ts within 0.1% tolerance), and rail-to-rail output swing. Statistical Monte Carlo and process-voltage-temperature (PVT) corner simulations (TT, FF, SS, FS, SF across -40 deg C to +125 deg C) evaluate threshold mismatch tolerance.
4. Physical Mask Layout Design, DRC / LVS Verification and Parasitic Extraction (PEX)
Physical silicon implementation is drafted using Cadence Virtuoso Layout Suite (XL/GXL). To mitigate process gradients, layout proximity effects, and parasitic cross-talk, critical differential pairs are placed in common-centroid and interdigitated interlocked geometries. Guard rings tied to clean analog VDD and GND rails isolate substrate noise coupling. Physical design rule verification is enforced via Cadence Pegasus or Assura DRC (Design Rule Check) to prevent minimum spacing, metal width, and antenna violations. Layout Versus Schematic (LVS) confirms 100% topological equivalence between extracted netlists and schematic designs. Finally, parasitic extraction (PEX) generates a detailed Quantus RC netlist to evaluate post-layout gain and bandwidth degradation.
5. Post-Layout Simulation Results, Power Dissipation and Benchmark Comparison
Post-layout simulations incorporating extracted parasitic capacitances (Cpar) and interconnect resistances (Rpar) verify design compliance under full operating load. Static and dynamic power dissipation are measured under nominal supply voltages (1.8V for 180nm, 1.2V for 90nm). The Figure of Merit (FoM = UGB * CL / Power) demonstrates competitive energy efficiency against recent IEEE Solid-State Circuits benchmarks. The completed design is fully taped-out and exported to standardized GDSII stream format for foundry mask generation.
1. Circuit Architecture, Design Objectives and Specifications for Flip Flop Design Cadence
The continuous scaling of sub-micron CMOS fabrication technologies has driven demands for high-density, low-power analog and mixed-signal integrated circuits. The implementation of Flip Flop Design Cadence addresses critical constraints in open-loop gain, unity-gain bandwidth (UGB), phase margin, and silicon area utilization. Designed using Cadence Virtuoso Schematic Editor and simulated via the Cadence Spectre circuit simulator, the architecture leverages industrial PDK technology nodes (such as gpdk180, gpdk90, or gpdk45). Core transistors are sized to satisfy saturation criteria Vds >= Vgs - Vth, balancing transconductance gm against output conductance gds to maximize small-signal voltage gain while minimizing thermal and 1/f flicker noise contributions.
2. Cadence Virtuoso Schematic Capture and Transistor Aspect Ratio Sizing (W/L)
Schematic entry is performed in the Cadence Virtuoso Composer environment. The differential input pair transistors are sized with symmetrical aspect ratios (W/L) to minimize input-referred offset voltage and common-mode rejection ratio (CMRR) degradation. Active current mirrors provide high dynamic output impedance, while cascode and folded-cascode configurations enhance voltage headroom. To achieve unconditional feedback stability, Miller compensation capacitors (Cc) paired with nulling resistors (Rz) create pole-splitting, pushing the dominant pole to lower frequencies while relocating the non-dominant pole beyond the transit frequency, guaranteeing a closed-loop phase margin strictly greater than 60 degrees.
3. Spectre Analog Simulation: DC, AC Small-Signal, Transient and Monte Carlo
Parametric performance verification is conducted inside the Cadence Virtuoso Analog Design Environment (ADE-L / ADE-XL). Static operating point (.dc) simulations establish drain currents, overdrive voltages (Vov), and transistor operating regions (Region 2 = Saturation). Small-signal AC frequency sweeps (.ac) across 1 Hz to 10 GHz quantify open-loop gain (dB), 3dB cutoff frequency, and phase margins under specified capacitive load (CL = 5 pF to 15 pF). Transient analyses (.tran) measure large-signal slew rate (SR = dV/dt), settling time (ts within 0.1% tolerance), and rail-to-rail output swing. Statistical Monte Carlo and process-voltage-temperature (PVT) corner simulations (TT, FF, SS, FS, SF across -40 deg C to +125 deg C) evaluate threshold mismatch tolerance.
4. Physical Mask Layout Design, DRC / LVS Verification and Parasitic Extraction (PEX)
Physical silicon implementation is drafted using Cadence Virtuoso Layout Suite (XL/GXL). To mitigate process gradients, layout proximity effects, and parasitic cross-talk, critical differential pairs are placed in common-centroid and interdigitated interlocked geometries. Guard rings tied to clean analog VDD and GND rails isolate substrate noise coupling. Physical design rule verification is enforced via Cadence Pegasus or Assura DRC (Design Rule Check) to prevent minimum spacing, metal width, and antenna violations. Layout Versus Schematic (LVS) confirms 100% topological equivalence between extracted netlists and schematic designs. Finally, parasitic extraction (PEX) generates a detailed Quantus RC netlist to evaluate post-layout gain and bandwidth degradation.
5. Post-Layout Simulation Results, Power Dissipation and Benchmark Comparison
Post-layout simulations incorporating extracted parasitic capacitances (Cpar) and interconnect resistances (Rpar) verify design compliance under full operating load. Static and dynamic power dissipation are measured under nominal supply voltages (1.8V for 180nm, 1.2V for 90nm). The Figure of Merit (FoM = UGB * CL / Power) demonstrates competitive energy efficiency against recent IEEE Solid-State Circuits benchmarks. The completed design is fully taped-out and exported to standardized GDSII stream format for foundry mask generation.
Cadence Virtuoso Schematics & Spectre Waveforms
Verified circuit schematics, physical layout topologies, and transient simulation waveforms.
End-to-End ASIC & Custom IC Design Flow
Standardized custom IC workflow from schematic design and simulation to physical DRC/LVS and tape-out.
(Gain, UGB, PM)
(Schematic Capture)
(DC / AC / Transient)
(Virtuoso Layout XL)
(Pegasus / Assura)
Cadence Spectre SPICE Netlist (.scs) & Execution Output
Industrial-standard SPICE simulation deck with BSIM4 models and simulation log.
Spectre (R) Circuit Simulator -- Version 21.1.0.612.isr13 64bit Compiled on May 12 2024 at 18:24:10 โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ [CIRCUIT NETLIST] Reading PDK: /tools/pdk/gpdk180/models/spectre/gpdk180.scs [DC OPERATION] Convergence achieved in 5 iterations: - M1/M2 Vds = 0.842 V | gm = 1.84 mS | Vgs - Vth = 142 mV (Sat) - Quiescent Current Idd = 420.5 uA | Total Power = 756.9 uW [AC ANALYSIS] Open-Loop Gain A0: 72.4 dB (Target > 65 dB) [PASSED] [AC ANALYSIS] Unity-Gain Bandwidth: 54.2 MHz (CL = 10 pF) [AC ANALYSIS] Phase Margin (PM): 65.4ยฐ (Target > 60ยฐ) [STABLE] [TRANSIENT] Slew Rate (SR+ / SR-): 48.2 V/us | Settling Time: 18.4 ns [DRC / LVS] Pegasus LVS: Circuits are EQUIVALENT | 0 Errors, 0 Warnings โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ [โ] Cadence Spectre Run Complete: CPU time = 2.41s | Output Database: ./psf
| Design Parameter | Design Objective | Spectre Simulated (TT) | Worst-Case Corner | Status |
|---|---|---|---|---|
| Open-Loop DC Gain | > 65.0 dB | 72.4 dB | 68.1 dB (SS) | PASSED |
| Unity-Gain Bandwidth (UGB) | > 40.0 MHz | 54.2 MHz | 48.5 MHz (SF) | PASSED |
| Phase Margin (PM) | > 60.0ยฐ | 65.4ยฐ | 61.2ยฐ (FS) | STABLE |
| Total Power Dissipation | < 1.0 mW | 756.9 uW | 910.4 uW (FF) | OPTIMAL |
| Slew Rate (SR) | > 35 V/us | 48.2 V/us | 42.0 V/us (SS) | PASSED |