# ICAPE simulation **Repository Path**: pku-dasys/icape_sim ## Basic Information - **Project Name**: ICAPE simulation - **Description**: Simulation for ICAPE primitive with xsim. - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2024-11-26 - **Last Updated**: 2024-12-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ICAPE simulation The source files come from `Xilinx\Vivado\2024.1\data\verilog\src\unisims`. User can perform the operations supported by ICAPE primitive using the testbench. ## How to Run 1. Prepare the environment: `source /opt/Xilinx/Vivado/2024.1/settings64.sh`. (`/opt/Xilinx/DocNav/.settings64-DocNav.sh` seems not exists, commenting it out in the `settings64.sh` also works for this example) 2. `./compile.sh` 3. `./elaborate.sh` 4. `xsim cfg_tb_behav` 5. `run 10ms` in the xsim. The current example is to read back configuration and the output result is the `frame_data_e2_rbt_out.txt`.