Escolar Documentos
Profissional Documentos
Cultura Documentos
DISADVANTAGES OF VERILOGS
MODULE PORTS
Declarations must be duplicated in
multiple modules.
Communication protocols must be
duplicated in several modules.
There is a risk of mismatched
declarations in different modules.
A change in the design specification
can require modifications in multiple
modules.
EXAMPLE
Interface Definitions
Top-level Netlist
I/F DECLARATIONS
interfaces are defined in a similar way as
modules
An interface can have ports, just as a
module does.
This allows signals that are external to the
interface, such as a clock or reset line, to be
brought into the interface and become part
of the bundle of signals represented by the
interface.
SystemVerilog greatly simplifies netlists
another interface
This capability allows one interface to be
or more sub-busses.
I/F MODPORTS
modports define interface
connections from the perspective
of the module
RECONFIGURABLE I/Fs
Interfaces can use parameter redefinition and
generate statements, in the same way as
modules.
This allows interface models to be defined that
can be reconfigured each time an interface is
instantiated.
interfaces can use parameters, the same as
modules