Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"recommendations": [
"mshr-h.veriloghdl",
"ms-python.python",
"yzhang.markdown-all-in-one"
]
}
113 changes: 113 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Run full test: matadd",
"type": "node",
"request": "launch",
"runtimeExecutable": "bash",
"args": [
"-lc",
"rm -f build/gpu.v build/temp.v build/sim.vvp && ulimit -n 4096 && make test_matadd"
],
"cwd": "${workspaceFolder}",
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"preLaunchTask": "Setup: create build directory"
},
{
"name": "Run full test: matmul",
"type": "node",
"request": "launch",
"runtimeExecutable": "bash",
"args": [
"-lc",
"rm -f build/gpu.v build/temp.v build/sim.vvp && ulimit -n 4096 && make test_matmul"
],
"cwd": "${workspaceFolder}",
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"preLaunchTask": "Setup: create build directory"
},
{
"name": "Attach: cocotb debugpy (5678)",
"type": "python",
"request": "attach",
"connect": {
"host": "127.0.0.1",
"port": 5678
},
"justMyCode": false,
"pathMappings": [
{
"localRoot": "${workspaceFolder}",
"remoteRoot": "${workspaceFolder}"
}
]
},
{
"name": "Debug Python cocotb: matadd",
"type": "python",
"request": "attach",
"connect": {
"host": "127.0.0.1",
"port": 5678
},
"justMyCode": false,
"pathMappings": [
{
"localRoot": "${workspaceFolder}",
"remoteRoot": "${workspaceFolder}"
}
],
"preLaunchTask": "Debug: matadd (debugpy wait)"
},
{
"name": "Debug Python cocotb: matmul",
"type": "python",
"request": "attach",
"connect": {
"host": "127.0.0.1",
"port": 5678
},
"justMyCode": false,
"pathMappings": [
{
"localRoot": "${workspaceFolder}",
"remoteRoot": "${workspaceFolder}"
}
],
"preLaunchTask": "Debug: matmul (debugpy wait)"
},
{
"name": "Debug Python cocotb: selected module",
"type": "python",
"request": "attach",
"connect": {
"host": "127.0.0.1",
"port": 5678
},
"justMyCode": false,
"pathMappings": [
{
"localRoot": "${workspaceFolder}",
"remoteRoot": "${workspaceFolder}"
}
],
"preLaunchTask": "Debug: selected cocotb module (debugpy wait)"
},
{
"name": "Run helper: latest test log path",
"type": "node",
"request": "launch",
"runtimeExecutable": "bash",
"args": [
"-lc",
"python -c \"from pathlib import Path; logs=sorted(Path('test/logs').glob('log_*.txt'), key=lambda p: p.stat().st_mtime); print(logs[-1].resolve() if logs else 'No log files found')\""
],
"cwd": "${workspaceFolder}",
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
}
]
}
14 changes: 14 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"terminal.integrated.cwd": "${workspaceFolder}",
"files.associations": {
"*.sv": "systemverilog"
},
"search.exclude": {
"build": true,
"test/logs": true,
"**/__pycache__": true
},
"files.exclude": {
"**/__pycache__": true
}
}
Loading