sw: Report if bit is unset in final bitstream result

This commit is contained in:
Markus Koch 2019-09-23 21:26:50 +02:00
parent 72dabd64db
commit 953818f43c

View File

@ -280,8 +280,10 @@ char *fpga_cell_lut34_isp_generate_bitstream(struct fpga_cell *cell)
report(LL_DEBUG, "Bitstream result for %p:", cell); report(LL_DEBUG, "Bitstream result for %p:", cell);
for (i = 0; i < 48; ++i) { for (i = 0; i < 48; ++i) {
report(LL_DEBUG, report(LL_DEBUG,
" %d: %d", " %d: %d%s",
i, fpga_cell_bitstream_is_set(buf, i)); i,
fpga_cell_bitstream_is_set(buf, i),
(fpga_cell_bitstream_is_set(sbuf, i) ? "" : " (Z)"));
} }
free(sbuf); free(sbuf);