Knowledge Base Article

Errors in .mif File Names in CPRI IP Core Auto-Rate Negotiation Testbenches

Description

The Memory Initialization File (.mif) names in the ROM files included in the auto-rate negotiation testbenches for the CPRI MegaCore function do not match the generated file names. You can fix this error manually and run the testbenches.

This issue affects only the tb_altera_cpri_autorate and tb_altera_cpri_c4gx_autorate customer demonstration testbenches.

The tb_altera_cpri_autorate and tb_altera_cpri_c4gx_autorate customer demonstration testbenches cannot simulate.

Resolution

To avoid this issue, before simulating the tb_altera_cpri_autorate or tb_altera_cpri_c4gx_autorate testbench, edit the following files to remove the string alt<chars>gxb from the .mif file names:

  • rom_stratix4gx_<rate>_m.v
  • rom_stratix4gx_<rate>_m.vhd
  • rom_cyclone4gx_<rate>_m.v
  • rom_cyclone4gx_<rate>_m.vhd

The Testbenches chapter in the CPRI MegaCore Function User Guide tells you do this only in the .vhd files. However, this step is necessary in the .v files as well.

The tb_altera_cpri_autorate testbench uses the rom_stratix4gx files, and the tb_altera_cpri_c4gx_autorate testbench uses the rom_cyclone4gx files.

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

Updated 3 months ago
Version 3.0
No CommentsBe the first to comment