External Memory Interfaces (EMIF) IP User Guide: Agilex™ 5 FPGAs and SoCs

ID 817467
Date 3/31/2025
Public
Document Table of Contents

13.4.1.2. mb_user_input.tcl

This topic provides guidance for entering input using the mb_user_input.tcl script.

Follow these steps to perform function calls:

  1. Identify the registers you want to access. Refer to the Read-Only Registers and Command Definitions tables for details.
  2. Refer to the tables in the mb_iossm_command.tcl topic for the required arguments.
  3. Call the respective functions with the necessary arguments, following the format below:
    <function name> <lists of arguments separated by spaces>

    Example 1: Accessing MEM_INTF_INFO_0 read-only register.

    Function call: intf_info calip_0

    Example 2: Accessing ECC_INJECT_ERROR mailbox command register.

    Function call: mb_ecc_inject_error calip_0 0x1 0x0 0xf4

    Example 3: Accessing ECC_ENABLE_SET mailbox command register.

    Function call: mb_ecc_enable_set calip_0 0x1 0x0 0x2