bin2coe
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.