mirror of
https://github.com/openXC7/prjxray.git
synced 2026-08-22 14:06:54 +02:00
tilegrid: always add height
Signed-off-by: John McMaster <[email protected]>
This commit is contained in:
@@ -461,12 +461,15 @@ def add_tile_bits(tile_db, baseaddr, offset, frames, words, height=None):
|
|||||||
# Index of first word used within each frame
|
# Index of first word used within each frame
|
||||||
block["offset"] = offset
|
block["offset"] = offset
|
||||||
# Number of words consumed in each frame
|
# Number of words consumed in each frame
|
||||||
block["words"] = words
|
block["height"] = height
|
||||||
|
|
||||||
# related to words...
|
# related to words...
|
||||||
# deprecated field? Don't worry about for now
|
# deprecated field? Don't worry about for now
|
||||||
if height is not None:
|
# DSP has some differences between height and words
|
||||||
block["height"] = height
|
block["words"] = words
|
||||||
|
if height is None:
|
||||||
|
height = words
|
||||||
|
block["height"] = height
|
||||||
|
|
||||||
|
|
||||||
def db_add_bits(database, segments):
|
def db_add_bits(database, segments):
|
||||||
|
|||||||
Reference in New Issue
Block a user