Symmetric Cryptographic Accelerator Hard IP User Guide
ID
714305
Date
11/28/2025
Public
4.1. Installing and Licensing IP Cores
4.2. Specifying the IP Parameters and Options
4.3. Generated File Structure
4.4. Symmetric Cryptographic Accelerator Hard IP Flow
4.5. Dynamically Disabling the SM4 Capability
4.6. Error Handling
4.7. Error Reporting
4.8. Resetting the IP
4.9. Channel Definition and Allocation
4.10. Byte Ordering
4.11. AXI-ST Single Packet Mode
4.12. AXI-ST Multiple Packet Mode
4.4. Symmetric Cryptographic Accelerator Hard IP Flow
This section describes the generic flow for the Symmetric Cryptographic Accelerator Hard IP.
To enable the flow, the FPGA must enter user mode and the AES/SM4 Inline Cryptographic Accelerator is in the user configuration state.
- Drive all the clocks into the Symmetric Cryptographic Accelerator Hard IP.
- Set the bits to deassert resets to the Symmetric Cryptographic Accelerator Hard IPs.
- Configure the IP as described in Specifying the IP Parameters and Options or update the register bits in the configuration block of the AXI-Lite interface.
- Start creating the packets in a format specified during the IP parameter configuration.
- Stream in the packets.
- Collect the packets streamed out from the AES/SM4 Inline Cryptographic Accelerator and send them to your logic.
- Stop sending packets to the Symmetric Cryptographic Accelerator Hard IP if any error signal asserts in the AXI-ST interface.
- Handle the error received in the AXI-ST interface, if applicable.
Note: The error handling is out of scope of the Symmetric Cryptographic Accelerator Hard IP.
- Then, assert the subsystem_cold_rst_n signal and reprogram the Symmetric Cryptographic Accelerator Hard IP registers for the desired configuration. Next, deassert the subsystem_cold_rst_n signal and start streaming packets again.