Verible Formatter:高效格式化SystemVerilog和Verilog文件的利器
Verible Formatter是一款专为SystemVerilog和Verilog文件设计的格式化工具,帮助开发者快速整理和美化代码,提升开发效率。
扩展设置:
Verible Formatter扩展提供了以下设置选项:
使用示例:
以下是使用Verible Formatter的步骤(适用于verible版本v0.0-2152-gdd5e91a4):
--assignment_statement_alignment=align
--case_items_alignment=align
--class_member_variable_alignment=align
--compact_indexing_and_selections=true
--distribution_items_alignment=align
--enum_assignment_statement_alignment=align
--expand_coverpoints=true
--formal_parameters_alignment=align
--formal_parameters_indentation=indent
--module_net_variable_alignment=align
--named_parameter_alignment=align
--named_parameter_indentation=indent
--named_port_alignment=align
--named_port_indentation=indent
--port_declarations_alignment=align
--port_declarations_indentation=indent
--port_declarations_right_align_packed_dimensions=true
--port_declarations_right_align_unpacked_dimensions=true
--struct_union_members_alignment=align
--try_wrap_long_lines=false
通过Verible Formatter,您可以轻松实现SystemVerilog和Verilog代码的自动格式化,提升代码的可读性和维护性。
本站所有资源都是由网友投稿发布,或转载各大下载站, 请自行检测软件的完整性!
本站所有资源仅供学习与参考,请勿用于商业用途,否则 产生的一切后果将由您自己承担!
如有侵权请联系我们删除下架,联系方式:study_golang@163.com