Repository navigation
v3.3.0
v3.3.0
New Feature
- Task/Function 参数对齐: task 和 function 的参数列表现在像 module 端口一样进行列对齐(direction、type、bit-width、name 列)
- CLI 独立版本: 新增 svtools.exe 命令行工具,支持文件/stdin 格式化、原地修改(-i)、检查模式(-c)
Downloads
svtools-3.3.0.vsix— VSCode 扩展svtools.exe— Windows CLI 独立版本
Task/Function 格式化对比
Before:
task drive(input int iter,input logic[31:0] base_addr,input logic[31:0] burst_len);After:
task drive (
input int iter ,
input logic [31:0] base_addr,
input logic [31:0] burst_len
);CLI Usage
svtools file.sv # Format and print to stdout
svtools -i file1.sv file2.sv # Format files in place
svtools -c *.sv # Check if files need formatting
svtools --tab-size 2 file.sv # Format with 2-space indentOther Changes
- 新增 example/ 文件夹和 README 格式化示例
- 更新格式化前后对照示例(3 个案例)