feat: 新增 iverilog 工具支持

- api.ts: 新增 IverilogArgs 类型定义
- toolExecutor.ts: 新增 executeIverilog 函数,支持直接执行 iverilog 命令
This commit is contained in:
XiaoFeng
2026-01-10 21:15:26 +08:00
parent 4a790b5aca
commit 4abb979eab
2 changed files with 76 additions and 0 deletions

View File

@ -518,6 +518,12 @@ export interface SyntaxCheckArgs {
code: string;
}
/** iverilog 工具参数 */
export interface IverilogArgs {
args: string;
workDir?: string;
}
/** simulation 工具参数 */
export interface SimulationArgs {
rtlPath: string;
@ -566,6 +572,7 @@ export type ToolArgs =
| FileDeleteArgs
| FileListArgs
| SyntaxCheckArgs
| IverilogArgs
| SimulationArgs
| WaveformSummaryArgs
| WaveformTraceArgs