dse-loop

Automate design space exploration by iterating parameter configurations and parsing objective metrics.

Updated May 25, 2026
One-click install
npx skills add https://github.com/duypham2801/ThS_LLM --skill dse-loop-duypham2801
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dse-loop
Source: https://github.com/duypham2801/ThS_LLM/tree/main/.claude/skills/dse-loop
Command: npx skills add https://github.com/duypham2801/ThS_LLM --skill dse-loop-duypham2801

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It removes the guesswork from iterative parameter tuning by running a program, extracting a target metric, and automatically selecting the next parameter set to evaluate until the objective or time budget is reached.

Core Features & Use Cases

  • Autonomous exploration loop: Executes a workflow and iterates through design points using the provided task, objective direction, and timeout constraints.
  • Parameter range inference: When ranges are missing, it reads the codebase and infers sensible sweep options, then logs the inferred space for review.
  • Metric parsing and disciplined logging: Requires a programmatic metric extraction step, records every iteration (including failures) into CSV/state files, and prevents duplicate runs.

Quick Start

Run the design space exploration loop by providing the program to execute, the parameter knobs to tune (with any known ranges), the objective metric to optimize, and a wall-clock timeout.

Frequently Asked Questions about dse-loop

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

FAQPage Schema
How do I automate parameter tuning for computer architecture and EDA sweeps?

Automating parameter tuning involves iteratively running a target program, parsing a numeric objective metric from its output, and automatically selecting new parameter configurations until a stopping condition is met. This approach handles architecture simulation and EDA sweeps.

What is design space exploration and how does it work for RTL and synthesis parameter sweeps?

Design space exploration is an autonomous iterative loop that executes a workflow, evaluates design points using an objective direction, and logs results to prevent duplicate runs. It works for RTL and synthesis parameter sweeps by checking against a baseline run.

How do I start a design space exploration loop when parameter ranges are missing?

To start a design space exploration loop when parameter ranges are missing, the tool reads the source codebase to infer sensible sweep options. It logs the inferred parameter space for review before continuing the optimization loop.

Can I recover an optimization loop if a synthesis or placement parameter exploration crashes?

You can recover an optimization loop after a crash using DSE_STATE.json and dse_log.csv files. These checkpoint recovery files record every iteration, including failures, ensuring the design space exploration resumes without duplicate configurations.

What is the best way to parse metrics during compiler and formal verification parameter searches?

The best way to parse metrics during compiler and formal verification parameter searches is through programmatic metric extraction. The optimization loop requires disciplined logging of this numeric objective metric into CSV files to guide configuration selection.

Does the design space exploration tool require constraint-aware logging for memory-subsystem configuration searches?

Yes, design space exploration requires constraint-aware logging to dse_results for memory-subsystem configuration searches. This disciplined logging captures target metrics and prevents duplicate runs during the iterative optimization loop.