aboutsummaryrefslogtreecommitdiffstats
path: root/machxo2
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 /machxo2
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 'machxo2')
-rw-r--r--machxo2/main.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/machxo2/main.cc b/machxo2/main.cc
index 961fe9ae..1dfee16a 100644
--- a/machxo2/main.cc
+++ b/machxo2/main.cc
@@ -34,7 +34,7 @@ class MachXO2CommandHandler : public CommandHandler
public:
MachXO2CommandHandler(int argc, char **argv);
virtual ~MachXO2CommandHandler(){};
- 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 customBitstream(Context *ctx) override;
@@ -82,7 +82,7 @@ void MachXO2CommandHandler::customBitstream(Context *ctx)
write_bitstream(ctx, textcfg);
}
-std::unique_ptr<Context> MachXO2CommandHandler::createContext(std::unordered_map<std::string, Property> &values)
+std::unique_ptr<Context> MachXO2CommandHandler::createContext(dict<std::string, Property> &values)
{
ArchArgs chipArgs;
chipArgs.type = ArchArgs::NONE;