diff options
author | David Shah <davey1576@gmail.com> | 2018-08-02 12:01:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-02 12:01:07 +0200 |
commit | 81ee55c7eb2f153ba01a6ff8aba2bffc54daa9dc (patch) | |
tree | 917f2f9a4c834660cbdf3a0a1ad86bcbb25067c8 /ecp5/main.cc | |
parent | 62e61c44e89f39d6ee3852b6bc3cf6eeeb12b7e4 (diff) | |
parent | 0658759495d25fe5d1ffa8d58f86214ccd0e98d9 (diff) | |
download | nextpnr-81ee55c7eb2f153ba01a6ff8aba2bffc54daa9dc.tar.gz nextpnr-81ee55c7eb2f153ba01a6ff8aba2bffc54daa9dc.tar.bz2 nextpnr-81ee55c7eb2f153ba01a6ff8aba2bffc54daa9dc.zip |
Merge pull request #2 from daveshah1/remove_libtrellis
Remove libtrellis link for bitstream gen
Diffstat (limited to 'ecp5/main.cc')
-rw-r--r-- | ecp5/main.cc | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/ecp5/main.cc b/ecp5/main.cc index 68660ced..f40a5e61 100644 --- a/ecp5/main.cc +++ b/ecp5/main.cc @@ -32,10 +32,6 @@ #include <fstream> #include <iostream> -#include "Chip.hpp" -#include "Database.hpp" -#include "Tile.hpp" - #include "log.h" #include "nextpnr.h" #include "version.h" @@ -75,7 +71,6 @@ int main(int argc, char *argv[]) options.add_options()("seed", po::value<int>(), "seed value for random number generator"); options.add_options()("basecfg", po::value<std::string>(), "base chip configuration in Trellis text format"); - options.add_options()("bit", po::value<std::string>(), "bitstream file to write"); options.add_options()("textcfg", po::value<std::string>(), "textual configuration in Trellis format to write"); po::positional_options_description pos; @@ -115,8 +110,6 @@ int main(int argc, char *argv[]) return 1; } - Trellis::load_database(TRELLIS_ROOT "/database"); - ArchArgs args; args.type = ArchArgs::LFE5U_45F; @@ -189,14 +182,10 @@ int main(int argc, char *argv[]) if (vm.count("basecfg")) basecfg = vm["basecfg"].as<std::string>(); - std::string bitstream; - if (vm.count("bit")) - bitstream = vm["bit"].as<std::string>(); - std::string textcfg; if (vm.count("textcfg")) textcfg = vm["textcfg"].as<std::string>(); - write_bitstream(ctx.get(), basecfg, textcfg, bitstream); + write_bitstream(ctx.get(), basecfg, textcfg); } #ifndef NO_PYTHON |