Device Family: Intel® Arria® 10 GX

Type: Answers

Area: EMIF, Intellectual Property


IP Product: DDR4 Hilo Daughter Card

How can I change the test loop count of the Arria10 EMIF IP example driver?

Description

To change the test loop count for the Arria 10 EMIF IP example driver, make the following edits:

  • Open the altera_emif_avl_tg_driver.sv file in the <working_dir>/emif_<instance_num>_example_design/qii/altera_emif_tg_avl_<acds_version>/synth/ directory
  • Search for the TG_NUM_DRIVER_LOOP parameter and change
     from
     parameter TG_NUM_DRIVER_LOOP  = (TG_TEST_DURATION == "INFINITE") ? 0    : (
                                      (TG_TEST_DURATION == "MEDIUM")   ? 1000 : (
                                      (TG_TEST_DURATION == "SHORT")    ? 1    : (
                                                                       1      ))),
    to  
    parameter TG_NUM_DRIVER_LOOP =  <desired loop count>, 
                   
    TG_NUM_DRIVER_LOOP specifies the maximum number of loops through the driver patterns before asserting test complete. A setting of 0 will cause the driver to loop infinitely.

Workaround/Fix