1
0
mirror of https://github.com/YosysHQ/nextpnr.git synced 2026-04-25 03:44:35 +00:00

Use hashlib in most remaining code

Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
gatecat
2021-06-02 11:36:56 +01:00
parent b8a68f5f35
commit eca1a4cee4
20 changed files with 53 additions and 58 deletions

View File

@@ -458,7 +458,7 @@ int CommandHandler::exec()
if (executeBeforeContext())
return 0;
std::unordered_map<std::string, Property> values;
dict<std::string, Property> values;
std::unique_ptr<Context> ctx = createContext(values);
setupContext(ctx.get());
setupArchContext(ctx.get());
@@ -475,7 +475,7 @@ int CommandHandler::exec()
std::unique_ptr<Context> CommandHandler::load_json(std::string filename)
{
std::unordered_map<std::string, Property> values;
dict<std::string, Property> values;
std::unique_ptr<Context> ctx = createContext(values);
setupContext(ctx.get());
setupArchContext(ctx.get());