diff options
author | Simon Schubert <2@0x2c.org> | 2019-02-22 22:36:19 +0100 |
---|---|---|
committer | Simon Schubert <2@0x2c.org> | 2019-02-23 17:39:20 +0100 |
commit | 7044f56246417c4db9fc9df2feebb8138e56d51a (patch) | |
tree | d784d61762f742f01b26daf9ad06caf5ff54f930 /ice40/project.cc | |
parent | e8d3aaaf34895a073e4023192d97fc936d090990 (diff) | |
download | nextpnr-7044f56246417c4db9fc9df2feebb8138e56d51a.tar.gz nextpnr-7044f56246417c4db9fc9df2feebb8138e56d51a.tar.bz2 nextpnr-7044f56246417c4db9fc9df2feebb8138e56d51a.zip |
ice40: support u4k
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)); |