aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5/family.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #460 from whitequark/better-embedDavid Shah2020-06-261-3/+8
|\ | | | | Simplify and improve chipdb embedding/loading
| * Simplify and improve chipdb embedding/loading.whitequark2020-06-261-3/+8
| |
* | Fix typowhitequark2020-06-251-1/+1
|/
* CMake: rewrite chipdb handling from ground up.whitequark2020-06-251-108/+44
|
* Port nextpnr-{ice40,ecp5} to WASI.whitequark2020-05-231-6/+15
| | | | | | | | | | | | | | | | | | | | | 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.
* Add TRELLIS_PROGRAM_PREFIXMiodrag Milanovic2020-04-111-4/+6
|
* build: Default the ECP5 and iCE40 roots to the install prefixSylvain Munaut2020-03-031-2/+2
| | | | | | | | | If the user specifies a custom install prefix, chances are icestrom/trellis are also in that prefix rather than the hardcoded /usr/local Fixes #351 Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
* Rename cmake path variable TRELLIS_ROOT to TRELLIS_INSTALL_PREFIXSebastian Birke2020-02-041-6/+6
|
* CMake: Changing the definition of TRELLIS_ROOT to point to root of lib, ↵Jared Boone2020-02-041-5/+5
| | | | | | | | | share containing trellis libs and data two other commit message of squashed commits: CMake: Search for user lib inside trellis instead of libtrellis CMake: Fix missing path component for share contents
* More adjustments to .bba file locationsLarry Doolittle2020-01-141-1/+1
| | | | | | | | | | Follows PM discussion with Marcus Comstedt. Extend changes in .bba file location (made in commit b6a7b60) to ice40 and MSVC cases, so all cases become compatible with read-only access to git tree. Only known down-side is inefficiency when building out-of-tree for multiple architectures; people following that use case should consider using PREGENERATED_BBA_PATH. It would be nice if there were less copy-paste in MSVC vs. non-MSVC content in family.cmake, but that would have to be addressed by someone more skilled in Cmake and MSVC.
* Remove barrier to out-of-tree buildsLarry Doolittle2020-01-121-2/+1
| | | | | With this change, nextpnr can build successfully (and run correctly) using the git tree as a read-only reference. No change in behavior observed for in-tree builds.
* Merge remote-tracking branch 'origin/master' into mmicko/ecp5_guiMiodrag Milanovic2019-12-281-2/+2
|\
| * ecp5: Make database build depend on constids.incDavid Shah2019-10-201-2/+2
| | | | | | | | Signed-off-by: David Shah <dave@ds0.me>
* | Start adding visible wiresMiodrag Milanovic2019-10-201-4/+6
|/
* Merge branch 'precompiled-bba' of https://github.com/xobs/nextpnr into ↵David Shah2019-09-191-18/+31
|\ | | | | | | xobs-precompiled-bba
| * ecp5: add support for PREGENERATED_BBA_PATHSean Cross2019-09-171-18/+31
| | | | | | | | | | | | | | Support pre-generated bba files to speed up compiling on Windows and get it compiling on Darwin. Signed-off-by: Sean Cross <sean@xobs.io>
* | CMake: Generate chipdbs in build tree when building out-of-treeMarcus Comstedt2019-09-151-3/+4
| | | | | | | | Signed-off-by: Marcus Comstedt <marcus@mc.pp.se>
* | bba: Require explicit endianness flag, and supply itMarcus Comstedt2019-09-151-2/+2
|/ | | | Signed-off-by: Marcus Comstedt <marcus@mc.pp.se>
* ecp5: use $PYTHON_EXECUTABLE for python pathSean Cross2019-09-091-2/+2
| | | | | | | | Sometimes the python executable might have a different name. Cmake sets the $PYTHON_EXECUTABLE variable to point to the binary path, so use this variable. Signed-off-by: Sean Cross <sean@xobs.io>
* CMake: serialize chipdb generation by default.whitequark2019-06-261-2/+10
| | | | Fixes #296.
* CMake: formatting. NFC.whitequark2019-06-261-4/+4
|
* Use cmake's find_library to search for pytrellis.Tobias Müller2019-05-111-28/+28
|
* Merge branch 'master' into mmaped_chipdbMiodrag Milanović2019-02-121-4/+11
|\
| * ecp5: cmake: Search for pytrellis.so in multiple locationsGabriel L. Somlo2019-02-101-4/+11
| | | | | | | | | | | | | | | | | | | | | | If a distro-specific "trellis-devel" package is used, the pytrellis.so library might be located in a dedicated directory, rather than under TRELLIS_ROOT. Search for pytrellis.so in a list of directories, then subsequently use the first match as part of PYTHONPATH. Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
* | Fix according to comments on PRMiodrag Milanovic2019-02-101-1/+1
| |
* | Load chipdb from filesystem as optionMiodrag Milanovic2019-02-091-63/+64
|/
* Merge pull request #210 from twam/masterDavid Shah2019-01-271-3/+3
|\ | | | | Search for trellis in /usr/local/share/trellis if not specified with …
| * Search for trellis in /usr/local/share/trellis if not specified with ↵Tobias Müller2019-01-131-3/+3
| | | | | | | | -DTRELLIS_ROOT
* | Make cross compile possible for mingwMiodrag Milanovic2019-01-271-1/+1
|/
* ecp5: Adding real timing data to databaseDavid Shah2018-11-161-2/+4
| | | | Signed-off-by: David Shah <dave@ds0.me>
* Use native PATH environment-variable separator on Windows for PYTHONPATH. ↵William D. Jones2018-11-031-0/+4
| | | | | | Fixes 'Bad address' error in cmake. Signed-off-by: William D. Jones <thor0505@comcast.net>
* ecp5: Update to use const IdStrings in place of PortPin/BelTypeDavid Shah2018-08-081-4/+4
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* ecp5: Remove libtrellis link for bitstream genDavid Shah2018-08-011-8/+0
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* ecp5: Update trellis_import to use new bbasmDavid Shah2018-07-251-4/+16
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* ecp5: Build all chip typesDavid Shah2018-07-171-1/+1
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* ecp5/cmake: Improve error message when trellis/pytrellis not foundDavid Shah2018-07-121-0/+11
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* ecp5: Make target device 45k on account of current hardware accessDavid Shah2018-07-111-1/+1
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* ecp5: Link libtrellis library to ecp5 binaryDavid Shah2018-07-111-0/+8
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* ecp5: Add 25k databaseDavid Shah2018-07-111-0/+41
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* ecp5: Working on arch implementationDavid Shah2018-07-111-0/+0
Signed-off-by: David Shah <davey1576@gmail.com>