diff options
Diffstat (limited to 'ice40/main.cc')
-rw-r--r-- | ice40/main.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ice40/main.cc b/ice40/main.cc index fedd0918..bfbe3b8c 100644 --- a/ice40/main.cc +++ b/ice40/main.cc @@ -134,6 +134,11 @@ std::unique_ptr<Context> Ice40CommandHandler::createContext(std::unordered_map<s chipArgs.package = "tq144"; } + if (vm.count("lp4k")) { + chipArgs.type = ArchArgs::LP4K; + chipArgs.package = "tq144"; + } + if (vm.count("lp8k")) { chipArgs.type = ArchArgs::LP8K; chipArgs.package = "ct256"; @@ -186,6 +191,9 @@ std::unique_ptr<Context> Ice40CommandHandler::createContext(std::unordered_map<s if (arch_type == "lp1k") { chipArgs.type = ArchArgs::LP1K; } + if (arch_type == "lp4k") { + chipArgs.type = ArchArgs::LP4K; + } if (arch_type == "lp8k") { chipArgs.type = ArchArgs::LP8K; } |