nextpnr/common
whitequark e7bb04769d Port nextpnr-{ice40,ecp5} to WASI.
This involves very few changes, all typical to WASM ports:
  * WASM doesn't currently support threads or atomics so those are
    disabled.
  * WASM doesn't currently support exceptions so the exception
    machinery is stubbed out.
  * WASM doesn't (and can't) have mmap(), so an emulation library is
    used. That library currently doesn't support MAP_SHARED flags,
    so MAP_PRIVATE is used instead.

There is also an update to bring ECP5 bbasm CMake rules to parity
with iCE40 ones, since although it is possible to embed chipdb into
nextpnr on WASM, a 200 MB WASM file has very few practical uses.

The README is not updated and there is no included toolchain file
because at the moment it's not possible to build nextpnr with
upstream boost and wasi-libc. Boost requires a patch (merged, will
be available in boost 1.74.0), wasi-libc requires a few unmerged
patches.
2020-05-23 20:57:26 +00:00
..
arch_pybindings_shared.h svg: Basic SVG graphics rendering 2020-02-15 11:35:51 +00:00
archcheck.cc Add pip locations 2018-08-09 10:39:53 +02:00
chain_utils.h common/chain_utils: Don't allow overlapping chains 2018-12-19 10:36:55 +00:00
command.cc Add missing --top option 2020-05-09 19:47:03 +01:00
command.h clangformat run 2019-06-25 18:19:25 +02:00
design_utils.cc design_utils: Set port.net to null when disconnecting 2020-04-24 16:13:07 +02:00
design_utils.h ecp5: Preserve top level IO properly 2019-10-18 15:58:57 +01:00
handle_error.cc Added BUILD_GUI, BUILD_PYTHON and BUILD_TESTS cmake options, 2018-06-23 14:32:49 +02:00
log.cc Renamed LogLevel members, to prevent issue with system defines on Windows 2018-12-05 19:58:38 +01:00
log.h Renamed LogLevel members, to prevent issue with system defines on Windows 2018-12-05 19:58:38 +01:00
nextpnr.cc Port nextpnr-{ice40,ecp5} to WASI. 2020-05-23 20:57:26 +00:00
nextpnr.h Port nextpnr-{ice40,ecp5} to WASI. 2020-05-23 20:57:26 +00:00
place_common.cc moved some context variables to settings 2019-06-15 15:23:51 +02:00
place_common.h placer1: Consider regions during placement 2019-03-22 10:31:54 +00:00
placer1.cc placer1: Add routeability optimisation (off by default) 2020-02-12 10:41:27 +00:00
placer1.h placer1: Add routeability optimisation (off by default) 2020-02-12 10:41:27 +00:00
placer_heap.cc Port nextpnr-{ice40,ecp5} to WASI. 2020-05-23 20:57:26 +00:00
placer_heap.h HeAP: Add X and Y scaling factors for asymmetric arches 2020-02-12 10:41:27 +00:00
pybindings.cc python: Expose PlaceStrength enum and isValidBelForCell on ecp5 2020-01-26 20:32:02 +00:00
pybindings.h python: Developing context wrappers for maps 2018-07-04 14:55:24 +02:00
pycontainers.h python: Also convert regular map keys to string 2020-04-24 18:23:03 +01:00
pywrappers.h python: Expose PlaceStrength enum and isValidBelForCell on ecp5 2020-01-26 20:32:02 +00:00
router1.cc Merge pull request #391 from YosysHQ/router2-upstream 2020-02-04 16:08:08 +00:00
router1.h clangformat run 2019-06-25 18:19:25 +02:00
router2.cc Port nextpnr-{ice40,ecp5} to WASI. 2020-05-23 20:57:26 +00:00
router2.h router2: Make magic numbers configurable 2020-02-03 11:38:31 +00:00
rulecheck.cc rulecheck: Improve message printed at start 2018-11-29 19:28:15 +00:00
sdf.cc sdf: Working on support for CVC 2019-10-24 12:37:07 +01:00
svg.cc svg: Basic SVG graphics rendering 2020-02-15 11:35:51 +00:00
timing_opt.cc timing_opt: Add locks to optimise() 2019-04-16 16:03:12 +02:00
timing_opt.h clangformat run 2019-06-25 18:19:25 +02:00
timing.cc timing: Improve robustness to dangling/undriven logic 2020-03-17 10:07:21 +00:00
timing.h timing_opt: Functions to calculate arc delay limits 2018-12-06 10:53:01 +00:00
util.h Replace assertion failure with error 2020-03-13 11:35:09 +00:00
version.h.in Change version to git describe and make set-able from outside 2020-01-11 11:38:45 +01:00