# format-conversion **Repository Path**: AXE_King/format-conversion ## Basic Information - **Project Name**: format-conversion - **Description**: 各种奇难杂症转换 - **Primary Language**: Unknown - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-10-04 - **Last Updated**: 2022-01-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 格式转化脚本(format conversion) ## 环境 ``` python 3.9.7 ``` ## 支持的转换 1.小端的二进制指令(.bin) --> Xilinx RAM\ROM IP initial file (.coe) 2.小端的二进制指令(.bin) --> Intel Hex format (.hex) 3.小端的二进制指令(.bin) --> Testbench Simulation file (.data) ## 使用方法 ```shell python main.py -i -o -f ``` ## 参数介绍 ### out_format b2i: bin to intel hex for Quartus initial b2c: bin to Xilinx coe for Vivado initial b2t: bin to testbench simulation