|
1 | 1 | {
|
2 |
| - "name": "cxxrtldebugger", |
3 |
| - "displayName": "CXXRTL Debugger", |
| 2 | + "name": "rtl-debugger", |
| 3 | + "displayName": "RTL Debugger", |
4 | 4 | "description": "Debugger for HDLs supported by the open-source toolchain: Amaranth, Verilog, VHDL, ...",
|
5 | 5 | "version": "0.0.0",
|
6 | 6 | "engines": {
|
|
13 | 13 | "main": "./out/extension.js",
|
14 | 14 | "contributes": {
|
15 | 15 | "configuration": {
|
16 |
| - "id": "CXXRTLDebugger", |
| 16 | + "id": "RTLDebugger", |
17 | 17 | "type": "object",
|
18 |
| - "title": "CXXRTL Debugger", |
| 18 | + "title": "RTL Debugger", |
19 | 19 | "$comment": "UPSTREAM: Unfortunately there is no way to control the formatting of the extension name within the setting title. See microsoft/vscode#103592",
|
20 | 20 | "properties": {
|
21 |
| - "cxxrtlDebugger.command": { |
| 21 | + "rtlDebugger.command": { |
22 | 22 | "type": ["array"],
|
23 | 23 | "items": {
|
24 | 24 | "type": "string"
|
25 | 25 | },
|
26 | 26 | "minItems": 1,
|
27 | 27 | "description": "Specifies the command to run when launching a debug session."
|
28 | 28 | },
|
29 |
| - "cxxrtlDebugger.cwd": { |
| 29 | + "rtlDebugger.cwd": { |
30 | 30 | "type": "string",
|
31 | 31 | "default": "${workspaceFolder}",
|
32 | 32 | "description": "Specifies the working directory for the launch command."
|
33 | 33 | },
|
34 |
| - "cxxrtlDebugger.port": { |
| 34 | + "rtlDebugger.port": { |
35 | 35 | "type": "integer",
|
36 | 36 | "minimum": 1,
|
37 | 37 | "maximum": 65535,
|
38 | 38 | "default": 6618,
|
39 | 39 | "description": "Specifies the port that the CXXRTL agent within the debug session is listening at."
|
40 | 40 | },
|
41 |
| - "cxxrtlDebugger.displayStyle": { |
| 41 | + "rtlDebugger.displayStyle": { |
42 | 42 | "enum": ["Verilog", "VHDL", "Python"],
|
43 | 43 | "default": "Verilog",
|
44 | 44 | "markdownDescription": "Specifies the display format for variables."
|
|
47 | 47 | },
|
48 | 48 | "commands": [
|
49 | 49 | {
|
50 |
| - "command": "cxxrtlDebugger.startSession", |
51 |
| - "category": "CXXRTL Debugger", |
| 50 | + "command": "rtlDebugger.startSession", |
| 51 | + "category": "RTL Debugger", |
52 | 52 | "title": "Start Session"
|
53 | 53 | },
|
54 | 54 | {
|
55 |
| - "command": "cxxrtlDebugger.stopSession", |
56 |
| - "category": "CXXRTL Debugger", |
| 55 | + "command": "rtlDebugger.stopSession", |
| 56 | + "category": "RTL Debugger", |
57 | 57 | "title": "Stop Session"
|
58 | 58 | },
|
59 | 59 | {
|
60 |
| - "command": "cxxrtlDebugger.runSimulation", |
61 |
| - "category": "CXXRTL Debugger", |
| 60 | + "command": "rtlDebugger.runSimulation", |
| 61 | + "category": "RTL Debugger", |
62 | 62 | "title": "Run Simulation"
|
63 | 63 | },
|
64 | 64 | {
|
65 |
| - "command": "cxxrtlDebugger.runSimulationUntil", |
66 |
| - "category": "CXXRTL Debugger", |
| 65 | + "command": "rtlDebugger.runSimulationUntil", |
| 66 | + "category": "RTL Debugger", |
67 | 67 | "title": "Run Simulation Until..."
|
68 | 68 | },
|
69 | 69 | {
|
70 |
| - "command": "cxxrtlDebugger.pauseSimulation", |
71 |
| - "category": "CXXRTL Debugger", |
| 70 | + "command": "rtlDebugger.pauseSimulation", |
| 71 | + "category": "RTL Debugger", |
72 | 72 | "title": "Pause Simulation"
|
73 | 73 | },
|
74 | 74 | {
|
75 |
| - "command": "cxxrtlDebugger.stepForward", |
76 |
| - "category": "CXXRTL Debugger", |
| 75 | + "command": "rtlDebugger.stepForward", |
| 76 | + "category": "RTL Debugger", |
77 | 77 | "title": "Step Forward"
|
78 | 78 | },
|
79 | 79 | {
|
80 |
| - "command": "cxxrtlDebugger.stepBackward", |
81 |
| - "category": "CXXRTL Debugger", |
| 80 | + "command": "rtlDebugger.stepBackward", |
| 81 | + "category": "RTL Debugger", |
82 | 82 | "title": "Step Backward"
|
83 | 83 | }
|
84 | 84 | ],
|
85 | 85 | "viewsContainers": {
|
86 | 86 | "activitybar": [
|
87 | 87 | {
|
88 |
| - "id": "cxxrtlDebugger", |
89 |
| - "title": "CXXRTL Debugger", |
| 88 | + "id": "rtlDebugger", |
| 89 | + "title": "RTL Debugger", |
90 | 90 | "icon": "media/chip-debug.svg"
|
91 | 91 | }
|
92 | 92 | ]
|
93 | 93 | },
|
94 | 94 | "views": {
|
95 |
| - "cxxrtlDebugger": [ |
| 95 | + "rtlDebugger": [ |
96 | 96 | {
|
97 |
| - "id": "cxxrtlDebugger.hierarchy", |
| 97 | + "id": "rtlDebugger.hierarchy", |
98 | 98 | "name": "Hierarchy"
|
99 | 99 | },
|
100 | 100 | {
|
101 |
| - "id": "cxxrtlDebugger.variables", |
| 101 | + "id": "rtlDebugger.variables", |
102 | 102 | "name": "Variables"
|
103 | 103 | }
|
104 | 104 | ]
|
105 | 105 | },
|
106 | 106 | "viewsWelcome": [
|
107 | 107 | {
|
108 |
| - "view": "cxxrtlDebugger.hierarchy", |
109 |
| - "contents": "The debug session is not running.\n[Start Session](command:cxxrtlDebugger.startSession)", |
110 |
| - "when": "cxxrtlDebugger.sessionStatus == absent" |
| 108 | + "view": "rtlDebugger.hierarchy", |
| 109 | + "contents": "The debug session is not running.\n[Start Session](command:rtlDebugger.startSession)", |
| 110 | + "when": "rtlDebugger.sessionStatus == absent" |
111 | 111 | },
|
112 | 112 | {
|
113 |
| - "view": "cxxrtlDebugger.hierarchy", |
| 113 | + "view": "rtlDebugger.hierarchy", |
114 | 114 | "contents": "The debug session is initializing...",
|
115 |
| - "when": "cxxrtlDebugger.sessionStatus == starting" |
| 115 | + "when": "rtlDebugger.sessionStatus == starting" |
116 | 116 | },
|
117 | 117 | {
|
118 |
| - "view": "cxxrtlDebugger.hierarchy", |
| 118 | + "view": "rtlDebugger.hierarchy", |
119 | 119 | "contents": "There are no scopes in the simulation.",
|
120 |
| - "when": "cxxrtlDebugger.sessionStatus == running" |
| 120 | + "when": "rtlDebugger.sessionStatus == running" |
121 | 121 | },
|
122 | 122 | {
|
123 |
| - "view": "cxxrtlDebugger.variables", |
| 123 | + "view": "rtlDebugger.variables", |
124 | 124 | "contents": "The selected scope is empty."
|
125 | 125 | }
|
126 | 126 | ],
|
127 | 127 | "menus": {
|
128 | 128 | "commandPalette": [
|
129 | 129 | {
|
130 |
| - "command": "cxxrtlDebugger.startSession", |
131 |
| - "when": "cxxrtlDebugger.sessionStatus == absent" |
| 130 | + "command": "rtlDebugger.startSession", |
| 131 | + "when": "rtlDebugger.sessionStatus == absent" |
132 | 132 | },
|
133 | 133 | {
|
134 |
| - "command": "cxxrtlDebugger.stopSession", |
135 |
| - "when": "cxxrtlDebugger.sessionStatus == running" |
| 134 | + "command": "rtlDebugger.stopSession", |
| 135 | + "when": "rtlDebugger.sessionStatus == running" |
136 | 136 | },
|
137 | 137 | {
|
138 |
| - "command": "cxxrtlDebugger.runSimulation", |
139 |
| - "when": "cxxrtlDebugger.sessionStatus == running && cxxrtlDebugger.simulationStatus == paused" |
| 138 | + "command": "rtlDebugger.runSimulation", |
| 139 | + "when": "rtlDebugger.sessionStatus == running && rtlDebugger.simulationStatus == paused" |
140 | 140 | },
|
141 | 141 | {
|
142 |
| - "command": "cxxrtlDebugger.runSimulationUntil", |
143 |
| - "when": "cxxrtlDebugger.sessionStatus == running && cxxrtlDebugger.simulationStatus == paused" |
| 142 | + "command": "rtlDebugger.runSimulationUntil", |
| 143 | + "when": "rtlDebugger.sessionStatus == running && rtlDebugger.simulationStatus == paused" |
144 | 144 | },
|
145 | 145 | {
|
146 |
| - "command": "cxxrtlDebugger.pauseSimulation", |
147 |
| - "when": "cxxrtlDebugger.sessionStatus == running && cxxrtlDebugger.simulationStatus == running" |
| 146 | + "command": "rtlDebugger.pauseSimulation", |
| 147 | + "when": "rtlDebugger.sessionStatus == running && rtlDebugger.simulationStatus == running" |
148 | 148 | },
|
149 | 149 | {
|
150 |
| - "command": "cxxrtlDebugger.stepForward", |
151 |
| - "when": "cxxrtlDebugger.sessionStatus == running" |
| 150 | + "command": "rtlDebugger.stepForward", |
| 151 | + "when": "rtlDebugger.sessionStatus == running" |
152 | 152 | },
|
153 | 153 | {
|
154 |
| - "command": "cxxrtlDebugger.stepBackward", |
155 |
| - "when": "cxxrtlDebugger.sessionStatus == running" |
| 154 | + "command": "rtlDebugger.stepBackward", |
| 155 | + "when": "rtlDebugger.sessionStatus == running" |
156 | 156 | }
|
157 | 157 | ]
|
158 | 158 | }
|
159 | 159 | },
|
160 | 160 | "scripts": {
|
161 |
| - "vscode:prepublish": "npm run compile", |
162 | 161 | "compile": "tsc -p ./",
|
163 | 162 | "watch": "tsc -watch -p ./",
|
164 |
| - "pretest": "npm run compile && npm run lint", |
165 | 163 | "lint": "eslint src --ext ts",
|
166 |
| - "test": "vscode-test" |
| 164 | + "pretest": "npm run compile && npm run lint", |
| 165 | + "test": "vscode-test", |
| 166 | + "vscode:prepublish": "npm run compile" |
167 | 167 | },
|
168 | 168 | "devDependencies": {
|
169 | 169 | "@types/vscode": "^1.84.0",
|
|
0 commit comments