Skip to content

Commit

Permalink
Merge pull request #28 from rsd-devel/improve-kanata-converter
Browse files Browse the repository at this point in the history
Improve kanata converter
  • Loading branch information
reo-pon authored Jan 15, 2021
2 parents dedbfb0 + abe0a50 commit 7a2c4ce
Show file tree
Hide file tree
Showing 11 changed files with 623 additions and 524 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,13 @@ synlog.tcl
/Processor/Src/*.gz
/Processor/Src/wlft*

# python
*.pyc
.ropeproject

# other files
/Work

*.pyc
*.log
*.o
*.bin
Expand Down
25 changes: 25 additions & 0 deletions Processor/Tools/KanataConverter/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
// IntelliSense を使用して利用可能な属性を学べます。
// 既存の属性の説明をホバーして表示します。
// 詳細情報は次を確認してください: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Python",
"type": "python",
"request": "launch",
"stopOnEntry": false,
"python": "${command:python.interpreterPath}",
"program": "KanataConverter.py",
"cwd": "${workspaceRoot}",
"env": {},
"envFile": "${workspaceRoot}/.env",
"console": "internalConsole",
"args": [
"../../Src/RSD.log",
"kanata.log",
]
}
]
}

7 changes: 7 additions & 0 deletions Processor/Tools/KanataConverter/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"cSpell.words": [
"RISCV",
"Verilog",
"gids"
]
}
65 changes: 65 additions & 0 deletions Processor/Tools/KanataConverter/.vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"version": "2.0.0",

// Configuration for cygwin
"windows": {
"options": {
"env": {
"CHERE_INVOKING": "1",
"LANG": "C"
},
"shell": {
"executable": "c:/tools/cygwin/bin/bash.exe",
"args": [
"--login", "-c"
]
}
}
},

"echoCommand": true,
"type": "shell",
"presentation": {
"reveal": "always",
"panel": "dedicated"
},
"options": {
"cwd": "${workspaceRoot}"
},
"tasks": [
{
"label": "make",
"command": "make",
"args": [],
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": {
"fileLocation": "absolute",
"pattern": [
{
"regexp": "^[ ]*.*File \"(.*)\", line (\\d+?), in.*$",
"file": 1,
"line": 2,
"message": 0
}
]
}
},
{
"label": "run",
"command": "make",
"args": ["run"],
"group": {
"kind": "test",
"isDefault": true
}
},
{
"label": "clean",
"command": "make",
"args": ["clean"]
}
]
}
Loading

0 comments on commit 7a2c4ce

Please sign in to comment.