diff options
author | David Shah <davey1576@gmail.com> | 2018-06-07 13:08:18 +0200 |
---|---|---|
committer | David Shah <davey1576@gmail.com> | 2018-06-07 13:08:18 +0200 |
commit | 6236a1042797be90224461adf23243e0bb16f2fe (patch) | |
tree | 9af394af6eae8f6d8b0dc9fce83410f545e06d91 | |
parent | 9ebc879826cfcc43b7ed68cf3514a42cb3625177 (diff) | |
download | nextpnr-6236a1042797be90224461adf23243e0bb16f2fe.tar.gz nextpnr-6236a1042797be90224461adf23243e0bb16f2fe.tar.bz2 nextpnr-6236a1042797be90224461adf23243e0bb16f2fe.zip |
Fixing file->run renaming
Signed-off-by: David Shah <davey1576@gmail.com>
-rw-r--r-- | ice40/main.cc | 2 | ||||
-rw-r--r-- | python/dump_design.py | 2 |
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): |