Commit Graph

2205 Commits

Author SHA1 Message Date
David Shah
927077e03b
Merge pull request #325 from xobs/ecp5-python-fix
Ecp5 python fixes
2019-09-11 09:46:35 +01:00
Sean Cross
0d0056a043 cmake: fix static build on Linux
When building Python, many extra libraries must be included, such
as expat and zlib.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-09-10 23:12:31 +08:00
Sean Cross
f98960b936 ecp5: use $PYTHON_EXECUTABLE for python path
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>
2019-09-09 22:10:51 +08:00
David Shah
c0f02563e8 Bump tests submodule
Signed-off-by: David Shah <dave@ds0.me>
2019-09-03 11:54:44 +01:00
David Shah
de5d22fbd8 Merge branch 'master' of ssh.github.com:YosysHQ/nextpnr 2019-09-03 11:53:50 +01:00
David Shah
4d8fa13033 ice40: Fix DSP cascade wires
Signed-off-by: David Shah <dave@ds0.me>
2019-09-03 11:53:43 +01:00
David Shah
c0b7379e86
Merge pull request #321 from YosysHQ/ecp5-dcc
ecp5: Add support for clock gating with DCCA
2019-08-31 20:50:54 +01:00
David Shah
04be9a71f9 ecp5: Add support for clock gating with DCCA
Signed-off-by: David Shah <dave@ds0.me>
2019-08-31 10:45:12 +01:00
David Shah
cce5cb65c1
Merge pull request #320 from YosysHQ/ecp5-partname
ecp5: Add full part name to bitstream header
2019-08-27 17:58:11 +01:00
David Shah
9f9920f92b ecp5: Add full part name to bitstream header
Signed-off-by: David Shah <dave@ds0.me>
2019-08-27 14:36:20 +01:00
David Shah
c06d7390b6
Merge pull request #319 from YosysHQ/ecp5gsr
ecp5: Add GSR/SGSR support
2019-08-27 14:27:29 +01:00
David Shah
78f86ce67a ecp5: Add GSR/SGSR support
Signed-off-by: David Shah <dave@ds0.me>
2019-08-27 13:14:41 +01:00
David Shah
ccd9ca2a30
Merge pull request #317 from DurandA/feature/ecp5-unpromote-clock
Restrict clock promotion to global on ECP5
2019-08-24 19:43:50 +01:00
Arnaud Durand
a26c9bb6d9 Rename clock restriction attribute to "noglobal" 2019-08-24 18:09:42 +02:00
Arnaud Durand
a947f09bfb Restrict clock promotion to global 2019-08-22 00:43:03 +02:00
David Shah
c192ba261d
Merge pull request #316 from gsomlo/gls-py38-cmake
cmake: add python38 to list of versions searched for boost components
2019-08-21 18:42:39 +01:00
Gabriel L. Somlo
2d66f8e6c9 cmake: add python38 to list of versions searched for boost components
Also, factor out actual search code (identical across versions).

Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
2019-08-21 10:57:43 -04:00
Miodrag Milanović
a6a4349bd6
Merge pull request #314 from xobs/fix-windows-static
cmake: fix static build on Windows
2019-08-15 10:59:42 +02:00
Sean Cross
ace5ad09f8 Merge branch 'fix-windows-static' of github.com:xobs/nextpnr into fix-windows-static
Signed-off-by: Sean Cross <sean@xobs.io>
2019-08-15 16:32:38 +08:00
Sean Cross
8b63de9e55 cmake: static: add msvc check before adding msvc flags
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>
2019-08-15 16:28:03 +08:00
Sean Cross
aa7e20357f README: add a note about static windows builds
Windows has different triples when building with static.  Note this in
the README.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-08-15 12:59:27 +08:00
Sean Cross
0b5c0bd94e cmake: fix static build on windows
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>
2019-08-15 12:59:00 +08:00
Sean Cross
ac0d0fc241 cmake: fix static build on Windows
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>
2019-08-15 12:57:15 +08:00
David Shah
541451dc62
Merge pull request #313 from xobs/fix-string-quoting
cmakelists: quote the last argument to REGEX REPLACE
2019-08-14 18:33:04 +01:00
Sean Cross
6e932f5a2d cmakelists: quote the last argument to REGEX REPLACE
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>
2019-08-14 21:30:39 +08:00
David Shah
3f26cf5076
Merge pull request #312 from smunaut/fix_ice40_default_pkg
ice40: Only warn about default package if there is no package argument
2019-08-10 15:24:31 +01:00
Sylvain Munaut
82ce89e315 ice40: Only warn about default package if there is no package argument
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2019-08-10 16:22:04 +02:00
David Shah
c70f87e4c5
Merge pull request #309 from YosysHQ/dsptiming
ecp5: Conservative analysis of comb DSP timing
2019-08-09 10:27:15 +01:00
David Shah
67488f780c
Merge pull request #311 from YosysHQ/deprecate-default-package
Add deprecation warning for default packages
2019-08-09 10:27:03 +01:00
David Shah
c9969c1593 Add deprecation warning for default packages
Signed-off-by: David Shah <dave@ds0.me>
2019-08-08 21:35:55 +01:00
David Shah
dc565b11c7 ice40/examples: Fix blinky.sh
Signed-off-by: David Shah <dave@ds0.me>
2019-08-08 21:26:56 +01:00
David Shah
f0abbc71b5 ecp5: Fix handling of missing ports in LUT permutation
Fixes #310

