In this project, I designed a 4-bit sequence detector detecting a binary sequence of, 1010 using the Cadence Virtuoso Mealy FSM. The proposed FSM design considered the detection of overlapping sequences, permitting the FSM to detect occurrences of the 1010 sequence consecutively, without the loss of bits. The FSM is implemented and built using TSPC D Flip-Flops, where TSPC D Flip-Flops can operate optimally at a high speed with a low power operation, making them ideal for implementing fast digital circuits. This particular design is based on the Mealy machine model The design has ultimately been developed for the derivation of next-state logic as well as output equations using truth tables and K-map simplification. The design has also been simulated with Spectre simulation tools for correct functionality. Transient analysis of the simulation demonstrates that the FSM successfully detects a 1010 sequence the output to overlapping or consecutive sequences as required.
The purpose of this project is to demonstrate not only FSM design and sequential logic principles, to some extent, but more importantly, the real-world application of TSPC D Flip-Flops to High-Performance Digital Circuits and provides a real-life example of both VLSI design and verification.
- Detects binary sequence: 1010
- FSM Type: Mealy
- Implemented using logic derived from truth tables and K-maps
- Constructed using TSPC D flip-flops
- Simulated using Spectre in Cadence Virtuoso
- Verified with transient analysis
- States: S0 → S1 → S2 → S3 → S4 (using 2 flip-flops)
- Output Y becomes
1when sequence1010is detected - D1, D0, and Y expressions derived using Boolean minimization
| Image Preview | Description |
|---|---|
| 📷 FSM Schematic | FSM logic schematic |
| 📷 TSPC D Flip-Flops | TSPC D flip-flops schematic |
| 📷 Symbol View | Custom symbol created for FSM |
| 📷 Testbench | Testbench schematic with clock and input |
| 📷 Waveform Output | Simulation waveform showing detection |
| 📷 State Diagram | FSM state diagram |
| 📷 Truth Table + K-Map | Truth table and K-map simplification |
| 📷 Boolean Equations | Boolean logic equations |
| Parameter | Value |
|---|---|
| V1 (Low) | 0V |
| V2 (High) | 1.8V |
| Period | 50s |
| Pulse Width | 25s |
| Parameter | Value |
|---|---|
| V1 (Low) | 0V |
| V2 (High) | 1.8V |
| Period | 50s |
| Pulse Width | 25s |
| Parameter | Value |
|---|---|
| DC Voltage | 1.8V |
- The output Y goes HIGH as soon as the sequence
1010is detected. - Simulation waveform confirms correct FSM behavior.
- Cadence Virtuoso 6.1.8
- Spectre (for transient & DC analysis)
- Linux environment
- FSM Design (Mealy machine)
- K-map simplification for logic expressions
- Schematic and Symbol creation in Cadence
- Transient simulation and waveform analysis
- Working with TSPC D flip-flops for low-power, high-speed design
- Add layout view with DRC/LVS verification
- Include power and delay analysis using Spectre
- RTL version in Verilog for FPGA comparison
- Implement using FinFET PDK for scaled power analysis
SURIYA R K - BE EEE
