Skip to content

tools/genrammem: Create wrc.mem file to use with Vivado's `updatemem` command

Frederik Pfautsch requested to merge mle/upstream/brammemfile into master


this MR adds another piece for updating the firmware after bitstream generation (first part: general-cores!66 (merged)). For using the updatemem command, the file needs to have a certain format documented here:

The format is very similar to the already existing .mif generator. Hence the tool is very similar to tools/genrammif.c, just without the header and line numbering.

In summary, after building the wrpc-sw firmware, another memory file is generated which is compatible with Xilinx's/AMD's tools for updating BRAM blocks.

Merge request reports