diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2019-06-21 18:06:01 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2019-06-21 18:06:01 +0200 |
commit | 9affcf82d969bf34aae449a28391451a4f4fdfd8 (patch) | |
tree | 68a6b00cf092db6110ceded1813b2e330f43c135 /ecp5/main.cc | |
parent | 0c3093fe49d9ba14577b38bd5032081699e05680 (diff) | |
download | nextpnr-9affcf82d969bf34aae449a28391451a4f4fdfd8.tar.gz nextpnr-9affcf82d969bf34aae449a28391451a4f4fdfd8.tar.bz2 nextpnr-9affcf82d969bf34aae449a28391451a4f4fdfd8.zip |
default for 5G is speed 8
Diffstat (limited to 'ecp5/main.cc')
-rw-r--r-- | ecp5/main.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ecp5/main.cc b/ecp5/main.cc index 9917e217..fa0783e1 100644 --- a/ecp5/main.cc +++ b/ecp5/main.cc @@ -151,7 +151,11 @@ std::unique_ptr<Context> ECP5CommandHandler::createContext(std::unordered_map<st log_error("Unsupported speed grade '%d'\n", speed); } } else { - chipArgs.speed = ArchArgs::SPEED_6; + if (chipArgs.type == ArchArgs::LFE5UM5G_25F || chipArgs.type == ArchArgs::LFE5UM5G_45F || + chipArgs.type == ArchArgs::LFE5UM5G_85F) { + chipArgs.speed = ArchArgs::SPEED_8; + } else + chipArgs.speed = ArchArgs::SPEED_6; } if (values.find("arch.name")!=values.end()) { std::string arch_name = values["arch.name"].str; |