aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ice40/main.cc2
-rw-r--r--python/dump_design.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/ice40/main.cc b/ice40/main.cc
index 445e81ba..18896142 100644
--- a/ice40/main.cc
+++ b/ice40/main.cc
@@ -236,7 +236,7 @@ int main(int argc, char *argv[])
if (vm.count("run"))
{
- std::vector<std::string> files = vm["file"].as<std::vector<std::string>>();
+ std::vector<std::string> files = vm["run"].as<std::vector<std::string>>();
for(auto filename : files)
execute_python_file(filename.c_str());
}
diff --git a/python/dump_design.py b/python/dump_design.py
index b8436288..22d4ab17 100644
--- a/python/dump_design.py
+++ b/python/dump_design.py
@@ -1,4 +1,4 @@
-# Run ./nextpnr-ice40 --json ice40/blinky.json --file python/dump_design.py
+# Run ./nextpnr-ice40 --json ice40/blinky.json --run python/dump_design.py
for cell in sorted(design.cells, key=lambda x: x.first):
print("Cell {} : {}".format(cell.first, cell.second.type))
for port in sorted(cell.second.ports, key=lambda x: x.first):