Signed-off-by: David Shah <dave@ds0.me>
2019-08-08 21:24:01 +01:00
David Shah
eed85cda83 ice40: Add better stats on LC packing
Signed-off-by: David Shah <dave@ds0.me>
2019-08-08 20:56:30 +01:00
David Shah
e0a114fcb3
Merge pull request #308 from YosysHQ/ecp5_ooc
Add out-of-context mode to ECP5 architecture
2019-08-08 08:36:37 +01:00
David Shah
bb0b6e85ce json: Fix import/export of ports driven by the same net
Signed-off-by: David Shah <dave@ds0.me>
2019-08-07 18:48:06 +01:00
David Shah
fba7c2caef timing: Improve support for out-of-context flows
Signed-off-by: David Shah <dave@ds0.me>
2019-08-07 16:51:29 +01:00
David Shah
b8455f20e2 json: Group bus ports in backend
Signed-off-by: David Shah <dave@ds0.me>
2019-08-07 14:47:01 +01:00
David Shah
e55946bec7 clangfromat
Signed-off-by: David Shah <dave@ds0.me>
2019-08-07 14:46:53 +01:00
David Shah
661237eb64 ecp5: Add --out-of-context for building hard macros
Signed-off-by: David Shah <dave@ds0.me>
2019-08-07 14:22:47 +01:00
David Shah
90364fc3fa Fix typo in jsonwrite
Signed-off-by: David Shah <dave@ds0.me>
2019-08-07 14:22:03 +01:00
David Shah
eaef3b600e
Merge pull request #306 from YosysHQ/dave/jsonfix
Major improvements to constants/Property
2019-08-07 10:40:25 +01:00
David Shah
8eef6ac55e Bump tests submodule
Signed-off-by: David Shah <dave@ds0.me>
2019-08-06 12:42:12 +01:00
David Shah
7126dacccd ecp5: Add a check for legacy parameter values
Signed-off-by: David Shah <dave@ds0.me>
2019-08-06 09:53:33 +01:00
David Shah
c9ba81ab50 ice40: Fix regression
Signed-off-by: David Shah <dave@ds0.me>
2019-08-05 19:10:00 +01:00
David Shah
7b5b5524c4 ci: Update Yosys version
Signed-off-by: David Shah <dave@ds0.me>
2019-08-05 17:30:11 +01:00
David Shah
ebcdfc1ae8 generic: New Property interface
Signed-off-by: David Shah <dave@ds0.me>
2019-08-05 17:28:54 +01:00
David Shah
ec48f8f464 ecp5: New Property interface
Signed-off-by: David Shah <dave@ds0.me>
2019-08-05 17:22:37 +01:00
David Shah
1839a3a770 Major Property improvements for common and iCE40
Signed-off-by: David Shah <dave@ds0.me>
2019-08-05 14:52:15 +01:00
David Shah
1ecf271cb3
Merge pull request #305 from kivikakk/patch-1
Add `eigen` to brew install list for macOS
2019-07-29 08:53:12 +01:00
Ashe Connor
1727662f10
Add eigen to brew install list for macOS 2019-07-29 14:17:03 +10:00