Patent ID: 11960423
Assignee: CHENGDU STARBLAZE TECHNOLOGY CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A PCIe controller, comprising a transport layer transmission module, a transport layer reception module, a memory access module, an outgoing DMA module, a receiving DMA module, an encryption module, a decryption module, and a memory; wherein the transport layer transmission module comprises a first loopback control module, the transport layer reception module comprises a second loopback control module, and the first loopback control module is coupled to the second loopback control module; the memory access module is coupled to the transport layer transmission module and the transport layer reception module, and the memory access module is further coupled to the memory; the outgoing DMA module is coupled to the decryption module, and the outgoing DMA module is also coupled to the transport layer transmission module; the receiving DMA module is coupled to the encryption module, and the receiving DMA module is also coupled to the transport layer reception module; the encryption module and the decryption module are also coupled to DRAM outside the PCIe controller, separately; and the transport layer transmission module is configured to send part of PCIe protocol TLP to the second loopback control module of the transport layer reception module via the first loopback control module,
wherein
the decryption module is configured to decrypt the data obtained from the DRAM, and provide the decrypted data to the outgoing DMA module,
the first loopback control module sends parts of TLPs to the second loopback control module,
the first loopback control module sends the TLPs with the specified identifier and/or the TLPs accessing the specified address space to the second loopback control module, and
the second loopback control module sends the TLP received by the first loopback control module to the memory access module or the receiving DMA module.