Visible to Intel only — GUID: mwh1409958795374
Ixiasoft
Visible to Intel only — GUID: mwh1409958795374
Ixiasoft
3.3.8.3. Specify Files for Simulation in the Component Editor
You can choose to generate Verilog or VHDL simulation files. In most cases, these files are the same as the synthesis files. If there are simulation-specific HDL files or simulation models, you can use them in addition to, or in place of the synthesis files. To use your synthesis files as your simulation files, click Copy From Synthesis Files on the Files tab in the Platform Designer Component Editor.
You specify the simulation files in a similar way as the synthesis files with the fileset commands in a _hw.tcl file. The code example below shows SIM_VERILOG and SIM_VHDL filesets for Verilog and VHDL simulation output files. In this example, the same Verilog files are used for both Verilog and VHDL outputs, and there is one additional SystemVerilog file added. This method works for designers of Verilog IP to support users who want to generate a VHDL top-level simulation file when they have a mixed-language simulation tool and license that can read the Verilog output for the component.
_hw.tcl Created from Entries in the Files tab in the Simulation Files Section
add_fileset SIM_VERILOG SIM_VERILOG "" "" set_fileset_property SIM_VERILOG TOP_LEVEL demo_axi_memory add_fileset_file single_clk_ram.v VERILOG PATH single_clk_ram.v add_fileset_file verbosity_pkg.sv SYSTEM_VERILOG PATH \ verification_lib/verbosity_pkg.sv add_fileset_file demo_axi_memory.sv SYSTEM_VERILOG PATH \ demo_axi_memory.sv add_fileset SIM_VHDL SIM_VHDL "" "" set_fileset_property SIM_VHDL TOP_LEVEL demo_axi_memory set_fileset_property SIM_VHDL ENABLE_RELATIVE_INCLUDE_PATHS false add_fileset_file demo_axi_memory.sv SYSTEM_VERILOG PATH \ demo_axi_memory.sv add_fileset_file single_clk_ram.v VERILOG PATH single_clk_ram.v add_fileset_file verbosity_pkg.sv SYSTEM_VERILOG PATH \ verification_lib/verbosity_pkg.sv