# opencomputeproject/hwmgmt-module-dcscm-ltpi architecture

> Architecture diagram of the GitHub repository opencomputeproject/hwmgmt-module-dcscm-ltpi, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-14). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/opencomputeproject/hwmgmt-module-dcscm-ltpi
- Repository: https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi

## Overview

This repository implements standalone LTPI IP for the SCM and HPM roles, compliant with the DC-SCM LTPI specification. The principal workflow is link bring-up and management-frame exchange between controller and target, carrying management and data-channel traffic to the connected system interfaces. The tree also identifies physical-layer, CSR, clocking, and Quartus integration capabilities. Runtime source excerpts were not provided, so internal connections shown here are dashed and unverified; the README documents the product scope, but not detailed module call paths.

Main entry points: [`rtl/modules/mgmt_ltpi/mgmt_ltpi_top/mgmt_ltpi_top.sv`](https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/modules/mgmt_ltpi/mgmt_ltpi_top/mgmt_ltpi_top.sv) (Management LTPI), [`rtl/modules/mgmt_ltpi/mgmt_phy/mgmt_phy_top.sv`](https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/modules/mgmt_ltpi/mgmt_phy/mgmt_phy_top.sv) (Management PHY), [`rtl/modules/mgmt_ltpi/mgmt_interface/mgmt_data_channel_controller.sv`](https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/modules/mgmt_ltpi/mgmt_interface/mgmt_data_channel_controller.sv) (Management Channels), [`rtl/modules/mgmt_ltpi/mgmt_interface/mgmt_smbus.sv`](https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/modules/mgmt_ltpi/mgmt_interface/mgmt_smbus.sv) (SMBus Management)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_endpoints["LTPI Endpoints"]
  node_controller_top["Controller Top"]
  node_target_top["Target Top<br/>[ltpi_top_target.sv]"]
end

subgraph group_link["Link and PHY"]
  node_mgmt_top["Management LTPI<br/>[mgmt_ltpi_top.sv]"]
  node_phy_top["Management PHY<br/>[mgmt_phy_top.sv]"]
  node_controller_phy["Controller Link FSM"]
  node_target_phy["Target Link FSM<br/>[mgmt_phy_target.sv]"]
  node_frame_tx["Frame Transmitter"]
  node_frame_rx["Frame Receiver"]
  node_ltpi_tx["LTPI PHY TX<br/>[ltpi_phy_tx.sv]"]
  node_ltpi_rx["LTPI PHY RX<br/>[ltpi_phy_rx.sv]"]
  node_lvds_tx["LVDS PHY TX<br/>[lvds_phy_tx.sv]"]
  node_lvds_rx["LVDS PHY RX<br/>[lvds_phy_rx.sv]"]
end

subgraph group_channels["Management Channels"]
  node_data_ctrl["Data Channel Controller"]
  node_data_target["Data Channel Target"]
  node_mgmt_channels["Management Channels"]
  node_gpio["GPIO Management<br/>[mgmt_gpio.sv]"]
  node_uart["UART Management<br/>[mgmt_uart.sv]"]
  node_smbus["SMBus Management<br/>[mgmt_smbus.sv]"]
  node_smbus_relay_ctrl["SMBus Relay Controller"]
  node_smbus_relay_target["SMBus Relay Target"]
  node_csr_avmm["CSR AVMM Bridge<br/>[ltpi_csr_avmm.sv]"]
  node_csr_full["Full CSR Block<br/>[ltpi_csr.sv]"]
  node_csr_light["Light CSR Block<br/>[ltpi_csr_light.sv]"]
end

subgraph group_platform["Platform Integration"]
  node_controller_hw["Controller Board Wrapper"]
  node_target_hw["Target Board Wrapper"]
  node_pll["Clock Generation<br/>[m10_pll_top.sv]"]
end

node_controller_device(("SCM System"))
node_target_device(("HPM System"))

