修复 include 搜索路径的bug
This commit is contained in:
parent
cff21c2572
commit
69ef25bd52
@ -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",
|
||||
|
@ -480,8 +480,6 @@ class HdlParam {
|
||||
return;
|
||||
}
|
||||
|
||||
console.log('fast:', fast);
|
||||
|
||||
// 1. 更新 macro
|
||||
moduleFile.updateMacro(fast.macro);
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user