Reports from synthesis and implementation phases that Vivado generates for a project are text files with ASCII tables like this:
+-------------------------+------+-------+------------+-----------+-------+
| Site Type | Used | Fixed | Prohibited | Available | Util% |
+-------------------------+------+-------+------------+-----------+-------+
| Slice LUTs* | 10 | 0 | 0 | 101400 | <0.01 |
| LUT as Logic | 10 | 0 | 0 | 101400 | <0.01 |
| LUT as Memory | 0 | 0 | 0 | 35000 | 0.00 |
| Slice Registers | 15 | 0 | 0 | 202800 | <0.01 |
| Register as Flip Flop | 15 | 0 | 0 | 202800 | <0.01 |
| Register as Latch | 0 | 0 | 0 | 202800 | 0.00 |
| F7 Muxes | 0 | 0 | 0 | 50700 | 0.00 |
| F8 Muxes | 0 | 0 | 0 | 25350 | 0.00 |
+-------------------------+------+-------+------------+-----------+-------+
How do people usually parse them?
Can these reports be obtained in a more easy-to-parse form?
Like CSV, XML, JSON or something?
I have a bunch of very small designs with a set of reports for each of
them.
In the utilization report from synthesis phase, most fields show 0%.
I wished to extract only the fields which are not 0%.
Is there a good way to do that?