Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
advantages
performance – performance is high.
Reliability – it is reliable.
Accuracy – Accuracy is high.
Disadvantages
-Labor intensive and burdened with high cost
-long design time
Top-down process
When relatively short turn-around time and moderate area
performance are
required then top-down approach is well suited for purely digital
design.
advantages
short design time
Labor cost is low
Disadvantages
Accuracy is not so high
Performance is moderate
Steps
-HDL code of a design is written using software provided editor
-it is compiled and simulated to test the expected functionality using
EDA tool.
-Once the functional simulation of a design is completed then the RTL
code of ----the design is synthesized into logic gates using EDA tool.
Syntax used in Verilog HDL are very much similar to those in C
Programming
language.
Identifiers: Identifiers are the names used to give for an object such
as input, output, module etc in the design.
It must start with a letter or underscore (a-z, A-Z, _ ).
Identifiers may contain alphabetic characters, numeric characters, the
underscore, and the dollar sign (a-z, A-Z, 0-9, _ $).
Identifiers can be up to 1024 characters long.
Never use the Verilog keywords as identifier.
Examples of identifiers are: input In1, In2, Out_1, i386A.
Keywords: Verilog has a number of keywords or reserved words
All keywords are used in lower case in the Verilog code.
7 segment
Ans:
This code will take a four bit number and decode it into the seven individual segments to
drive a seven segment display. nIn is the four bit number to be decoded and ssOut is the
array of segments for the display going from a, being the LSB, to g being the MSB.