Commit Graph

5 Commits

Author SHA1 Message Date
Alessandro Comodi 01e5aef7cc 005-tilegrid: format fix
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-01-14 13:00:55 +01:00
Alessandro Comodi 9d16dae012 005-tilegrid/util.py: Added functionalities to local util
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-01-14 12:58:24 +01:00
Alessandro Comodi 93bc30ac10 005-tilegrid/util.py: return after check
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-01-14 12:58:24 +01:00
Alessandro Comodi ccb43370fa 005-tilegrid/util.py: format fix
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-01-14 12:58:24 +01:00
Alessandro Comodi 9e6c62cb4c 005-tilegrid: created a util script
There is some shared code between add_tdb.py and generate_full.py. To
solve this I have added a util script containing shared code.

Moreover, in the case a block has to be overwritten, the add_tile_bits
function now checks if the two version of the block contain the same
information. If this does not happend the script fails.

Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-01-14 12:58:24 +01:00