node_controller_device -.->|"connects to"| node_controller_hw
node_controller_hw -.->|"integrates"| node_controller_top
node_target_device -.->|"connects to"| node_target_hw
node_target_hw -.->|"integrates"| node_target_top
node_controller_top -.->|"uses"| node_mgmt_top
node_target_top -.->|"uses"| node_mgmt_top
node_mgmt_top -.->|"uses"| node_phy_top
node_phy_top -.->|"includes"| node_controller_phy
node_phy_top -.->|"includes"| node_target_phy
node_phy_top -.->|"uses"| node_frame_tx
node_phy_top -.->|"uses"| node_frame_rx
node_frame_tx -.->|"transmits through"| node_ltpi_tx
node_ltpi_rx -.->|"feeds frames"| node_frame_rx
node_ltpi_tx -.->|"uses"| node_lvds_tx
node_lvds_rx -.->|"feeds data"| node_ltpi_rx
node_mgmt_top -.->|"carries channel"| node_data_ctrl
node_mgmt_top -.->|"carries channel"| node_data_target
node_mgmt_top -.->|"routes management"| node_mgmt_channels
node_mgmt_channels -.->|"supports"| node_gpio
node_mgmt_channels -.->|"supports"| node_uart
node_mgmt_channels -.->|"supports"| node_smbus
node_smbus -.->|"relays"| node_smbus_relay_ctrl
node_smbus -.->|"relays"| node_smbus_relay_target
node_mgmt_top -.->|"exposes CSR access"| node_csr_avmm
node_csr_avmm -.->|"accesses"| node_csr_full
node_csr_avmm -.->|"accesses"| node_csr_light
node_controller_hw -.->|"uses clocks"| node_pll
node_target_hw -.->|"uses clocks"| node_pll

