aboutsummaryrefslogtreecommitdiffstats
path: root/mistral/arch.h
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-05-09 12:07:24 +0100
committergatecat <gatecat@ds0.me>2021-05-15 14:54:33 +0100
commit96f16c8635b37aa58f275e63df5172902bedf8f5 (patch)
treedc977f8fb4fa952cff6d06894655b246e9641475 /mistral/arch.h
parent595b354184afdbdbe6e4daade739d79db8fcee42 (diff)
downloadnextpnr-96f16c8635b37aa58f275e63df5172902bedf8f5.tar.gz
nextpnr-96f16c8635b37aa58f275e63df5172902bedf8f5.tar.bz2
nextpnr-96f16c8635b37aa58f275e63df5172902bedf8f5.zip
mistral: Add a basic QSF parser
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'mistral/arch.h')
-rw-r--r--mistral/arch.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/mistral/arch.h b/mistral/arch.h
index d4f6bd5e..b818f001 100644
--- a/mistral/arch.h
+++ b/mistral/arch.h
@@ -455,6 +455,10 @@ struct Arch : BaseArch<ArchRanges>
typedef std::unordered_map<IdString, CellPinStyle> CellPinsData; // pins.cc
static const std::unordered_map<IdString, CellPinsData> cell_pins_db; // pins.cc
CellPinStyle get_cell_pin_style(const CellInfo *cell, IdString port) const; // pins.cc
+
+ // List of IO constraints, used by QSF parser
+ std::unordered_map<IdString, std::unordered_map<IdString, Property>> io_attr;
+ void read_qsf(std::istream &in); // qsf.cc
};
NEXTPNR_NAMESPACE_END