Treffer: FT-Format: 一种可配置的硬件代码快速格式化工具.

Title:
FT-Format: 一种可配置的硬件代码快速格式化工具.
Alternate Title:
FT-Format: A configurable hardware code fast formatting tool.
Authors:
陈桂湘1,2, 刘胜1,2 liusheng83@nudt.edu.cn, 郭阳1,2
Source:
Computer Engineering & Science / Jisuanji Gongcheng yu Kexue. Jun2025, Vol. 47 Issue 6, p958-967. 10p.
Database:
Academic Search Index

Weitere Informationen

Ensuring proper format of hardware code is easily overlooked but crucial in integrated circuit design as it directly impacts code readability and maintainability. While existing formatting tools. have gained widespread application, they do have inherent limitations, especially for hardware description languages. To bridge this gap, after evaluating mainstream formatting tools, this paper proposes FT-Format, a Python-based hardware code formatting tool that enables efficient and rapid formatting while allowing user-customizable adjustments. To quantitatively assess the tool's processing quality, two self-checking algorithms for error formats are designed. Experimental results demonstrate that FT-Format achieves an impressive average processing speed of 25 381 lines of code per second, and successfully passes validation via the self-checking algorithms. Furthermore, equivalence verification. confirms that FT-Format maintains the logical consistency of hardware code throughout the formatting process. [ABSTRACT FROM AUTHOR]

在集成电路设计领域, 规范硬件代码的格式是容易被忽視但至关重要的, 它直接影响代码的可读性和可维护性。虽然现有的代码格式化工具已得到广泛应用, 但它们确实存在固有的局限, 尤其是对于硬件描述语言支持度不高。为了弥补这一缺陷, 对主流的格式化工具进行评估后提出了基于Python 语言的硬件代码格式化工具FT-Format, 实现了快速高效的格式化处理流程并且允许用户自定义调整格式化过程。为了定量评估工具的处理质量, 设计了 2 种错误格式自检算法。结果表明, FT-Format 平均每秒可处理 25381 行代码, 并通过了错误格式自检算法的验证, 进一步等价性验证的结果证明 FT-Format 维持了硬件代码处理前后的逻辑一致性。 [ABSTRACT FROM AUTHOR]