Exetools

Exetools (https://forum.exetools.com/index.php)
-   General Discussion (https://forum.exetools.com/forumdisplay.php?f=2)
-   -   Microblaze decompile (https://forum.exetools.com/showthread.php?t=18937)

eychei 09-03-2018 01:41

Microblaze decompile
 
Hello everyone,

i do have a microblaze binary which I can disassemble without problems.
But this code is to hard to read.
Does anyone know a decompiler for microblaze and picoblaze softcores from xilinx?

Thanks all.

-e

chants 09-03-2018 02:25

Most FPGA are using these cores AFAIK, and there is both a GitHub project (already referenced in your other thread) and even a Codeproject article on a somewhat related task to have C code that can program that FPGA from the bitstream.

Reverse-engineering tools for FPGA bitstreams, Altera and Xilinx:
Quote:

https://github.com/djn3m0/debit
Convert Xilinx FPGA/CPLD to C Source:
Quote:

https://www.codeproject.com/Articles/177990/Convert-Xilinx-FPGA-CPLD-to-C-Source

eychei 09-05-2018 16:30

Thank you for the link.

I am working on a Artix-7 bitstream. This is not supported by most of the github codes.

The second link you send me is for programming the FPGA.

What I have right now is microblaze opcodes and therefore the asm instructions. I have disassembled it with a microblaze plugin for IDA.

Now reading asm is difficult and I would like to decompile to C.
The Microblaze is a 32-Bit Risc-Microcontroller.
Maybe there are other RISC decompilers out there? I couldnt find anything for microblaze.

thanks for the help everyone.

-e

chants 09-07-2018 07:04

The Xilinx Virtex 7 FPGA bitstream has been reverse engineered by Clifford Wolf:
Quote:

https://github.com/SymbiFlow/prjxray
Note especially here:
Quote:

Tools & Libs
Tools & libs are useful tools (and libraries) for converting the resulting bitstreams into various formats.
Binaries in the tools directory are considered more mature and stable then those in the utils directory and could be actively used in other projects.
Probably the only project, and an active one at that for this particular architecture. But some of the tools in there might convert the bitstream into something readable enough, or at least readable by another tool.

Megin 09-07-2018 08:27

More documentation here:
Code:

https://prjxray.readthedocs.io/en/latest/
Highlevel Bitstream Architecture:
Code:

http://prjxray.readthedocs.io/en/latest/architecture/overview.html


All times are GMT +8. The time now is 09:02.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX