ecp5: Fix timing pip classes
Signed-off-by: David Shah <dave@ds0.me>
This commit is contained in:
parent
3ecd440748
commit
cc746d888b
@ -222,7 +222,7 @@ def write_database(dev_name, chip, ddrg, endianness):
|
|||||||
loc = loc_with_type[arc_loctype]
|
loc = loc_with_type[arc_loctype]
|
||||||
lt = ddrg.typeAtLocation[pytrellis.Location(loc[0] + rel.x, loc[1] + rel.y)]
|
lt = ddrg.typeAtLocation[pytrellis.Location(loc[0] + rel.x, loc[1] + rel.y)]
|
||||||
wire = ddrg.locationTypes[lt].wires[idx]
|
wire = ddrg.locationTypes[lt].wires[idx]
|
||||||
return "R{}C{}_{}".format(loc[0] + rel.x, loc[1] + rel.y, ddrg.to_str(wire.name))
|
return "R{}C{}_{}".format(loc[1] + rel.y, loc[0] + rel.x, ddrg.to_str(wire.name))
|
||||||
|
|
||||||
bba = BinaryBlobAssembler()
|
bba = BinaryBlobAssembler()
|
||||||
bba.pre('#include "nextpnr.h"')
|
bba.pre('#include "nextpnr.h"')
|
||||||
|
Loading…
Reference in New Issue
Block a user