From 953818f43c05c254836a2599c40d9c37e84b94f5 Mon Sep 17 00:00:00 2001 From: Markus Koch Date: Mon, 23 Sep 2019 21:26:50 +0200 Subject: [PATCH] sw: Report if bit is unset in final bitstream result --- sw/kousaten/src/fpga_cell_lut34.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sw/kousaten/src/fpga_cell_lut34.c b/sw/kousaten/src/fpga_cell_lut34.c index d198785..95f6dd3 100644 --- a/sw/kousaten/src/fpga_cell_lut34.c +++ b/sw/kousaten/src/fpga_cell_lut34.c @@ -280,8 +280,10 @@ char *fpga_cell_lut34_isp_generate_bitstream(struct fpga_cell *cell) report(LL_DEBUG, "Bitstream result for %p:", cell); for (i = 0; i < 48; ++i) { report(LL_DEBUG, - " %d: %d", - i, fpga_cell_bitstream_is_set(buf, i)); + " %d: %d%s", + i, + fpga_cell_bitstream_is_set(buf, i), + (fpga_cell_bitstream_is_set(sbuf, i) ? "" : " (Z)")); } free(sbuf);