Digital System Design-Module03-Basic Verilog Concepts (1)
Digital System Design-Module03-Basic Verilog Concepts (1)
• Define the logic value set and data types such as nets, registers, vectors, numbers,
simulation time, arrays, parameters, memories, and strings
• Identify useful system tasks for displaying and monitoring information, and for
stopping and finishing the simulation
• Lexical Conventions
• Data Types
• System Tasks
• Compiler Directives
• The basic lexical conventions used by Verilog HDL are similar to those
in the C programming language.
• Verilog HDL is a case-sensitive language.
• All keywords are in lowercase
• Sized
• Unsized
• Sized Numbers
They are represented as <size> '<base format> <number>.
• <size> is written only in decimal and specifies the
number of bits in the number
• Legal <base formats> are decimal ('d or 'D),
hexadecimal ('h or 'H), binary ('b or 'B) and octal ('o or
'O)
• <number> is specified as consecutive digits from 0, 1,
2, 3, 4, 5, 6, 7, 8, 9, a, b, c, d, e, f.
Digital System Design EE-474 (Fall 2020) 13
Sized Number (Example)