Sean Cross
7cda79f9b7
README: document PREGENERATED_BBA_PATH
...
Signed-off-by: Sean Cross <sean@xobs.io>
2019-09-17 11:33:39 +08:00
Sean Cross
96130efc34
ice40: support PREGENERATED_BBA_PATH
...
Add support for pregenerating BBA files, to build on Windows
and Darwin.
Signed-off-by: Sean Cross <sean@xobs.io>
2019-09-17 11:33:17 +08:00
Sean Cross
062091e9e4
ecp5: add support for PREGENERATED_BBA_PATH
...
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>
2019-09-17 11:32:44 +08:00
David Shah
c2299c8972
python: Fix getWireBelPins
...
Fixes #327
Signed-off-by: David Shah <dave@ds0.me>
2019-09-15 15:59:16 +01:00
David Shah
bc6b47efe0
Merge pull request #329 from YosysHQ/dave/net_aliases
...
json: Add support for net aliases
2019-09-13 19:01:26 +01:00
David Shah
3975424ff5
Merge pull request #328 from YosysHQ/dave/timing_iobuf
...
Move clock constraints across buffers in more cases
2019-09-13 18:24:38 +01:00
David Shah
95540763b9
json: Add support for net aliases
...
Signed-off-by: David Shah <dave@ds0.me>
2019-09-13 17:27:15 +01:00
David Shah
9e8976996e
ice40: Move clock constraints across SB_IO and SB_GB_IO
...
Signed-off-by: David Shah <dave@ds0.me>
2019-09-13 16:59:41 +01:00
David Shah
2ace9b5ad3
ecp5: Move clock constraints across IO and DCCA
...
Signed-off-by: David Shah <dave@ds0.me>
2019-09-13 16:50:07 +01:00
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