Altera_Forum
Honored Contributor
13 years agospecify generic parameter from quartus
Hi all.
I am using Quartus II 64-Bit Version 10.1 Build 153 11/29/2010 SJ Full Version. I am working on a design with a bunch of altdpram and I use MIF files to initialize the content of those memories. I would like to be able to compile my design with various sets of MIF files. How can I set the 'lpm_file' generic parameter of the altdpram from a qsf (the idea being to generate qsf using a script). Here are the full names of the altdpram of which I need to set the 'lpm_file' parameter: --- Quote Start --- |lse_tp_lq2|lse_core_tp_lq2:lse_core_tp_lq2_inst|level_processor:level_processor_inst|level_book_command_generator:hlb_command_generator|tick_generator:refill_generator|altdpram:\tick_table:1:tick_table_ram| |lse_tp_lq2|lse_core_tp_lq2:lse_core_tp_lq2_inst|level_processor:level_processor_inst|level_book_command_generator:hlb_command_generator|tick_generator:refill_generator|altdpram:\tick_table:2:tick_table_ram| |lse_tp_lq2|lse_core_tp_lq2:lse_core_tp_lq2_inst|level_processor:level_processor_inst|level_book_command_generator:hlb_command_generator|tick_generator:refill_generator|altdpram:\tick_table:3:tick_table_ram| |lse_tp_lq2|lse_core_tp_lq2:lse_core_tp_lq2_inst|level_processor:level_processor_inst|level_book_command_generator:hlb_command_generator|tick_generator:refill_generator|altdpram:\tick_table:4:tick_table_ram| |lse_tp_lq2|lse_core_tp_lq2:lse_core_tp_lq2_inst|level_processor:level_processor_inst|level_book_command_generator:hlb_command_generator|tick_generator:refill_generator|altdpram:\tick_table:5:tick_table_ram| |lse_tp_lq2|lse_core_tp_lq2:lse_core_tp_lq2_inst|level_processor:level_processor_inst|level_book_command_generator:hlb_command_generator|tick_generator:refill_generator|altdpram:\tick_table:6:tick_table_ram| |lse_tp_lq2|lse_core_tp_lq2:lse_core_tp_lq2_inst|level_processor:level_processor_inst|level_book_command_generator:hlb_command_generator|tick_generator:refill_generator|altdpram:\tick_table:7:tick_table_ram| |lse_tp_lq2|lse_core_tp_lq2:lse_core_tp_lq2_inst|level_processor:level_processor_inst|level_book_command_generator:hlb_command_generator|tick_generator:refill_generator|altdpram:\tick_table:8:tick_table_ram| |lse_tp_lq2|lse_core_tp_lq2:lse_core_tp_lq2_inst|level_processor:level_processor_inst|level_book_command_generator:hlb_command_generator|tick_generator:refill_generator|altdpram:\tick_table:9:tick_table_ram| |lse_tp_lq2|lse_core_tp_lq2:lse_core_tp_lq2_inst|level_processor:level_processor_inst|level_book_command_generator:hlb_command_generator|tick_generator:refill_generator|altdpram:\tick_table:10:tick_table_ram| |lse_tp_lq2|lse_core_tp_lq2:lse_core_tp_lq2_inst|level_processor:level_processor_inst|level_book_command_generator:hlb_command_generator|tick_generator:refill_generator|altdpram:\tick_table:11:tick_table_ram| |lse_tp_lq2|lse_core_tp_lq2:lse_core_tp_lq2_inst|level_processor:level_processor_inst|level_book_command_generator:hlb_command_generator|tick_generator:refill_generator|altdpram:\tick_table:12:tick_table_ram| |lse_tp_lq2|lse_core_tp_lq2:lse_core_tp_lq2_inst|level_processor:level_processor_inst|level_book_command_generator:hlb_command_generator|tick_generator:refill_generator|altdpram:\tick_table:13:tick_table_ram| |lse_tp_lq2|lse_core_tp_lq2:lse_core_tp_lq2_inst|level_processor:level_processor_inst|level_book_command_generator:hlb_command_generator|tick_generator:refill_generator|altdpram:\tick_table:14:tick_table_ram| |lse_tp_lq2|lse_core_tp_lq2:lse_core_tp_lq2_inst|level_processor:level_processor_inst|level_book_command_generator:hlb_command_generator|tick_generator:refill_generator|altdpram:\tick_table:15:tick_table_ram| |lse_tp_lq2|lse_core_tp_lq2:lse_core_tp_lq2_inst|level_processor:level_processor_inst|level_book_command_generator:hlb_command_generator|tick_generator:refill_generator|altdpram:\tick_table:16:tick_table_ram| |lse_tp_lq2|lse_core_tp_lq2:lse_core_tp_lq2_inst|level_processor:level_processor_inst|level_book_command_generator:hlb_command_generator|tick_generator:refill_generator|altdpram:\tick_table:17:tick_table_ram| |lse_tp_lq2|lse_core_tp_lq2:lse_core_tp_lq2_inst|level_processor:level_processor_inst|top_of_book:tob|top_of_book_pipeline:tob_pipeline|altdpram:instrument_data_ram| |lse_tp_lq2|lse_core_tp_lq2:lse_core_tp_lq2_inst|level_processor:level_processor_inst|top_of_book:tob|top_of_book_pipeline:tob_pipeline|altdpram:decross_enable_ram| --- Quote End --- edit: weird... with the 'quote' tags, a space is inserted every 50 characters of the lines... Thanks!! Julien