top of page

4. Lexical Conventions

  • Any Verilog HDL source code is created with the combination of IDENTIFIERS and KEYWORDS which are also called as SYNTAX/SEMANTICS. These are globally called lexical tokens. Combination of more than one lexical token originate LEXICAL CONVENTIONS.

  • Lexical conventions are set of important methods and techniques to write and understand the Verilog HDL code with ease. ​

  • Lexical tokens in Verilog HDL are given below:

4.1 white space requirements

4.2 comment implementation

4.3 operator usage

4.4 number representation

4.5 string handling

4.6 identifier declaration

4.7 keyword usage

RTL Design

White space requirements

© Copyright 2025 VLSI Mentor. All Rights Reserved.©

Connect with us

  • Instagram
  • Facebook
  • Twitter
  • LinkedIn
  • YouTube
bottom of page