From 69ef25bd5279d352e6648f959425e29ea95509ca Mon Sep 17 00:00:00 2001 From: LSTM-Kirigaya <1193466151@qq.com> Date: Sun, 5 Jan 2025 21:51:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20include=20=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E8=B7=AF=E5=BE=84=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/property-schema.json | 17 +---------------- src/hdlParser/core.ts | 2 -- src/monitor/hdl.ts | 1 + 3 files changed, 2 insertions(+), 18 deletions(-) diff --git a/project/property-schema.json b/project/property-schema.json index 9a8091d..34c1ebf 100644 --- a/project/property-schema.json +++ b/project/property-schema.json @@ -200,22 +200,7 @@ "xc7z035ffg676-2", "xc7z020clg484-1" ] - }, - "iverilogCompileOptions": { - "type": "object", - "description": "options to define iverilog arguments", - "properties": { - "standard": { - "type": "string", - "description": "value of argument -g, default is -g2012", - "default": "2012" - }, - "includes": { - "type": "array", - "description": "value of argument -I" - } - } - } + } }, "required": [ "toolChain", diff --git a/src/hdlParser/core.ts b/src/hdlParser/core.ts index 52fc71a..93d0ac9 100644 --- a/src/hdlParser/core.ts +++ b/src/hdlParser/core.ts @@ -480,8 +480,6 @@ class HdlParam { return; } - console.log('fast:', fast); - // 1. 更新 macro moduleFile.updateMacro(fast.macro); diff --git a/src/monitor/hdl.ts b/src/monitor/hdl.ts index 48c5aad..2bcf7ff 100644 --- a/src/monitor/hdl.ts +++ b/src/monitor/hdl.ts @@ -105,6 +105,7 @@ export class HdlAction extends BaseAction { // 更新 hdl 文件 const fast = await LspClient.DigitalIDE?.sendRequest(SyncFastRequestType, { path, fileType, toolChain }) if (fast) { + console.log('update includes:', fast.macro.includes); hdlParam.updateFast(path, fast); }