diff --git a/.vscodeignore b/.vscodeignore index f6f5c37..11a8cac 100644 --- a/.vscodeignore +++ b/.vscodeignore @@ -13,6 +13,7 @@ script resources/**/*.js resources/**/*.d.ts resources/**/*.wasm +resources/**/*.tar.gz resources/dide-lsp/server tsconfig.json design diff --git a/README.md b/README.md index 4f231f0..7753628 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,6 @@ ## Digital IDE | All in one vscode plugin for Verilog/VHDL development - [Document (New)](https://nc-ai.cn/en/) | [中文文档 (New)](https://nc-ai.cn/) | [Bilibili Video](https://www.bilibili.com/video/BV1t14y1179V/?spm_id_from=333.999.0.0) ![](https://img.shields.io/badge/version-0.4.0-purple) @@ -13,39 +12,38 @@ -## 0.4.0 新增内容 +## New in 0.4.0 -**使用 Rust 重写全新的解析器与语言服务**:支持 verilog, vhdl, system verilog,性能更快,服务更加稳定。 +**Rewritten Parser and Language Services in Rust**: Supports Verilog, VHDL, and SystemVerilog with faster performance and more stable services. ![](./figures/lsp.png) -**修缮内容的文档化**:提供更加直接快速的,关于当前 HDL 文件的基本信息和依赖信息。支持 wavedrom 风格的注释并支持将其渲染成可视化的图表。 +**Improved Documentation**: Provides more direct and faster access to basic information and dependencies of the current HDL file. Supports Wavedrom-style comments and renders them into visual diagrams. ![](./figures/doc.png) -**新增内容的 Vcd 渲染器**:增加顶部工具栏、系统信标等组件;支持左侧面板选定信号的拖拽、分组等功能、支持按住 shift 连续选中一片信号并进行增加和删除操作;支持基于系统信标建立相对坐标系;顶部工具栏支持选中信号的显示数字的进制转换,渲染模态切换,支持将信号渲染为模拟量。 +**New VCD Renderer**: Added top toolbar, system beacon, and other components; supports drag-and-drop and grouping of selected signals in the left panel, as well as selecting multiple signals by holding Shift for addition and deletion; supports establishing a relative coordinate system based on system beacons; the top toolbar supports base conversion for displayed numbers of selected signals, rendering mode switching, and rendering signals as analog values. ![](./figures/vcd.png) - -- 全新的 Netlist 渲染器 +- Brand New Netlist Renderer ![](./figures/netlist.png) -## Feature -- 增加对于 vhdl 的 全面支持(文件树、LSP等) -- 增加 verilog, vhdl, xdc, tcl, vvp, vcd 等语言或生成文件的工作区图标 -- 增加对于 vivado, modelsim, verilator 的支持,用户可以通过设置 `function.lsp.linter.vhdl.diagnostor`(设置 vhdl) 和 `function.lsp.linter.vlog.diagnostor`(设置 verilog) 来使用这些第三方工具的仿真和自动纠错。 -- 增加对于 TCL, XDC, VVP 等脚本的 LSP 和 语法高亮 支持。 +## Features +- Added comprehensive support for VHDL (file tree, LSP, etc.) +- Added workspace icons for languages or generated files such as Verilog, VHDL, XDC, TCL, VVP, VCD, etc. +- Added support for Vivado, ModelSim, and Verilator. Users can use these third-party tools for simulation and auto-correction by setting `function.lsp.linter.vhdl.diagnostor` (for VHDL) and `function.lsp.linter.vlog.diagnostor` (for Verilog). +- Added LSP and syntax highlighting support for scripts like TCL, XDC, and VVP. -## Change -- 将插件的工作状态显示在 vscode 下侧的状态栏上,利于用户了解目前的设置状态 -- 状态栏右下角现在可以看到目前选择的linter以及是否正常工作了 -- 优化项目配置目录 -- 优化自动补全的性能 +## Changes +- Display the plugin's working status in the status bar at the bottom of VSCode, making it easier for users to understand the current settings. +- The bottom-right corner of the status bar now shows the currently selected linter and whether it is functioning properly. +- Optimized project configuration directory. +- Improved auto-completion performance. -## Bug 修复 -- 修复文档化 input, output 处注释无法正常显示到文档的 bug -- 修复 iverilog 仿真功能中,将重复的路径作为编译参数编译的 bug -- 修复 iverilog 仿真功能中,将 `include 加入或去除后,无法通过仿真编译的 bug (没有更新 instance 的 instModPathStatus 属性) -- 修复其他已知 bug \ No newline at end of file +## Bug Fixes +- Fixed a bug where comments on `input` and `output` were not displayed correctly in the documentation. +- Fixed a bug in the Icarus Verilog simulation feature where duplicate paths were included as compilation parameters. +- Fixed a bug in the Icarus Verilog simulation feature where adding or removing `include would cause simulation compilation to fail (the `instModPathStatus` property of the instance was not updated). +- Fixed other known bugs. \ No newline at end of file diff --git a/README_CN.md b/README_CN.md new file mode 100644 index 0000000..4f231f0 --- /dev/null +++ b/README_CN.md @@ -0,0 +1,51 @@ +
+ + +## Digital IDE | All in one vscode plugin for Verilog/VHDL development + + +[Document (New)](https://nc-ai.cn/en/) | [中文文档 (New)](https://nc-ai.cn/) | [Bilibili Video](https://www.bilibili.com/video/BV1t14y1179V/?spm_id_from=333.999.0.0) + +![](https://img.shields.io/badge/version-0.4.0-purple) +![](https://img.shields.io/badge/Verilog-support-green) +![](https://img.shields.io/badge/VHDL-support-green) +![](https://img.shields.io/badge/SystemVerilog-support-green) + +
+ +## 0.4.0 新增内容 + +**使用 Rust 重写全新的解析器与语言服务**:支持 verilog, vhdl, system verilog,性能更快,服务更加稳定。 + +![](./figures/lsp.png) + +**修缮内容的文档化**:提供更加直接快速的,关于当前 HDL 文件的基本信息和依赖信息。支持 wavedrom 风格的注释并支持将其渲染成可视化的图表。 + +![](./figures/doc.png) + +**新增内容的 Vcd 渲染器**:增加顶部工具栏、系统信标等组件;支持左侧面板选定信号的拖拽、分组等功能、支持按住 shift 连续选中一片信号并进行增加和删除操作;支持基于系统信标建立相对坐标系;顶部工具栏支持选中信号的显示数字的进制转换,渲染模态切换,支持将信号渲染为模拟量。 + +![](./figures/vcd.png) + + +- 全新的 Netlist 渲染器 + +![](./figures/netlist.png) + +## Feature +- 增加对于 vhdl 的 全面支持(文件树、LSP等) +- 增加 verilog, vhdl, xdc, tcl, vvp, vcd 等语言或生成文件的工作区图标 +- 增加对于 vivado, modelsim, verilator 的支持,用户可以通过设置 `function.lsp.linter.vhdl.diagnostor`(设置 vhdl) 和 `function.lsp.linter.vlog.diagnostor`(设置 verilog) 来使用这些第三方工具的仿真和自动纠错。 +- 增加对于 TCL, XDC, VVP 等脚本的 LSP 和 语法高亮 支持。 + +## Change +- 将插件的工作状态显示在 vscode 下侧的状态栏上,利于用户了解目前的设置状态 +- 状态栏右下角现在可以看到目前选择的linter以及是否正常工作了 +- 优化项目配置目录 +- 优化自动补全的性能 + +## Bug 修复 +- 修复文档化 input, output 处注释无法正常显示到文档的 bug +- 修复 iverilog 仿真功能中,将重复的路径作为编译参数编译的 bug +- 修复 iverilog 仿真功能中,将 `include 加入或去除后,无法通过仿真编译的 bug (没有更新 instance 的 instModPathStatus 属性) +- 修复其他已知 bug \ No newline at end of file diff --git a/package.json b/package.json index 0fd74bf..3e15364 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "l10n": "./l10n", "icon": "images/icon.png", "engines": { - "vscode": "^1.94.0" + "vscode": "^1.85.0" }, "keywords": [ "FPGA Develop Support", diff --git a/scripts/vscode-package.py b/scripts/vscode-package.py index d1a5a76..e128ca9 100644 --- a/scripts/vscode-package.py +++ b/scripts/vscode-package.py @@ -107,6 +107,6 @@ pipe.add_command('make vsix installer', 'vsce package') pipe.add_command('modify vsix installer', lambda : modify_vsix()) # pipe.add_command('remove out-js', lambda : remove_folder('out-js')) # pipe.add_command('remove out', lambda : remove_folder('out')) -pipe.add_command('install', lambda : install_extension()) +# pipe.add_command('install', lambda : install_extension()) pipe.run() \ No newline at end of file