aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Default to Release, but allow other modes (e.g. Debug, RelWithDebInfo).Keith Rothman2021-01-271-1/+3
| | | | Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
* Gowin target (#542)Pepijn de Vos2020-12-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * load wires * add slice bels * add IOB * add aliases * local aliases * broken packing stuff * working packer * add constraints * pnr runs1111 * add timing info * constraints * more constraint stuff * add copyright * remove generic reference * remove parameters * remove generic python api * add newline to end of file * some small refactoring * warn on invalid constraints * don't error on missing cell * comment out debugging print * typo * avoid copy * faster empty idstring * remove intermediate variable * no more deadnames * fix cst warnings * increase ripup and epsilon a bit * take single device parameter * add info to readme * gui stubs * Revert 4d03b681a8634e978bd5af73c97665500047e055 * assign ff_used in assignArchInfo * decrease beta for better routability * try to fix CI
* cmake: Disable building GUI by defaultDavid Shah2020-12-081-1/+1
| | | | | | | This should reduce the number of Qt5-related issues, which often prevent even the basic command line flow from working. Signed-off-by: David Shah <dave@ds0.me>
* nexus: Update docs and CMakeDavid Shah2020-11-301-1/+9
| | | | Signed-off-by: David Shah <dave@ds0.me>
* nexus: Build and embed chipdb automaticallyDavid Shah2020-11-301-0/+1
| | | | Signed-off-by: David Shah <dave@ds0.me>
* Adding archdefs and bba PODsDavid Shah2020-11-301-1/+1
| | | | Signed-off-by: David Shah <dave@ds0.me>
* Building nextpnr on Devuan ascii 2.0 needs the "C" language enabled.Rob Landley2020-09-161-1/+1
| | | | See https://lists.j-core.org/pipermail/j-core/2020-September/000940.html
* fix whitespaceMiodrag Milanovic2020-07-241-4/+4
|
* Needed by python lib itself for staticMiodrag Milanovic2020-07-231-0/+5
|
* Initial conversion to pybind11Miodrag Milanovic2020-07-231-56/+1
|
* Fix clangformat and execute itMiodrag Milanovic2020-06-271-2/+2
|
* CMake: require at least version 3.5 (Ubuntu 16.04).whitequark2020-06-251-2/+1
|
* CMake: rewrite chipdb handling from ground up.whitequark2020-06-251-10/+10
|
* CMake: only request a CXX compiler.whitequark2020-06-241-1/+1
|
* CMake: promote bba to a true subproject.whitequark2020-06-231-1/+15
|
* Merge pull request #447 from whitequark/wasiDavid Shah2020-05-241-2/+26
|\ | | | | Port nextpnr-{ice40,ecp5} to WASI
| * Port nextpnr-{ice40,ecp5} to WASI.whitequark2020-05-231-2/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This involves very few changes, all typical to WASM ports: * WASM doesn't currently support threads or atomics so those are disabled. * WASM doesn't currently support exceptions so the exception machinery is stubbed out. * WASM doesn't (and can't) have mmap(), so an emulation library is used. That library currently doesn't support MAP_SHARED flags, so MAP_PRIVATE is used instead. There is also an update to bring ECP5 bbasm CMake rules to parity with iCE40 ones, since although it is possible to embed chipdb into nextpnr on WASM, a 200 MB WASM file has very few practical uses. The README is not updated and there is no included toolchain file because at the moment it's not possible to build nextpnr with upstream boost and wasi-libc. Boost requires a patch (merged, will be available in boost 1.74.0), wasi-libc requires a few unmerged patches.
* | minor patch for MinGW buildEd Bordin2020-05-141-4/+6
|/
* Support custom PROGRAM_PREFIXMiodrag Milanovic2020-04-101-10/+12
|
* Correct BUILD_TESTS description in CMakeLists.txtWladimir J. van der Laan2020-02-121-1/+1
|
* cmake: Python 3.9 supportDavid Shah2020-01-291-1/+1
| | | | Signed-off-by: David Shah <dave@ds0.me>
* Change version to git describe and make set-able from outsideTobias Müller2020-01-111-9/+11
| | | | | | | Change version to use git describe instead of git log as this will also work if tags are present and make the version string set-able from outside as a parameter to cmake, so that package managers can set this if building outside of a git working tree.
* 3rdparty: Add json11David Shah2019-12-271-2/+3
| | | | Signed-off-by: David Shah <dave@ds0.me>
* frontend/base: Top module handlingDavid Shah2019-12-271-2/+4
| | | | Signed-off-by: David Shah <dave@ds0.me>
* cmake: Add boost system libraryDavid Shah2019-11-061-1/+1
| | | | Signed-off-by: David Shah <dave@ds0.me>
* cmake: don't link libutil on windowsSean Cross2019-10-181-1/+1
| | | | | | libutil is only required to be linked on Linux. Signed-off-by: Sean Cross <sean@xobs.io>
* Apply Boost CMake fix to all OSsDavid Shah2019-10-091-3/+1
| | | | Signed-off-by: David Shah <dave@ds0.me>
* Fix issue with latest boost on macOS, fixes #322Miodrag Milanovic2019-09-281-0/+4
|
* cmake: fix static build on LinuxSean Cross2019-09-101-0/+14
| | | | | | | When building Python, many extra libraries must be included, such as expat and zlib. Signed-off-by: Sean Cross <sean@xobs.io>
* cmake: add python38 to list of versions searched for boost componentsGabriel L. Somlo2019-08-211-18/+7
| | | | | | Also, factor out actual search code (identical across versions). Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
* cmake: static: add msvc check before adding msvc flagsSean Cross2019-08-151-1/+1
| | | | | | | When building with STATIC_BUILD=ON, different flags need to be specified when using MSVC. Check for this flag and only set them if necessary. Signed-off-by: Sean Cross <sean@xobs.io>
* cmake: fix static build on windowsSean Cross2019-08-151-1/+8
| | | | | | | | On Windows, we can make a static build by setting the triple to x64-windows-static, but due to some issues with cmake we also need to modify the linker flags and Python definitions. Signed-off-by: Sean Cross <sean@xobs.io>
* cmakelists: quote the last argument to REGEX REPLACESean Cross2019-08-141-5/+5
| | | | | | | | | | | | With newer versions of cmake, an unquoted 6th argument gives the following error: STRING sub-command REGEX, mode REPLACE needs at least 6 arguments total to command. Quoting this fixes the issue. Signed-off-by: Sean Cross <sean@xobs.io>
* CMake: serialize chipdb generation by default.whitequark2019-06-261-4/+5
| | | | Fixes #296.
* HeAP: Make HeAP placer optionalDavid Shah2019-03-221-8/+19
| | | | | | | | | | | | | A CMake option 'BUILD_HEAP' (default on) configures building of the HeAP placer and the associated Eigen3 dependency. Default for the iCE40 is SA placer, with --heap-placer to use HeAP Default for the ECP5 is HeAP placer, as SA placer can take 1hr+ for large ECP5 designs and HeAP tends to give better QoR. --sa-placer can be used to use SA instead, and auto-fallback to SA if HeAP not built. Signed-off-by: David Shah <dave@ds0.me>
* HeAP: Switching from TAUCS to EigenDavid Shah2019-03-221-5/+6
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* HeAP: Add TAUCS wrapper and integrationDavid Shah2019-03-221-2/+4
| | | | Signed-off-by: David Shah <dave@ds0.me>
* Fix according to comments on PRMiodrag Milanovic2019-02-101-2/+2
|
* Load chipdb from filesystem as optionMiodrag Milanovic2019-02-091-1/+10
|
* build: Make use of the pipe option to avoid temporary filesSylvain Munaut2018-12-041-2/+2
| | | | | | | | This is really useful when building the ice40 with the gigantic .cc files that generate multi gigabyte .s temporary files ... this way the assembler just processed it in streaming way. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
* QUIET flag for cmake searches for boost pythonEddie Hung2018-11-201-6/+6
|
* On macOS -static flag not needed just list of .a filesMiodrag Milanovic2018-09-031-1/+3
|
* ignore tests in reportMiodrag Milanovic2018-08-231-1/+1
|
* Added test code coverage reportMiodrag Milanovic2018-08-231-1/+16
|
* Added ability for static buildsMiodrag Milanovic2018-08-161-1/+8
|
* cmake: Remove nextpnrpy so modulesDavid Shah2018-07-301-10/+1
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* python interpreter is mandatory in any caseMiodrag Milanovic2018-07-291-1/+1
|
* gui: Add QuadTree and testsSergiusz Bazanski2018-07-251-1/+5
|
* Add bbasm target, use as passthru in iCE40 builderDavid Shah2018-07-241-0/+2
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* Fix MSVC buildMiodrag Milanovic2018-07-161-1/+4
|