111 lines
2.7 KiB
JSON
111 lines
2.7 KiB
JSON
{
|
|
"name": "modelsim-wave-ext",
|
|
"displayName": "ModelSim Wave Extension",
|
|
"description": "Send add wave commands to ModelSim from VS Code",
|
|
"version": "0.0.2",
|
|
"engines": {
|
|
"vscode": "^1.70.0"
|
|
},
|
|
"activationEvents": [
|
|
"onCommand:modelsim.addWaveUnderCursor",
|
|
"onStartupFinished",
|
|
"onView:myCustomPanel"
|
|
],
|
|
"main": "./out/extension.js",
|
|
"contributes": {
|
|
"commands": [
|
|
{
|
|
"command": "modelsim.addWaveUnderCursor",
|
|
"title": "Add Wave for Word Under Cursor"
|
|
},
|
|
{
|
|
"command": "modelsim.toggleWaveMode",
|
|
"title": "Toggle Wave Debug Mode"
|
|
}
|
|
],
|
|
"keybindings": [
|
|
{
|
|
"command": "modelsim.addWaveUnderCursor",
|
|
"key": "ctrl+w",
|
|
"when": "modelsim.mode",
|
|
"args": {
|
|
"mode": "auto"
|
|
}
|
|
},
|
|
{
|
|
"command": "modelsim.addWaveUnderCursor",
|
|
"key": "ctrl+e",
|
|
"when": "modelsim.mode",
|
|
"args": {
|
|
"mode": "set"
|
|
}
|
|
},
|
|
{
|
|
"command": "modelsim.toggleWaveMode",
|
|
"key": "ctrl+alt+m"
|
|
},
|
|
{
|
|
"command": "modelsim.zoomInWave",
|
|
"key": "ctrl+alt+u",
|
|
"when": "modelsim.mode"
|
|
}
|
|
],
|
|
"viewsContainers": {
|
|
"panel": [
|
|
{
|
|
"id": "myPanelContainer",
|
|
"title": "My Tools",
|
|
"icon": "media/tools.svg"
|
|
}
|
|
]
|
|
},
|
|
"views": {
|
|
"myPanelContainer": [
|
|
{
|
|
"type": "webview",
|
|
"id": "myCustomPanel",
|
|
"name": "My Panel"
|
|
}
|
|
]
|
|
},
|
|
"configuration": {
|
|
"title": "ModelSim Wave",
|
|
"properties": {
|
|
"modelsimWave.sharedDir": {
|
|
"type": "string",
|
|
"default": ".",
|
|
"description": "Folder shared between VS Code and ModelSim."
|
|
},
|
|
"modelsimWave.topScope": {
|
|
"type": "string",
|
|
"default": "sim:/tb_top/",
|
|
"description": "Simulation top scope (e.g., sim:/top_tb)."
|
|
},
|
|
"modelsimWave.timeoutMs": {
|
|
"type": "number",
|
|
"default": 5000,
|
|
"description": "Timeout waiting for ModelSim response (ms)."
|
|
},
|
|
"modelsimWave.debugKeepResults": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "Keep ModelSim result files for debugging."
|
|
},
|
|
"modelsimWave.interMediateSignalMapping": {
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "Path to a signal name translation file"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "tsc -p ."
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.19.23",
|
|
"@types/vscode": "1.70.0",
|
|
"typescript": "^5.9.3"
|
|
}
|
|
}
|