circuit-fibsqrt

Design gate-level circuits for integer square roots and Fibonacci numbers.

127|27|Updated Mar 27, 2026
One-click install
npx skills add https://github.com/lazyFrogLOL/Harness_Engineering --skill circuit-fibsqrt-lazyfroglol
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: circuit-fibsqrt
Source: https://github.com/lazyFrogLOL/Harness_Engineering/tree/main/skills/circuit-fibsqrt
Command: npx skills add https://github.com/lazyFrogLOL/Harness_Engineering --skill circuit-fibsqrt-lazyfroglol

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill guides engineers in creating gate‑level circuit netlists that compute mathematical functions such as integer square root and Fibonacci numbers, removing the guesswork of building and testing low‑level digital logic in text‑based simulators.

Core Features & Use Cases

  • Component‑first methodology: step‑by‑step process for understanding simulator semantics, estimating gate count, and building reusable primitives (gates, adders, comparators).
  • Algorithm templates: detailed approaches for integer square‑root via binary search and Fibonacci via sequential state‑machine, adapted to gate‑level constraints.
  • Verification workflow: unit‑testing primitives, integration testing, and debugging tips to ensure correct operation within resource limits. Use case: An embedded‑systems team can rapidly prototype a 16‑bit integer sqrt circuit that fits within a 30k‑gate budget and then extend it to generate Fibonacci sequences for on‑chip math co‑processors.

Quick Start

Ask the circuit‑fibsqrt skill to design a 16‑bit integer square‑root circuit for a 30 k‑gate limit.

Frequently Asked Questions about circuit-fibsqrt

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I design a gate-level integer square root circuit within a strict gate budget?

To design a gate-level integer square root circuit within a gate limit, estimate component counts and apply a binary search algorithm adapted to gate-level constraints. The skill guides you through building reusable primitives to fit resource limits.

What is the best way to implement a Fibonacci sequence generator in a text-based netlist simulator?

A Fibonacci sequence generator in a text-based netlist simulator is best built using a sequential state-machine approach. This method manages feedback loops effectively while operating within resource constraints.

Can I build digital logic circuits for math functions without using external libraries?

Building digital logic circuits for math functions without external libraries is possible by following a component-first methodology. This involves step-wise construction and testing of reusable primitives like adders and comparators directly in the netlist.

How do you verify and debug gate-level circuits in a netlist simulator?

To verify gate-level circuits in a netlist simulator, perform unit-testing on individual primitives, execute integration testing, and apply specific debugging tips. This workflow ensures correct operation within resource limits.

Does this approach support building arithmetic components for embedded systems math co-processors?

This approach supports building arithmetic components for embedded systems math co-processors by providing algorithm templates for integer square-root and Fibonacci calculations. Teams can prototype circuits fitting specific gate budgets.