This is the VSCode extension for verilog waredorm view based on ts/js and d3.js.
This extension renders signal dumps into specified svg.
git clone https://github.com/maksyuki/vscode-wave-viewer-1.git # clone this library
npm install # normaldependencies
npm install --only=dev # developement only dedpendencies
npm commands
in cmd or powershell directly.
npm run build # build and bundle code to 'dist' folder
npm test # run tests(optional)
npm run coveralls # run coverage tests(optional)
npm commands
:
// "build": "rmdir /s/q dist && mkdir dist && set NODE_ENV=production && rollup -c"
"build": "rm -rf dist && mkdir dist && NODE_ENV=production rollup -c"
// "clean": "rmdir /s/q dist/ node_modules/" "clean": "rm -rf dist/ node_modules/"
//"test": "set NODE_ENV=development && jest" "test": "NODE_ENV=development jest"
//"coveralls": "set NODE_ENV=development && jest --coverage && type ./tests/coverage/lcov.info | coveralls" "coveralls": "NODE_ENV=development jest --coverage && cat ./tests/coverage/lcov.info | coveralls"
## 4. Run
### 4.1 Run in browser
If you have installed `python3+` and added it to the environment path, enter the following command:
```python
python -m http.server
If you have installed python2+
, enter the following command:
python -m SimpleHTTPServer
./examples/viewer.html
to run example.Open the vscode-wave-viewer-1
folder in VSCode, and press F5
to run the extenion in debug mode.
Press Ctrl+Shift+P
to open command palette and enter wave viewer
to run extension.
select file
buttion in page../examples/vcd_small_*.json
or ./examples/vcd_middle.json
, and then the waveform will display on the screen.