Encore SIM EDITOR SOFTWARE Guida Utente Pagina 121

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 149
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 120
3-13
Compiling and Elaborating Your Design
-pvalue
-parameters
You specify a parameter with the -pvalue option. It has the following
syntax:
vcs -pvalue+hierarchical_name_of_parameter=value
For example:
vcs source.v -pvalue+test.d1.param1=33
You specify a file with the -parameters option. The file contains
command lines for changing values. A line in the file has the following
syntax:
assign value path_to_the_parameter
Here:
assign
Keyword that starts a line in the file.
value
New value of the parameter.
path_to_the_parameter
Hierarchical path to the parameter. This entry is similar to a Verilog
hierarchical name except that you use forward slash characters
(/), instead of periods, as the delimiters.
The following is an example of the contents of this file:
assign 33 test/d1/param1
assign 27 test/d1/param2
Vedere la pagina 120
1 2 ... 116 117 118 119 120 121 122 123 124 125 126 ... 148 149

Commenti su questo manuale

Nessun commento