Knowledge Base Article

CPRI MegaCore Function Testbench tb_altera_cpri.vhd Does Not Simulate

Description

The testbench tb_altera_cpri does not simulate in VHDL because of an error in the compile_vhdl.do file. You can fix this error manually and run the testbench.

This issue affects only the tb_altera_cpri customer demonstration testbench in VHDL.

The tb_altera_cpri customer demonstration testbench cannot simulate in VHDL.

Resolution

To avoid this issue, before simulating the tb_altera_cpri testbench, follow these steps:

  1. Open the testbench compile_vhdl.do file in a text editor.
  2. Replace the line
  3. vcom -work altera_mf -93 -explicit altera_mf_components.vhd

    with

    vcom -work altera_mf -93 -explicit lib/altera_mf_components.vhd

This issue is fixed in version 10.1 SP1 of the CPRI MegaCore function.

Updated 1 month ago
Version 2.0
No CommentsBe the first to comment