CONTACT MLE
Please fill in the form and your requirements below, and our team will contact you soon.


    AMD (Xilinx)Altera (Intel)LatticeMicrochip (MicroSemi)Other


    *By submitting this form you are consenting to being contacted by the MLE via email and receiving marketing information.

    X
    CONTACT MLE

    MLE NPAP Network Administration

    Managing a network infrastructure commonly involves setting IPv4 addresses, managing TCP sessions, and inspecting hardware statistics. In a standard Linux environment, these tasks are typically performed using command-line tools that interact with the software-based network stack and NIC hardware. With MLE NPAP, similar configurations are possible in two distinct ways.

    You can parameterize MLE NPAP using a wide range of compile-time parameters in HDL. 

    Or, you can use run-time parameterization via MLE NPAP’s Python-based software which comprises the NPAP Hardware Abstraction Layer (HAL) python package and the command-line tool (npap-admin). This software interfaces is used in almost all Evaluation Reference Designs (ERD) which cover all options such adminstration via UART, I2C or PCIe, making it easy to adopt MLE NPAP to your use case (see MLE NPAP Control-Flow View and Hardware Abstraction Layer). 

    NPAP HAL utilizes the NPAP ERD’s AXI4-lite register interface to provide a wide range of runtime parameterizations. These include network administration tasks such as setting the IPv4 or MAC address and configuring TCP/UDP sessions, as well as testing and diagnostic functions such as setting up throughput tests with the data generator checker or the Netperf IP core or managing the kernel’s diagnostic blocks.

    In an NPAP ERD (and most likely within your design as well) the local IPv4 and MAC address is configured on a per NPAP instance and applies to all TCP and UDP sessions within that same NPAP instance. 

    To demonstrate the simplicity of using NPAP HAL and the Python script npap-admin the following example shows how to configure the IPv4 and MAC address of an NPAP subsystem. 

    First you write a YAML configuration file as follows:

    Textproto
    boards:
    - name: "example-board-name"
    port: "/dev/ttyUSBX"
    baudrate: 115200

    instances:
    - name: "Instance 1"
    local_ip: "192.168.2.12"
    mac: "02:0A:35:08:00:01"
    sessions: []

    Then, you execute the Python script npap-admin.  This example YAML configuration file sets the MAC and IPv4 address of the first NPAP instance on the board:

    Shell
    npap_admin <path to YAML configuration file>

    The correct configuration can then be checked by pinging the configured IPv4 address, since NPAP responds to ICMP echo requests.

    Please refer to MLE NPAP ERDs.