aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #332 from YosysHQ/dave/python-refactorDavid Shah2019-09-197-193/+329
|\ | | | | Improving Python API and adding docs for it
| * docs: Add Python API documentationDavid Shah2019-09-191-0/+87
| | | | | | | | Signed-off-by: David Shah <dave@ds0.me>
| * python: Adding helper functions for netlist modificationDavid Shah2019-09-154-1/+140
| | | | | | | | Signed-off-by: David Shah <dave@ds0.me>
| * python: Refactor out bindings shared between ECP5 and iCE40David Shah2019-09-153-192/+102
| | | | | | | | Signed-off-by: David Shah <dave@ds0.me>
* | Merge pull request #331 from xobs/precompiled-bbaDavid Shah2019-09-193-28/+67
|\ \ | | | | | | Support precompiled BBA files
| * | Merge branch 'precompiled-bba' of https://github.com/xobs/nextpnr into ↵David Shah2019-09-193-28/+67
|/| | | | | | | | | | | xobs-precompiled-bba
| * | README: document PREGENERATED_BBA_PATHSean Cross2019-09-171-0/+4
| | | | | | | | | | | | Signed-off-by: Sean Cross <sean@xobs.io>
| * | ice40: support PREGENERATED_BBA_PATHSean Cross2019-09-171-18/+31
| | | | | | | | | | | | | | | | | | | | | Add support for pregenerating BBA files, to build on Windows and Darwin. Signed-off-by: Sean Cross <sean@xobs.io>
| * | 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>
* | Merge pull request #330 from zeldin/bbaDavid Shah2019-09-194-11/+28
|\ \ | |/ |/| bba: Default to native endian in bbasm
| * CMake: Generate chipdbs in build tree when building out-of-treeMarcus Comstedt2019-09-152-6/+8
| | | | | | | | Signed-off-by: Marcus Comstedt <marcus@mc.pp.se>
| * bba: Require explicit endianness flag, and supply itMarcus Comstedt2019-09-154-12/+16
| | | | | | | | Signed-off-by: Marcus Comstedt <marcus@mc.pp.se>
| * bba: Default to native endian in bbasmMarcus Comstedt2019-09-151-1/+12
| | | | | | | | Signed-off-by: Marcus Comstedt <marcus@mc.pp.se>
* | python: Fix getWireBelPinsDavid Shah2019-09-154-0/+40
|/ | | | | | Fixes #327 Signed-off-by: David Shah <dave@ds0.me>
* Merge pull request #329 from YosysHQ/dave/net_aliasesDavid Shah2019-09-135-7/+44
|\ | | | | json: Add support for net aliases
| * json: Add support for net aliasesDavid Shah2019-09-135-7/+44
| | | | | | | | Signed-off-by: David Shah <dave@ds0.me>
* | Merge pull request #328 from YosysHQ/dave/timing_iobufDavid Shah2019-09-132-0/+29
|\ \ | |/ |/| Move clock constraints across buffers in more cases
| * ice40: Move clock constraints across SB_IO and SB_GB_IODavid Shah2019-09-131-0/+20
| | | | | | | | Signed-off-by: David Shah <dave@ds0.me>
| * ecp5: Move clock constraints across IO and DCCADavid Shah2019-09-131-0/+9
|/ | | | Signed-off-by: David Shah <dave@ds0.me>
* Merge pull request #325 from xobs/ecp5-python-fixDavid Shah2019-09-112-2/+16
|\ | | | | Ecp5 python fixes
| * 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>
| * 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>
* Bump tests submoduleDavid Shah2019-09-031-0/+0
| | | | Signed-off-by: David Shah <dave@ds0.me>
* Merge branch 'master' of ssh.github.com:YosysHQ/nextpnrDavid Shah2019-09-034-39/+110
|\
| * Merge pull request #321 from YosysHQ/ecp5-dccDavid Shah2019-08-312-39/+87
| |\ | | | | | | ecp5: Add support for clock gating with DCCA
| | * ecp5: Add support for clock gating with DCCADavid Shah2019-08-312-39/+87
| |/ | | | | | | Signed-off-by: David Shah <dave@ds0.me>
| * Merge pull request #320 from YosysHQ/ecp5-partnameDavid Shah2019-08-273-0/+23
| |\ | | | | | | ecp5: Add full part name to bitstream header
| | * ecp5: Add full part name to bitstream headerDavid Shah2019-08-273-0/+23
| |/ | | | | | | Signed-off-by: David Shah <dave@ds0.me>
* / ice40: Fix DSP cascade wiresDavid Shah2019-09-031-4/+9
|/ | | | Signed-off-by: David Shah <dave@ds0.me>
* Merge pull request #319 from YosysHQ/ecp5gsrDavid Shah2019-08-274-3/+22
|\ | | | | ecp5: Add GSR/SGSR support
| * ecp5: Add GSR/SGSR supportDavid Shah2019-08-274-3/+22
|/ | | | Signed-off-by: David Shah <dave@ds0.me>
* Merge pull request #317 from DurandA/feature/ecp5-unpromote-clockDavid Shah2019-08-241-0/+3
|\ | | | | Restrict clock promotion to global on ECP5
| * Rename clock restriction attribute to "noglobal"Arnaud Durand2019-08-241-2/+2
| |
| * Restrict clock promotion to globalArnaud Durand2019-08-221-0/+3
|/
* Merge pull request #316 from gsomlo/gls-py38-cmakeDavid Shah2019-08-211-18/+7
|\ | | | | cmake: add python38 to list of versions searched for boost components
| * 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>
* Merge pull request #314 from xobs/fix-windows-staticMiodrag Milanović2019-08-152-1/+11
|\ | | | | cmake: fix static build on Windows
| * Merge branch 'fix-windows-static' of github.com:xobs/nextpnr into ↵Sean Cross2019-08-150-0/+0
| |\ | | | | | | | | | | | | | | | fix-windows-static Signed-off-by: Sean Cross <sean@xobs.io>
| | * cmake: fix static build on WindowsSean Cross2019-08-152-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | 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>
| * | README: add a note about static windows buildsSean Cross2019-08-151-0/+3
| | | | | | | | | | | | | | | | | | | | | Windows has different triples when building with static. Note this in the README. 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>
* | Merge pull request #313 from xobs/fix-string-quotingDavid Shah2019-08-141-5/+5
|\| | | | | cmakelists: quote the last argument to REGEX REPLACE
| * 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>
* Merge pull request #312 from smunaut/fix_ice40_default_pkgDavid Shah2019-08-101-3/+4
|\ | | | | ice40: Only warn about default package if there is no package argument
| * ice40: Only warn about default package if there is no package argumentSylvain Munaut2019-08-101-3/+4
|/ | | | Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
* Merge pull request #309 from YosysHQ/dsptimingDavid Shah2019-08-092-2/+25
|\ | | | | ecp5: Conservative analysis of comb DSP timing
| * ecp5: Conservative analysis of comb DSP timingDavid Shah2019-07-082-2/+25
| | | | | | | | Signed-off-by: David Shah <dave@ds0.me>
* | Merge pull request #311 from YosysHQ/deprecate-default-packageDavid Shah2019-08-094-4/+9
|\ \ | | | | | | Add deprecation warning for default packages
| * | Add deprecation warning for default packagesDavid Shah2019-08-084-4/+9
|/ / | | | | | | Signed-off-by: David Shah <dave@ds0.me>