mirror of https://github.com/openXC7/prjxray.git
tilegrid: always add height
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
This commit is contained in:
parent
a27486271c
commit
0403a23c8f
|
|
@ -461,12 +461,15 @@ def add_tile_bits(tile_db, baseaddr, offset, frames, words, height=None):
|
|||
# Index of first word used within each frame
|
||||
block["offset"] = offset
|
||||
# Number of words consumed in each frame
|
||||
block["words"] = words
|
||||
block["height"] = height
|
||||
|
||||
# related to words...
|
||||
# deprecated field? Don't worry about for now
|
||||
if height is not None:
|
||||
block["height"] = height
|
||||
# DSP has some differences between height and words
|
||||
block["words"] = words
|
||||
if height is None:
|
||||
height = words
|
||||
block["height"] = height
|
||||
|
||||
|
||||
def db_add_bits(database, segments):
|
||||
|
|
|
|||
Loading…
Reference in New Issue