diff options
author | David Shah <davey1576@gmail.com> | 2018-06-25 11:43:59 +0200 |
---|---|---|
committer | David Shah <davey1576@gmail.com> | 2018-06-25 11:43:59 +0200 |
commit | bdd54a68471a68bb9e3f8125c1457cd039cc768b (patch) | |
tree | 7f96fc65d7714699b2b1ec2f707beeefedb76dd3 /ice40/cells.cc | |
parent | 1b7ed56f6ffd11d70d79cd96fb370f331e6d8df0 (diff) | |
download | nextpnr-bdd54a68471a68bb9e3f8125c1457cd039cc768b.tar.gz nextpnr-bdd54a68471a68bb9e3f8125c1457cd039cc768b.tar.bz2 nextpnr-bdd54a68471a68bb9e3f8125c1457cd039cc768b.zip |
Refactor: remove PlacementValidityChecker and move methods to Arch
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'ice40/cells.cc')
-rw-r--r-- | ice40/cells.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ice40/cells.cc b/ice40/cells.cc index faaabba0..ddb69f4f 100644 --- a/ice40/cells.cc +++ b/ice40/cells.cc @@ -227,7 +227,7 @@ void nxio_to_sb(Context *ctx, CellInfo *nxio, CellInfo *sbio) } } -bool is_clock_port(const Context *ctx, const PortRef &port) +bool is_clock_port(const BaseCtx *ctx, const PortRef &port) { if (port.cell == nullptr) return false; @@ -240,7 +240,7 @@ bool is_clock_port(const Context *ctx, const PortRef &port) return false; } -bool is_reset_port(const Context *ctx, const PortRef &port) +bool is_reset_port(const BaseCtx *ctx, const PortRef &port) { if (port.cell == nullptr) return false; @@ -251,7 +251,7 @@ bool is_reset_port(const Context *ctx, const PortRef &port) return false; } -bool is_enable_port(const Context *ctx, const PortRef &port) +bool is_enable_port(const BaseCtx *ctx, const PortRef &port) { if (port.cell == nullptr) return false; |