avoid unnecessary gateware rebuilds #1
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
With the Nix model it is relatively straightforward to reuse and cache artifacts between builds (in particular the bitstream, which is slow to compile):
I've found a way to accomplish this in the Nix part of the build. I'm going to prepare a Merge Request for review once I'm done testing (these runs take long).
I have yet to find the version info in the bitstream sources.
The version info is in the "identifier" core from MiSoC.
You will have to change it to use BRAM since I suspect that the current code that may produce combinatorial logic with LUTs will be difficult to edit post-compilation.
Since
9e66dd7075
the identifier can be rewritten without rebuilding the whole gateware.Run
vivado -mode tcl
and then:The new identifier string appears in the log:
NB: I have not tried using more optimal primitives (e.g. ROM256X1).
Ok, it also works with ROM256X1 :)
Are these TCL commands still supposed to work?
This returns some cells but none looks like having to do with the ident:
See the next commit
4a8d361ace
.The memory is now made up of eight ROM256X1 called
identifier_str0
...identifier_str7
.Ok, in my case they were optimized away with
.INIT(32'd0)
.Using
32'hAAAAAAAA
keeps that from happening.