Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

Generating Dual Port RAM in Megawizard using Command Line

Hello,

I'm trying to generate dual port ram in megawizard using command line. I would like to use dual clock with seperate "input" & "output" clocks.

I use the command "qmegawiz -silent module=altsyncram -f: dualportram_params.txt mydualportram.v".

dualportram_params.txt

address_aclr_b=NONE

address_reg_b=CLOCK0

clock_enable_input_a=BYPASS

clock_enable_input_b=BYPASS

clock_enable_output_b=BYPASS

intended_device_family="Stratix"

lpm_type=altsyncram

numwords_a=32

numwords_b=32

operation_mode=DUAL_PORT

outdata_aclr_b=NONE

outdata_reg_b=CLOCK1

power_up_uninitialized=FALSE

read_during_write_mode_mixed_ports=DONT_CARE

widthad_a=5

widthad_b=5

width_a=8

width_b=8

width_byteena_a=1

clock1=used

I get this error message.

Error: The specified megafunction or wizard is not supported in command line mode.

Parameter OUTDATA_REG_B has been assigned the value CLOCK1 which is incompatible with the current settings of ADDRESS_REG_B<CLOCK0>. The legal value is CLOCK0:UNREGISTED.

I suspect my parameter lists got problem. But i don't know how to correct it?

Can anyone help to correct it ??? I need to to generate dualport ram with 2 seperate input & output clocks.

Appreciate anyone's help.

Thanks...

No RepliesBe the first to reply