build-sequential-circuit

Solid

Build sequential (stateful) logic circuits including latches, flip-flops, registers, counters, and finite state machines. Covers SR latch, D and JK flip-flops, binary/BCD/ring counters, and Mealy/Moore FSM design with clock signal and timing analysis. Use when a circuit must remember past inputs, count events, or implement a state-dependent control sequence.

Web & Frontend 26 stars 4 forks Updated today MIT

Install

View on GitHub

Quality Score: 81/100

Stars 20%
48
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Build Sequential Circuit Design a sequential logic circuit by identifying the required memory and state type, constructing a state diagram and transition table, deriving excitation equations for the chosen flip-flop type, implementing the circuit at the gate level using flip-flops and combinational logic, and verifying correctness through timing diagram analysis and state sequence simulation. ## When to Use - A circuit must remember past inputs or maintain internal state across clock cycles - Designing counters (binary, BCD, ring, Johnson), shift registers, or sequence detectors - Implementing a finite state machine (Mealy or Moore) from a state diagram or regular expression - Adding clocked storage elements to a combinational datapath (registers, pipeline stages) - Preparing stateful components for the simulate-cpu-architecture skill (register file, program counter, control FSM) ## Inputs - **Required**: Behavioral specification -- one of: state diagram, state table, timing diagram, regular expression to detect, or verbal description of the desired sequential behavior - **Required**: Clock characteristics -- edge-triggered (rising/falling) or level-sensitive; single clock or multi-phase - **Optional**: Flip-flop type preference (D, JK, T, or SR) - **Optional**: Reset type -- synchronous, asynchronous, or none - **Optional**: Maximum state count or bit width constraint - **Optional**: Timing constraints (setup time, hold time, maximum clock frequency) ## Procedure ##...

Details

Author
pjt222
Repository
pjt222/agent-almanac
Created
1 years ago
Last Updated
today
Language
R
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

Testing & QA Listed

state-transition-testing

Apply this skill whenever you need to design test cases using State Transition Testing. Use when given requirements describing a system whose behavior depends on its current state AND its history of events — not just the current input alone. Triggers include: "design test cases", "test state machine", "test workflow", "test lifecycle", "state transition", "FSM", or any requirement describing: user authentication flows, account lifecycles, order/transaction workflows, session management, multi-step wizards, embedded system controllers, or any feature where the same event produces different outcomes depending on what happened previously.

0 Updated 1 weeks ago
phatnguyen975
AI & Automation Solid

embedded-state-machine-libs

Use when integrating, designing, configuring, or debugging embedded StateMachine libraries, finite state machines, event transitions, or MCU state-driven workflows

22 Updated 1 weeks ago
easyzoom
Web & Frontend Solid

sequential-think

Multi-step reasoning engine for complex analysis and systematic problem solving. Use when: (1) Complex debugging scenarios with multiple layers, (2) Architectural analysis and system design, (3) Problems requiring hypothesis testing and validation, (4) Multi-component failure investigation, (5) Performance bottleneck identification. Triggers: "--think", "--think-hard", "--ultrathink", "analyze step by step", "break down this problem", "systematic analysis". IMPORTANT: Do NOT use for simple single-step tasks.

64 Updated today
Dianel555