P
Paul Huntley
Guest
Hi,
Trying to figure the best way to include global parameters for a large
design. We are using 'include <parameter_file_name>.
We note that if this line resides after the module statement, then the
scope of the parameters is local to that module, as expected.
However, if that line is *before* the module statement, then the scope
of the parameters is that module, and any module instantiated therein,
as well.
We further note that our compiler (VCS) requires a plusarg, +sysver for
this second method to compile.
My question, is this a synthesizable technique to flow parameters down
through the hierarchy, or is it a SystemVerilog construct only, and
therefore not synthesizable?
Appreciate any thoughts or discussion on the topic...thanks in advance.
Regards,
Paul Huntley
San Jose, CA
paulh@lunarcoons.com
Trying to figure the best way to include global parameters for a large
design. We are using 'include <parameter_file_name>.
We note that if this line resides after the module statement, then the
scope of the parameters is local to that module, as expected.
However, if that line is *before* the module statement, then the scope
of the parameters is that module, and any module instantiated therein,
as well.
We further note that our compiler (VCS) requires a plusarg, +sysver for
this second method to compile.
My question, is this a synthesizable technique to flow parameters down
through the hierarchy, or is it a SystemVerilog construct only, and
therefore not synthesizable?
Appreciate any thoughts or discussion on the topic...thanks in advance.
Regards,
Paul Huntley
San Jose, CA
paulh@lunarcoons.com