click node_controller_top "https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/ltpi_top/ltpi_top_controller/ltpi_top_controller.sv"
click node_target_top "https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/ltpi_top/ltpi_top_target/ltpi_top_target.sv"
click node_controller_hw "https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/ltpi_top_quartus/ltpi_top_controller_quartus/ltpi_top_controller_quartus.sv"
click node_target_hw "https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/ltpi_top_quartus/ltpi_top_target_quartus/ltpi_top_target_quartus.sv"
click node_mgmt_top "https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/modules/mgmt_ltpi/mgmt_ltpi_top/mgmt_ltpi_top.sv"
click node_phy_top "https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/modules/mgmt_ltpi/mgmt_phy/mgmt_phy_top.sv"
click node_controller_phy "https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/modules/mgmt_ltpi/mgmt_phy/mgmt_phy_controller/mgmt_phy_controller.sv"
click node_target_phy "https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/modules/mgmt_ltpi/mgmt_phy/mgmt_phy_target/mgmt_phy_target.sv"
click node_frame_tx "https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/modules/mgmt_ltpi/mgmt_phy/mgmt_ltpi_frm_tx/mgmt_ltpi_frm_tx.sv"
click node_frame_rx "https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/modules/mgmt_ltpi/mgmt_phy/mgmt_ltpi_frm_rx/mgmt_ltpi_frm_rx.sv"
click node_ltpi_tx "https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/modules/mgmt_ltpi/ltpi_phy_tx/ltpi_phy_tx.sv"
click node_ltpi_rx "https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/modules/mgmt_ltpi/ltpi_phy_rx/ltpi_phy_rx.sv"
click node_lvds_tx "https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/modules/mgmt_ltpi/lvds_phy_tx/lvds_phy_tx.sv"
click node_lvds_rx "https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/modules/mgmt_ltpi/lvds_phy_rx/lvds_phy_rx.sv"
click node_data_ctrl "https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/modules/mgmt_ltpi/mgmt_interface/ltpi_data_channel_controller/ltpi_data_channel_controller_mm.sv"
click node_data_target "https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/modules/mgmt_ltpi/mgmt_interface/ltpi_data_channel_target/ltpi_data_channel_target.sv"
click node_mgmt_channels "https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/modules/mgmt_ltpi/mgmt_interface/mgmt_data_channel_controller.sv"
click node_gpio "https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/modules/mgmt_ltpi/mgmt_interface/mgmt_gpio.sv"
click node_uart "https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/modules/mgmt_ltpi/mgmt_interface/mgmt_uart.sv"
click node_smbus "https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/modules/mgmt_ltpi/mgmt_interface/mgmt_smbus.sv"
click node_smbus_relay_ctrl "https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/modules/smbus_relay/smbus_relay_controller/smbus_relay_controller.sv"
click node_smbus_relay_target "https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/modules/smbus_relay/smbus_relay_target/smbus_relay_target.sv"
click node_csr_avmm "https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/modules/CSR/ltpi_csr_avmm/ltpi_csr_avmm.sv"
click node_csr_full "https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/modules/CSR/RDL/ltpi_csr.sv"
click node_csr_light "https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/modules/CSR/RDL/ltpi_csr_light.sv"
click node_pll "https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/modules/CLOCK_MGMT/m10_pll_top/m10_pll_top.sv"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_controller_top,node_target_top toneBlue
class node_mgmt_top,node_phy_top,node_controller_phy,node_target_phy,node_frame_tx,node_frame_rx,node_ltpi_tx,node_ltpi_rx,node_lvds_tx,node_lvds_rx toneAmber
class node_data_ctrl,node_data_target,node_mgmt_channels,node_gpio,node_uart,node_smbus,node_smbus_relay_ctrl,node_smbus_relay_target,node_csr_avmm,node_csr_full,node_csr_light toneMint
class node_controller_hw,node_target_hw,node_pll toneRose
class node_controller_device,node_target_device toneIndigo
```

## Components

### LTPI Endpoints

- [Controller Top](https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/ltpi_top/ltpi_top_controller/ltpi_top_controller.sv): `rtl/ltpi_top/ltpi_top_controller/ltpi_top_controller.sv`
- [Target Top](https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/ltpi_top/ltpi_top_target/ltpi_top_target.sv): `rtl/ltpi_top/ltpi_top_target/ltpi_top_target.sv`

### Link and PHY

- [Management LTPI](https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/modules/mgmt_ltpi/mgmt_ltpi_top/mgmt_ltpi_top.sv): `rtl/modules/mgmt_ltpi/mgmt_ltpi_top/mgmt_ltpi_top.sv`
- [Management PHY](https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/modules/mgmt_ltpi/mgmt_phy/mgmt_phy_top.sv): `rtl/modules/mgmt_ltpi/mgmt_phy/mgmt_phy_top.sv`
- [Controller Link FSM](https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/modules/mgmt_ltpi/mgmt_phy/mgmt_phy_controller/mgmt_phy_controller.sv): `rtl/modules/mgmt_ltpi/mgmt_phy/mgmt_phy_controller/mgmt_phy_controller.sv`
- [Target Link FSM](https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/modules/mgmt_ltpi/mgmt_phy/mgmt_phy_target/mgmt_phy_target.sv): `rtl/modules/mgmt_ltpi/mgmt_phy/mgmt_phy_target/mgmt_phy_target.sv`
- [Frame Transmitter](https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/modules/mgmt_ltpi/mgmt_phy/mgmt_ltpi_frm_tx/mgmt_ltpi_frm_tx.sv): `rtl/modules/mgmt_ltpi/mgmt_phy/mgmt_ltpi_frm_tx/mgmt_ltpi_frm_tx.sv`
- [Frame Receiver](https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/modules/mgmt_ltpi/mgmt_phy/mgmt_ltpi_frm_rx/mgmt_ltpi_frm_rx.sv): `rtl/modules/mgmt_ltpi/mgmt_phy/mgmt_ltpi_frm_rx/mgmt_ltpi_frm_rx.sv`
- [LTPI PHY TX](https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/modules/mgmt_ltpi/ltpi_phy_tx/ltpi_phy_tx.sv): `rtl/modules/mgmt_ltpi/ltpi_phy_tx/ltpi_phy_tx.sv`
- [LTPI PHY RX](https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/modules/mgmt_ltpi/ltpi_phy_rx/ltpi_phy_rx.sv): `rtl/modules/mgmt_ltpi/ltpi_phy_rx/ltpi_phy_rx.sv`
- [LVDS PHY TX](https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/modules/mgmt_ltpi/lvds_phy_tx/lvds_phy_tx.sv): `rtl/modules/mgmt_ltpi/lvds_phy_tx/lvds_phy_tx.sv`
- [LVDS PHY RX](https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/modules/mgmt_ltpi/lvds_phy_rx/lvds_phy_rx.sv): `rtl/modules/mgmt_ltpi/lvds_phy_rx/lvds_phy_rx.sv`

### Management Channels

- [Data Channel Controller](https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/modules/mgmt_ltpi/mgmt_interface/ltpi_data_channel_controller/ltpi_data_channel_controller_mm.sv): `rtl/modules/mgmt_ltpi/mgmt_interface/ltpi_data_channel_controller/ltpi_data_channel_controller_mm.sv`
- [Data Channel Target](https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/modules/mgmt_ltpi/mgmt_interface/ltpi_data_channel_target/ltpi_data_channel_target.sv): `rtl/modules/mgmt_ltpi/mgmt_interface/ltpi_data_channel_target/ltpi_data_channel_target.sv`
- [Management Channels](https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/modules/mgmt_ltpi/mgmt_interface/mgmt_data_channel_controller.sv): `rtl/modules/mgmt_ltpi/mgmt_interface/mgmt_data_channel_controller.sv`
- [GPIO Management](https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/modules/mgmt_ltpi/mgmt_interface/mgmt_gpio.sv): `rtl/modules/mgmt_ltpi/mgmt_interface/mgmt_gpio.sv`
- [UART Management](https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/modules/mgmt_ltpi/mgmt_interface/mgmt_uart.sv): `rtl/modules/mgmt_ltpi/mgmt_interface/mgmt_uart.sv`
- [SMBus Management](https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/modules/mgmt_ltpi/mgmt_interface/mgmt_smbus.sv): `rtl/modules/mgmt_ltpi/mgmt_interface/mgmt_smbus.sv`
- [SMBus Relay Controller](https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/modules/smbus_relay/smbus_relay_controller/smbus_relay_controller.sv): `rtl/modules/smbus_relay/smbus_relay_controller/smbus_relay_controller.sv`
- [SMBus Relay Target](https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/modules/smbus_relay/smbus_relay_target/smbus_relay_target.sv): `rtl/modules/smbus_relay/smbus_relay_target/smbus_relay_target.sv`
- [CSR AVMM Bridge](https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/modules/CSR/ltpi_csr_avmm/ltpi_csr_avmm.sv): `rtl/modules/CSR/ltpi_csr_avmm/ltpi_csr_avmm.sv`
- [Full CSR Block](https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/modules/CSR/RDL/ltpi_csr.sv): `rtl/modules/CSR/RDL/ltpi_csr.sv`
- [Light CSR Block](https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/modules/CSR/RDL/ltpi_csr_light.sv): `rtl/modules/CSR/RDL/ltpi_csr_light.sv`

### Platform Integration

- [Controller Board Wrapper](https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/ltpi_top_quartus/ltpi_top_controller_quartus/ltpi_top_controller_quartus.sv): `rtl/ltpi_top_quartus/ltpi_top_controller_quartus/ltpi_top_controller_quartus.sv`
- [Target Board Wrapper](https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/ltpi_top_quartus/ltpi_top_target_quartus/ltpi_top_target_quartus.sv): `rtl/ltpi_top_quartus/ltpi_top_target_quartus/ltpi_top_target_quartus.sv`
- [Clock Generation](https://github.com/opencomputeproject/hwmgmt-module-dcscm-ltpi/blob/main/rtl/modules/CLOCK_MGMT/m10_pll_top/m10_pll_top.sv): `rtl/modules/CLOCK_MGMT/m10_pll_top/m10_pll_top.sv`

### Other components

- **SCM System**
- **HPM System**

## Connections

- SCM System → Controller Board Wrapper: connects to
- Controller Board Wrapper → Controller Top: integrates
- HPM System → Target Board Wrapper: connects to
- Target Board Wrapper → Target Top: integrates
- Controller Top → Management LTPI: uses
- Target Top → Management LTPI: uses
- Management LTPI → Management PHY: uses
- Management PHY → Controller Link FSM: includes
- Management PHY → Target Link FSM: includes
- Management PHY → Frame Transmitter: uses
- Management PHY → Frame Receiver: uses
- Frame Transmitter → LTPI PHY TX: transmits through
- LTPI PHY RX → Frame Receiver: feeds frames
- LTPI PHY TX → LVDS PHY TX: uses
- LVDS PHY RX → LTPI PHY RX: feeds data
- Management LTPI → Data Channel Controller: carries channel
- Management LTPI → Data Channel Target: carries channel
- Management LTPI → Management Channels: routes management
- Management Channels → GPIO Management: supports
- Management Channels → UART Management: supports
- Management Channels → SMBus Management: supports
- SMBus Management → SMBus Relay Controller: relays
- SMBus Management → SMBus Relay Target: relays
- Management LTPI → CSR AVMM Bridge: exposes CSR access
- CSR AVMM Bridge → Full CSR Block: accesses
- CSR AVMM Bridge → Light CSR Block: accesses
- Controller Board Wrapper → Clock Generation: uses clocks
- Target Board Wrapper → Clock Generation: uses clocks
