diff options
author | Eddie Hung <eddieh@ece.ubc.ca> | 2018-08-10 19:51:35 -0700 |
---|---|---|
committer | Eddie Hung <eddieh@ece.ubc.ca> | 2018-08-10 19:51:35 -0700 |
commit | fc0496ec718546366a47e60db090caa6a7059277 (patch) | |
tree | d1366190553de2147aae4ab71a1179bb712b91d7 /ice40 | |
parent | a41500a015afe7fec5f7d122a37ccd1031f9fb51 (diff) | |
parent | 8b04a646291bec7fb65b3580a08c266268acf010 (diff) | |
download | nextpnr-fc0496ec718546366a47e60db090caa6a7059277.tar.gz nextpnr-fc0496ec718546366a47e60db090caa6a7059277.tar.bz2 nextpnr-fc0496ec718546366a47e60db090caa6a7059277.zip |
Merge remote-tracking branch 'origin/master' into placer_speedup
Diffstat (limited to 'ice40')
-rw-r--r-- | ice40/arch.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/ice40/arch.h b/ice40/arch.h index 1d91a9ae..8fd1af23 100644 --- a/ice40/arch.h +++ b/ice40/arch.h @@ -418,7 +418,8 @@ struct Arch : BaseCtx int getGridDimX() const { return 34; } int getGridDimY() const { return 34; } - int getTileDimZ(int, int) const { return 8; } + int getTileBelDimZ(int, int) const { return 8; } + int getTilePipDimZ(int, int) const { return 1; } // ------------------------------------------------- @@ -680,6 +681,15 @@ struct Arch : BaseCtx return range; } + Loc getPipLocation(PipId pip) const + { + Loc loc; + loc.x = chip_info->pip_data[pip.index].x; + loc.y = chip_info->pip_data[pip.index].y; + loc.z = 0; + return loc; + } + IdString getPipName(PipId pip) const; IdString getPipType(PipId pip) const { return IdString(); } |