修复 include 搜索路径的bug
This commit is contained in:
parent
cff21c2572
commit
69ef25bd52
@ -200,21 +200,6 @@
|
|||||||
"xc7z035ffg676-2",
|
"xc7z035ffg676-2",
|
||||||
"xc7z020clg484-1"
|
"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": [
|
"required": [
|
||||||
|
@ -480,8 +480,6 @@ class HdlParam {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log('fast:', fast);
|
|
||||||
|
|
||||||
// 1. 更新 macro
|
// 1. 更新 macro
|
||||||
moduleFile.updateMacro(fast.macro);
|
moduleFile.updateMacro(fast.macro);
|
||||||
|
|
||||||
|
@ -105,6 +105,7 @@ export class HdlAction extends BaseAction {
|
|||||||
// 更新 hdl 文件
|
// 更新 hdl 文件
|
||||||
const fast = await LspClient.DigitalIDE?.sendRequest(SyncFastRequestType, { path, fileType, toolChain })
|
const fast = await LspClient.DigitalIDE?.sendRequest(SyncFastRequestType, { path, fileType, toolChain })
|
||||||
if (fast) {
|
if (fast) {
|
||||||
|
console.log('update includes:', fast.macro.includes);
|
||||||
hdlParam.updateFast(path, fast);
|
hdlParam.updateFast(path, fast);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user