diff options
author | gatecat <gatecat@ds0.me> | 2021-06-02 11:36:56 +0100 |
---|---|---|
committer | gatecat <gatecat@ds0.me> | 2021-06-02 15:05:20 +0100 |
commit | eca1a4cee4f310c7e2c1216bd678143c1967edd4 (patch) | |
tree | 2106f7895e22f60f6d200cca6d9244bcc81a1ab9 /ecp5 | |
parent | b8a68f5f35af49c36d6f4e86a3a1c5afa1b3215f (diff) | |
download | nextpnr-eca1a4cee4f310c7e2c1216bd678143c1967edd4.tar.gz nextpnr-eca1a4cee4f310c7e2c1216bd678143c1967edd4.tar.bz2 nextpnr-eca1a4cee4f310c7e2c1216bd678143c1967edd4.zip |
Use hashlib in most remaining code
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'ecp5')
-rw-r--r-- | ecp5/main.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ecp5/main.cc b/ecp5/main.cc index f6d734e1..711c4944 100644 --- a/ecp5/main.cc +++ b/ecp5/main.cc @@ -34,7 +34,7 @@ class ECP5CommandHandler : public CommandHandler public: ECP5CommandHandler(int argc, char **argv); virtual ~ECP5CommandHandler(){}; - std::unique_ptr<Context> createContext(std::unordered_map<std::string, Property> &values) override; + std::unique_ptr<Context> createContext(dict<std::string, Property> &values) override; void setupArchContext(Context *ctx) override{}; void customAfterLoad(Context *ctx) override; void validate() override; @@ -132,7 +132,7 @@ static std::string speedString(ArchArgs::SpeedGrade speed) return ""; } -std::unique_ptr<Context> ECP5CommandHandler::createContext(std::unordered_map<std::string, Property> &values) +std::unique_ptr<Context> ECP5CommandHandler::createContext(dict<std::string, Property> &values) { ArchArgs chipArgs; chipArgs.type = ArchArgs::NONE; |