Skip to content

Commit

Permalink
Version 0.0.7 initial commit
Browse files Browse the repository at this point in the history
* Added Compile All.
* Generated files are moved to ./build
* Minor ts types improvements
  • Loading branch information
MohammadKurjieh committed Mar 16, 2021
1 parent f933e9a commit 181237b
Show file tree
Hide file tree
Showing 12 changed files with 299 additions and 155 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
.vsix
out
*.vsix
7 changes: 7 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"workbench.colorCustomizations": {
"[Material Theme Darker]": {
"statusBar.debuggingBackground": "#212121"
}
}
}
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Verilog Change Log

### [0.0.6] 2021-03-16

* Added Compile All.
* Generated files are moved to ./build
* Minor ts types improvements

## [0.0.6] 2019-06-25

* Remove redundant code.
Expand Down
1 change: 1 addition & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
MIT License

Copyright (c) 2017 leafvmaple
Copyright (c) 2021 Mohammad Kurjieh

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
# A Fork Of This [Extension](https://github.com/leafvmaple/vscode-verilog)

## Major new Features:
* Compile all verilog files in a directory
* Output moved to ./build

<br />
<br />

# Verilog Language README

The Visual Studio Code extenstion for Verilog HDL Language support.

## Installation

Install it from [VS Code Marketplace](https://marketplace.visualstudio.com/items/itemName=leafvmaple.verilog)
Install it from [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=MohammadKurjieh.verilogrunner)

## Run Code

Expand All @@ -20,12 +29,22 @@ Install it from [VS Code Marketplace](https://marketplace.visualstudio.com/items

Use Icarus Verilog to run the current code.

* **Compile all Verilog HDL Files in a directory**

Use Icarus Verilog to all the files in the directory.

* **Stop Running**

Stop Running Code.

## Release Notes

### Version 0.0.7

* Added Compile All.
* Generated files are moved to ./build
* Minor ts types improvements

### Version 0.0.6

* Remove redundant code.
Expand Down
Binary file modified images/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

68 changes: 43 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "verilog",
"displayName": "Verilog HDL",
"name": "verilogrunner",
"displayName": "Verilog Compiler & Runner",
"description": "Verilog HDL Language Support for Visual Studio Code.",
"version": "0.0.6",
"publisher": "leafvmaple",
"version": "0.0.7",
"publisher": "mohammadkurjieh",
"icon": "images/icon.png",
"engines": {
"vscode": "^1.17.0"
Expand All @@ -14,57 +14,74 @@
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/leafvmaple/vscode-verilog"
"url": "https://github.com/MohammadKurjieh/vscode-verilog"
},
"activationEvents": [
"onCommand:verilog.run",
"onCommand:verilog.stop"
"onCommand:verilogrunner.run",
"onCommand:verilogrunner.compileAll",
"onCommand:verilogrunner.stop"
],
"main": "./out/extension",
"contributes": {
"commands": [
{
"command": "verilog.run",
"title": "Verilog: Run Verilog HDL Code",
"icon": "images/icon.png"
"command": "verilogrunner.run",
"title": "Verilog: Compile & Run",
"icon": "$(notebook-execute)"
},
{
"command": "verilog.stop",
"command": "verilogrunner.compileAll",
"title": "Verilog: Compile All Files",
"icon": "$(notebook-kernel-select)"
},
{
"command": "verilogrunner.stop",
"title": "Verilog: Stop Running"
}
],
"menus": {
"editor/title": [
{
"when": "resourceLangId == verilog && config.verilog.showRunIconInEditorTitleMenu",
"command": "verilog.run",
"when": "resourceLangId == verilog && config.verilogrunner.showRunIconInEditorTitleMenu",
"command": "verilogrunner.run",
"group": "navigation"
},
{
"when": "resourceLangId == verilog && config.verilogrunner.showRunIconInEditorTitleMenu",
"command": "verilogrunner.compileAll",
"group": "navigation"
}
]
},
"configuration": {
"type": "object",
"title": "Verilog configuration",
"title": "Verilog Runner configuration",
"properties": {
"verilog.showRunIconInEditorTitleMenu": {
"verilogrunner.showRunIconInEditorTitleMenu": {
"type": "boolean",
"default": true,
"description": "Whether to show 'Run Verilog HDL' icon in editor title menu.",
"description": "Whether to show 'Run Verilog' icon in editor title menu.",
"scope": "resource"
},
"verilog.runInTerminal": {
"verilogrunner.openVCD": {
"type": "boolean",
"default": true,
"description": "(DEV) Whether to open the vcd file in editor when done.",
"scope": "resource"
},
"verilogrunner.runInTerminal": {
"type": "boolean",
"default": false,
"description": "Whether to run code in Integrated Terminal.",
"scope": "resource"
},
"verilog.clearPreviousOutput": {
"verilogrunner.clearPreviousOutput": {
"type": "boolean",
"default": false,
"default": true,
"description": "Whether to clear previous output before each run.",
"scope": "resource"
},
"verilog.preserveFocus": {
"verilogrunner.preserveFocus": {
"type": "boolean",
"default": true,
"description": "Whether to preserve focus on code editor after code run is triggered.",
Expand All @@ -81,7 +98,8 @@
],
"extensions": [
".v",
".vh"
".vh",
".sv"
],
"configuration": "./language-configuration.json"
}
Expand All @@ -90,7 +108,7 @@
{
"language": "verilog",
"scopeName": "source.verilog",
"path": "./syntaxes/verilog.tmLanguage.json"
"path": "./syntaxes/verilog_runner.tmLanguage.json"
}
],
"snippets": [
Expand All @@ -107,13 +125,13 @@
"postinstall": "node ./node_modules/vscode/bin/install"
},
"dependencies": {
"tree-kill": "^1.1.0",
"iconv-lite": "^0.4.24"
"iconv-lite": "^0.4.24",
"tree-kill": "^1.2.2"
},
"devDependencies": {
"@types/mocha": "^2.2.42",
"@types/node": "^7.10.6",
"typescript": "^2.6.1",
"vscode": "^1.1.34"
}
}
}
Loading

0 comments on commit 181237b

Please sign in to comment.