diff options
author | David Shah <davey1576@gmail.com> | 2018-07-11 14:27:15 +0200 |
---|---|---|
committer | David Shah <davey1576@gmail.com> | 2018-07-11 14:27:15 +0200 |
commit | 35216298d5538c0121ae98399518e8c82b7f7577 (patch) | |
tree | b9fd7728d2291329f91b879027473b97bb783c9b /ecp5/arch.cc | |
parent | ce6afb5f7f7e2e26918c01d9b818bff9ceb93601 (diff) | |
download | nextpnr-35216298d5538c0121ae98399518e8c82b7f7577.tar.gz nextpnr-35216298d5538c0121ae98399518e8c82b7f7577.tar.bz2 nextpnr-35216298d5538c0121ae98399518e8c82b7f7577.zip |
ecp5: Update arch to use new graphics API
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'ecp5/arch.cc')
-rw-r--r-- | ecp5/arch.cc | 25 |
1 files changed, 6 insertions, 19 deletions
diff --git a/ecp5/arch.cc b/ecp5/arch.cc index 7217af78..6d320996 100644 --- a/ecp5/arch.cc +++ b/ecp5/arch.cc @@ -288,33 +288,20 @@ delay_t Arch::estimateDelay(WireId src, WireId dst) const // ----------------------------------------------------------------------- -std::vector<GraphicElement> Arch::getFrameGraphics() const +std::vector<GraphicElement> Arch::getDecalGraphics(DecalId decalId) const { std::vector<GraphicElement> ret; - + // FIXME return ret; } -std::vector<GraphicElement> Arch::getBelGraphics(BelId bel) const -{ - std::vector<GraphicElement> ret; +DecalXY Arch::getFrameDecal() const { return {}; } - return ret; -} +DecalXY Arch::getBelDecal(BelId bel) const { return {}; } -std::vector<GraphicElement> Arch::getWireGraphics(WireId wire) const -{ - std::vector<GraphicElement> ret; - // FIXME - return ret; -} +DecalXY Arch::getWireDecal(WireId wire) const { return {}; } -std::vector<GraphicElement> Arch::getPipGraphics(PipId pip) const -{ - std::vector<GraphicElement> ret; - // FIXME - return ret; -}; +DecalXY Arch::getPipDecal(PipId pip) const { return {}; }; // ----------------------------------------------------------------------- |