hlorenzi / customasm

💻 An assembler for custom, user-defined instruction sets! https://hlorenzi.github.io/customasm/web/
Apache License 2.0
720 stars 56 forks source link

Add C source file output format #10

Closed quicktom closed 5 years ago

quicktom commented 5 years ago

Hi, this is the tool I was looking for. Thanks. Great for custom FPGA processors.

Could you please make a --format "c" which creates a c source file which contains an array with the binary?

This would be make it more easy to integrate the binary into xilinx sdk or altera.

Regards Thomas

hlorenzi commented 5 years ago

I've added a C source format (use format codes c, decc, or hexc)! I'd love to hear what you think!