2.introduction To HDLs
2.introduction To HDLs
Circuit Design
- Circuit Level modeling
Physical Design
- Circuit to layout
Verilog
A modeling language for a very efficient event driven
digital logic simulator.
Used as a specification language for logic synthesis.
Now, one of the two most commonly-used languages
in digital hardware design.
Virtually every chip (FPGA, ASIC, etc.) is designed in
part using one of these two languages.
Combines structural and behavioral modeling styles.
Concurrent Language
Verilog or any HDL has to have the power to model
concurrency which is natural to a piece of hardware.
Pieces of two hardware which are even independent of
each other.
Verilog gives the following constructs for concurrency:
– always – assign – module instantiation – non-
blocking assignments inside a sequential block
Concurrency
The simulating machine is sequential.
No-matter how many processors I have, I can write one
more process which also have to be simulated
concurrently.
So, the processes are scheduled sequentially so that we
have a feeling of parallelism.
Example
Identifiers in Verilog
Any Sequence of letter, digits, dollar sign, underscore.
First character must be a letter or underscore.
It cannot be a dollar sign.
Cannot use characters such as hyphen, brackets, or #
in verilog names
Logic Values
Predefined logic value system or value set : ‘0’, ‘1’ ,’x’
and ‘z’;