Altera_Forum
Honored Contributor
14 years agoqmegawiz command line troubles
Hi,
I'm trying to create an altsyncram with the following command: qmegawiz -silent wizard="RAM: 1-PORT" WIDTH_A=8 WIDTHAD_A=8 myram.v However, I get the error message:Error: Incorrect or unknown megafunction RAM: 1-PORT
Error: Megafunction name not known or cannot be found
qmegawiz <file_name>
The last argument to qmegawiz should be the file name.
options:
-help or -h Displays this help
module=<mf_name> Specifies the megafunction name to create
new wrappers from command line
Megafunction parameters and ports can
be specified in the command line
Megafunction name is optional when editing
existing wrappers
entity=<mf_name> same as module=<mf_name>
megafunction=<mf_name> same as module=<mf_name>
wizard=<wizard_name> Specifies the wizard name to create
new wrappers from command line
Wizard name is optional when editing wrappers
plugin=<wizard_name> same as wizard=<wizard_name>
-f:<param_file> Gets parameter assignments and port selections
from the given file.
-p:<working_dir> Sets the default working directory
Megafunction parameters should be specified in the format <par_name>=<value>
Megafunction port usage can be set as <port>=used or <port>=unused
Optional output files generated by the megawizard can be selected/deselected
through the parameter OPTIONAL_FILES.
INST controls the generation of <variation>_inst.v
INC controls the generation of <variation>.inc
CMP controls the generation of <variation>.cmp
BSF controls the generation of <variation>.bsf
BB controls the generation of <variation>_bb.v
WAVE controls the generation of sample waveform file(s)
(wherever the wizard supports it)
SIM_NETLIST controls the generation of simulation netlist file
(wherever the wizard supports it)
SYNTH_NETLIST controls the generation of synthesis netlist file
(wherever the wizard supports it)
ALL generates all the applicable optional files
NONE disables the generation of all optional files
The above values when preceded by a '-' disable the generation of the file
Multiple files can be enabled or disabled as shown below
OPTIONAL_FILES=NONE|INC|CMP enables include and component files only
OPTIONAL_FILES=ALL|-INC enables all files except include file
List of megafunctions supported by the qmegawiz command line mode are
altclkctrl
altfp_sincos
altfp_matrix_mult
altfp_mult
scfifo
altiobuf_bidir
altfp_abs
alt4gxb
altlvds_tx
altfp_inv
altecc_decoder
altiobuf_in
altfp_matrix_inv
altmult_accum
altlvds_rx
altfp_add_sub
altmult_complex
altddio_bidir
altddio_out
altasmi_parallel
altfp_log
altotp
alt_c3gxb
altiobuf_out
altfp_inv_sqrt
altecc_encoder
altfp_div
altfp_compare
altfp_exp
altfp_sqrt
altfp_convert
alttemp_sense
dcfifo
altshift_taps
altsyncram
alt2gxb
altddio_in
altpll
altremote_update
altpll_reconfig
However when I try: qmegawiz -silent wizard="RAM: 1-PORT" myram.v It seems to create the ram with default values (ie it works). Does anyone know what my problem is? Thank you, Kevin