diff options
Diffstat (limited to 'ice40/project.cc')
-rw-r--r-- | ice40/project.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ice40/project.cc b/ice40/project.cc index 47c0903d..bbd82fd7 100644 --- a/ice40/project.cc +++ b/ice40/project.cc @@ -56,6 +56,9 @@ std::unique_ptr<Context> ProjectHandler::createContext(pt::ptree &root) if (arch_type == "up5k") { chipArgs.type = ArchArgs::UP5K; } + if (arch_type == "u4k") { + chipArgs.type = ArchArgs::U4K; + } chipArgs.package = root.get<std::string>("project.arch.package"); return std::unique_ptr<Context>(new Context(chipArgs)); |