What is the difference between the specparam and parameter constructs?
Specparam is a special kind of parameter which is intended to specify only timing and the delay values. Key differences in using the specparam and the parameter constructs are:
Specparam
|
Parameter
|
Can be defined within both module and specify block.
|
Must be defined outside of the specify block and within module.
|
A specparam can be assigned using another
specparam or parameter or combination of both.
|
Parameter can't be assigned the value of a specparam.
|
Value overridden using SDF annotation.
|
Can be overridden during instantiation or using defparam.
|