Commit Graph

2337 Commits

Author SHA1 Message Date
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
David Shah
ba050c21b9 docs: Fix typo
Signed-off-by: David Shah <dave@ds0.me>
2019-07-22 09:12:33 +01:00
David Shah
d297a96dc1 ecp5: Fix missing LUT inputs, fixes #301
Signed-off-by: David Shah <dave@ds0.me>
2019-07-10 09:34:22 +01:00
David Shah
2da41a66c7 ecp5: Conservative analysis of comb DSP timing
Signed-off-by: David Shah <dave@ds0.me>
2019-07-08 15:09:54 +01:00
David Shah
19cb4ca554
Merge pull request #300 from YosysHQ/static_build_fix
Switching from std to boost fix crash
2019-07-05 14:54:38 +01:00
Miodrag Milanovic
bd694bda19 Switching from std to boost fix crash 2019-07-05 10:22:42 +02:00
David Shah
8f2813279c
Merge pull request #284 from YosysHQ/json_write
Initial support for writing to json files from nextpnr.
2019-07-03 12:39:38 +01:00
Miodrag Milanovic
e27dc41a76 add newline 2019-06-28 13:44:01 +02:00
Miodrag Milanovic
831c7f2ef1 Speedup critical path 2019-06-28 13:43:55 +02:00
David Shah
ff958830d1
Merge pull request #297 from whitequark/serialize-chipdb
Serialize chipdb generation by default
2019-06-27 17:50:13 +01:00
David Shah
c57137e17d
Merge pull request #298 from YosysHQ/clifford/bbasm
Improvements in bbasm
2019-06-27 08:49:40 +01:00
Clifford Wolf
6f38731009 Improvements in bbasm
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2019-06-27 08:24:32 +02:00
Clifford Wolf
4f87bb5f99
Merge pull request #248 from koriakin/bba-fix
bba: Fix str with empty string.
2019-06-27 08:05:32 +02:00
David Shah
e78ed11421
Merge pull request #283 from tux3/warn_pcf_trailing
ice40: Warn that trailing PCF settings are ignored
2019-06-26 22:40:19 +01:00
whitequark
1b3c8ea9c1 CMake: serialize chipdb generation by default.
Fixes #296.
2019-06-26 21:31:24 +00:00
whitequark
640285755e CMake: formatting. NFC. 2019-06-26 21:27:57 +00:00
Miodrag Milanovic
be47fc3e9a clangformat run 2019-06-25 18:19:25 +02:00
Miodrag Milanovic
ec47ce2320 Merge master 2019-06-25 18:14:51 +02:00
David Shah
76ff791913
Merge pull request #294 from YosysHQ/eddie/whiteboxes
Changes to cope with YosysHQ/yosys#943
2019-06-24 22:03:51 +01:00