aboutsummaryrefslogtreecommitdiffstats
path: root/ice40
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-06-02 11:36:56 +0100
committergatecat <gatecat@ds0.me>2021-06-02 15:05:20 +0100
commiteca1a4cee4f310c7e2c1216bd678143c1967edd4 (patch)
tree2106f7895e22f60f6d200cca6d9244bcc81a1ab9 /ice40
parentb8a68f5f35af49c36d6f4e86a3a1c5afa1b3215f (diff)
downloadnextpnr-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 'ice40')
-rw-r--r--ice40/main.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ice40/main.cc b/ice40/main.cc
index e537c2f4..28e6de9a 100644
--- a/ice40/main.cc
+++ b/ice40/main.cc
@@ -35,7 +35,7 @@ class Ice40CommandHandler : public CommandHandler
public:
Ice40CommandHandler(int argc, char **argv);
virtual ~Ice40CommandHandler(){};
- 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 validate() override;
void customAfterLoad(Context *ctx) override;
@@ -129,7 +129,7 @@ void Ice40CommandHandler::setupArchContext(Context *ctx)
}
}
-std::unique_ptr<Context> Ice40CommandHandler::createContext(std::unordered_map<std::string, Property> &values)
+std::unique_ptr<Context> Ice40CommandHandler::createContext(dict<std::string, Property> &values)
{
ArchArgs chipArgs;
chipArgs.type = ArchArgs::NONE;