Commit Graph

2231 Commits

Author SHA1 Message Date
David Shah
137d9d33c1 docs: Working on coding tips
Signed-off-by: David Shah <dave@ds0.me>
2019-09-29 15:50:08 +02:00
David Shah
72244066bb docs: More netlist documentation
Signed-off-by: David Shah <dave@ds0.me>
2019-09-29 15:22:56 +02:00
David Shah
cfe86dfd15 docs: Add docs for CellInfo and NetInfo
Signed-off-by: David Shah <dave@ds0.me>
2019-09-29 12:12:28 +02:00
Miodrag Milanovic
7cd1e04951 Fix issue with latest boost on macOS, fixes #322 2019-09-28 12:33:45 +02:00
David Shah
30e3c8469b ice40: Add support for PLL DELAY_ADJUSTMENT_MODE
Fixes #336

Signed-off-by: David Shah <dave@ds0.me>
2019-09-23 19:46:31 +01:00
David Shah
395db49b21
Merge pull request #335 from YosysHQ/dave/fix-334
ice40: Fix carry feed-out when we have to split the chain next
2019-09-23 16:30:58 +01:00
David Shah
fac998ddcb ice40: Fix carry feed-out when we have to split the chain next
Signed-off-by: David Shah <dave@ds0.me>
2019-09-23 15:51:05 +01:00
David Shah
cb71b488ec
Merge pull request #332 from YosysHQ/dave/python-refactor
Improving Python API and adding docs for it
2019-09-19 20:15:42 +01:00
David Shah
f8b3c13a53
Merge pull request #331 from xobs/precompiled-bba
Support precompiled BBA files
2019-09-19 20:15:12 +01:00
David Shah
8351ae275e Merge branch 'precompiled-bba' of https://github.com/xobs/nextpnr into xobs-precompiled-bba 2019-09-19 16:02:10 +01:00
David Shah
f8719a5717
Merge pull request #330 from zeldin/bba
bba: Default to native endian in bbasm
2019-09-19 15:57:23 +01:00
David Shah
6bb098b476 docs: Add Python API documentation
Signed-off-by: David Shah <dave@ds0.me>
2019-09-19 15:52:18 +01:00
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
5cd2b55f1f python: Adding helper functions for netlist modification
Signed-off-by: David Shah <dave@ds0.me>
2019-09-15 19:30:56 +01:00
David Shah
d5e4986e1b python: Refactor out bindings shared between ECP5 and iCE40
Signed-off-by: David Shah <dave@ds0.me>
2019-09-15 16:15:07 +01: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
Marcus Comstedt
2f9b04fd56 CMake: Generate chipdbs in build tree when building out-of-tree
Signed-off-by: Marcus Comstedt <marcus@mc.pp.se>
2019-09-15 13:42:17 +02:00
Marcus Comstedt
3d9ce8836c bba: Require explicit endianness flag, and supply it
Signed-off-by: Marcus Comstedt <marcus@mc.pp.se>
2019-09-15 12:30:03 +02:00
Marcus Comstedt
dd40c41ffc bba: Default to native endian in bbasm
Signed-off-by: Marcus Comstedt <marcus@mc.pp.se>
2019-09-15 09:43:40 +02: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