Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 1.29 KB

README.md

File metadata and controls

40 lines (27 loc) · 1.29 KB

bin2coe Build Status Coverage PyPI Python 3.7+

bin2coe is, as its name suggests, a tool to convert binary files to COE files for initializing Xilinx FPGA block RAM.

Usage

Basic usage looks like this:

bin2coe -i INPUT -w WIDTH -o OUTPUT

Additionally, you can specify depth manually (rather than having it be inferred), specify a value to fill in empty words, and specify the radix. See bin2coe --help for more information.

Installation

bin2coe can be installed from PyPI:

pip install bin2coe

After running this command, the bin2coe binary should be available on your $PATH.

License

Copyright (c) Anish Athalye. Released under the MIT License. See LICENSE.md for details.