Abstract:Veryl, a hardware description language based on SystemVerilog, offers optimized syntax tailored for logic design, ensuring synthesizability and simplifying common constructs. It prioritizes interoperability with SystemVerilog, allowing for smooth integration with existing projects while maintaining high readability. Additionally, Veryl includes a comprehensive set of development support tools, such as package managers and real-time checkers, to boost productivity and streamline the design process. These features empower designers to conduct high-quality hardware design efficiently.
What problem does this paper attempt to address?
This paper attempts to solve a series of problems faced by Hardware Description Languages (HDL) in modern digital circuit design. Specifically, the paper aims to address the following challenges by developing a new hardware description language, Veryl:
1. **Limitations of Traditional HDL**:
- Traditional HDL such as Verilog and VHDL originated in the 1980s and lack advanced abstraction features in modern programming languages (such as object - oriented and functional programming paradigms), which limit code reusability and abstraction capabilities.
- Although SystemVerilog extends the functionality of Verilog, its complexity makes it difficult for EDA tools to fully support and reduces its ease of use.
2. **Confusion between Logic Design and Simulation Constructs**:
- Traditional HDL mixes logic design and simulation constructs, and users need to carefully select appropriate constructs, increasing the difficulty of use.
3. **Lack of Support from Modern Development Tools**:
- Traditional HDL lacks productivity tools provided by modern programming languages (such as auto - formatting, code checkers, etc.), resulting in a difficult development process.
4. **Limitations of the DSL Method**:
- The method of building DSLs (Domain - Specific Languages) using existing programming languages (such as Scala or Python) is limited by the syntax of the underlying language and it is difficult to provide a specialized hardware description syntax.
- When DSL code is converted into Verilog code, due to the high - level abstraction ability of DSL, the generated Verilog code is large in quantity and has significant semantic differences, making it difficult to read and debug.
5. **Complexity of the ASIC Design Flow**:
- The ASIC design flow (such as timing convergence and Front - End - Back - End Mask Engineering Change Order (ECO)) often requires partial modification of Verilog code, and it is very difficult to predict the impact of these modifications from DSL code.
### Veryl's Solutions
To address the above problems, Veryl has been developed as a new hardware description language with the following characteristics:
- **Optimized Syntax**: Based on SystemVerilog keywords, combined with syntax improvements from modern programming languages (such as Rust and Go), ensuring synthesis capabilities and simplifying common constructs.
- **High Interoperability**: Highly compatible with SystemVerilog, allowing for smooth integration into existing projects while maintaining high readability.
- **Powerful Development Support Tools**: Including package managers, real - time checkers, auto - formatting, code checkers, etc., to improve productivity and simplify the design process.
- **Dedicated Clock and Reset Syntax**: Treating clocks and resets as dedicated types, simplifying the clock and reset specifications in `always_ff` declarations.
- **Generic Support**: By introducing generics, enhancing the flexibility of describing modules, interfaces, packages, functions, and structures, and improving code reusability.
- **Compiler and Development Environment Support**: Providing semantic checking, real - time diagnosis, interoperability with SystemVerilog, and library support, comprehensively improving development efficiency.
In summary, Veryl aims to solve the deficiencies of traditional HDL in modern digital circuit design by improving syntax, enhancing tool support, and improving interoperability, thereby achieving efficient and high - quality hardware design.