- Home
- Skills
- Agents & Orchestration
- digital works dwm
Works with the AI Agents you already use
digital works dwm
Programmatic editing, routing, and timing-hazard simulation for Digital Works .dwm circuit files.
Free
digital works dwm
Example session with this skill installed
Read counter.dwm, find the 4-bit ripple counter, and add a reset detector that triggers when the value reaches 12. Verify with RandomDelaySim.
- Read your context and instructions
- Compiled the digital works dwm
I have updated the circuit to include the reset logic for the 4-bit ripple counter. The detector was implemented using the bits identified as stable by the hazard analysis module to avoid premature resets.
Circuit Update: counter.dwm
# Modification Summary:
# 1. Loaded 'counter.dwm' and mapped the 'Main' canvas.
# 2. Identified T-FlipFlop outputs for bits Q0-Q3.
# 3. Calculated optimal detector bits for value 12 (1100).
# 4. Placed a 2-input AND gate from templates at (450, 320).
# 5. Routed Q2 and Q3 to the AND gate inputs.
# 6. Connected AND gate output to the Master Reset net.
Verification Report:
- Invariants: Pass. No wire-over-chip or diagonal segments detected.
- UnitSim: Counter reaches 11, resets to 0 on the next pulse as expected.
RandomDelaySim: Tested with 24 seeds (Clock half-period: 60). No race conditions or "glitch" resets observed. The detector stayed stable even with variable gate propagation delays.
Next steps
- Open the updated
counter_fixed.dwmin Digital Works. - Ensure the clock frequency is set appropriately for the gate delays (recommended half-period > 60 steps).
- Test the manual reset button to verify it still overrides the auto-detector.
Connects securely to your tools. The creator never sees your data.
About this skill
Editing Digital Works .dwm files manually is error prone due to strict binary formats and complex timing hazards in ripple counters. This skill provides a specialized toolkit to read, modify, and simulate digital circuits programmatically without corrupting file headers or design rules.
What it does
- Circuit Manipulation reads and writes .dwm files as graph objects to prevent byte-level corruption.
- Automated Routing connects components with orthogonal wires that automatically avoid chip bodies and existing pins.
- Timing Simulation runs UnitSim and RandomDelaySim to detect race conditions or floating inputs before deployment.
- Hazard Analysis identifies stable detector bits for ripple counters using specialized design rules.
- Design Verification runs invariant checks to ensure no diagonal segments, wire-over-chip overlaps, or undriven nets.
How it works
- Load Environment copies the DWM-kit to a writable folder and initializes the
dwm.modelanddwm.graphmodules. - Analyze Circuit flattens the macro hierarchy to identify component roles, port labels, and existing logical bugs.
- Mutate Graph uses templates to place new gates (e.g., 74xx series) and
dwm.editto route new connections. - Validate Output executes 24+ randomized simulation seeds to ensure timing stability across all circuit stages.
Frameworks & tools
Python 3.8+ with the DWM-kit library. It interfaces with the Digital Works 95/2.0 binary format and uses specialized simulation engines for logic verification.
Why this beats prompting it yourself
Standard LLMs cannot parse or generate the proprietary .dwm binary format accurately and often overlook the "glitch" hazards inherent in asynchronous counters. This skill uses a formal specification and simulation suite to ensure every edit is electrically sound and functionally verified.
Use cases
- Fix race conditions in existing digital counter or calendar circuits.
- Add reset logic or FIN detectors to ripple counters using optimal gate placement.
- Refactor messy student circuit files into clean, routed macros.
- Simulate circuit behavior across variable gate delays to find intermittent failures.
Known limitations
Verification happens in a Python simulation environment, not the Digital Works GUI itself. Requires the DWM-kit repository or SPEC files to be present in the working directory.
Simulations are performed in Python, not the Digital Works GUI. Requires the DWM-kit toolkit files (SPEC.md and dwm/ module) to be present in the workspace.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free forever
No account required to browse
Trust & safety
Security scan
Security scan passed 10 days ago
- Free with an Agensi account
Requires