@silinx/nextpnr-himbaechel-spartan6 0.0.0-stage → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md ADDED
@@ -0,0 +1,40 @@
1
+ # Changelog of @silinx/nextpnr-himbaechel-spartan6
2
+
3
+ Each version is the fork's tag `spartan6-v<version>`, its GitHub release (the package and the chip databases) and its
4
+ npm package. A version's changes are written here before it is tagged. Before 1.0.0 a minor version may change the
5
+ interface the [README](README.md) describes.
6
+
7
+ ## 0.4.1
8
+
9
+ The same nextpnr and chip databases as 0.4.0, published again: npm kept 0.4.0 staged when its first, manual publication was not completed, and refuses that version number.
10
+
11
+ ## 0.4.0
12
+
13
+ The chip databases built from a newer Silinx commit (`SILINX_REF`). That commit has the PIPs Silinx has measured with ISE
14
+ but keeps out of its own flow until this chip database has them: its `bitdb/s6/s6-pips-held.json` (pmnmalo/Silinx#3349),
15
+ which `export-unknown-pips.mjs` counts as known.
16
+ - The slave OLOGIC2's `D1 -> OQ` route-through in the top bank's TIOI_INNER and TIOI_OUTER tiles (pmnmalo/Silinx#3269,
17
+ #3350). With it, a port LOC'd on one of their pads (A2, C4 and others: 30 pads of the XC6SLX16, 23 of the XC6SLX45)
18
+ takes an output. 0.3.0 failed on such a port ("Failed to route arc ... to X5Y0/TIOB_O3_PINW", pmnmalo/Silinx#3152).
19
+ Its delay is the nodes' delay from Silinx's timing model, as for every PIP.
20
+ - The single pads' four PIPs from the pad's wire to its IBUF (`TIOB_SINGLE` / `BIOB_SINGLE` `*_IBUF{0,1}_PINW ->
21
+ *_IBUF{0,1}`, no bits; pmnmalo/Silinx#3169). With them, a port LOC'd on G9, F9, U11 or V11 (XC6SLX16) or on G9, F9,
22
+ R7 or T7 (XC6SLX45) takes an input.
23
+ - The BSCAN corner tiles' PIPs that Silinx measured since 0.3.0 (pmnmalo/Silinx#3254). The packer does not place a
24
+ BSCAN_SPARTAN6 yet.
25
+ - The tests also route `tests/pads.txt`'s netlists on both devices, with no warning; the native build makes both
26
+ devices' chip databases.
27
+
28
+ ## 0.3.1
29
+
30
+ The package on npm (pmnmalo/Silinx#3141), as `@silinx/nextpnr-himbaechel-spartan3e` is: a `spartan6-v*` tag's run stages
31
+ it with its provenance (npm's trusted publishing), public once the maintainer approves it.
32
+ - nextpnr and the chip databases are 0.3.0's (the same code, the same `SILINX_REF`): the same placements, routes and
33
+ frequencies.
34
+ - The version is `npm/package.json`'s, with its section here: `ci/build-wasm.sh` refuses a tag that is not it.
35
+ - This changelog and a README in the package.
36
+
37
+ ## 0.3.0 and before
38
+
39
+ 0.1.0 to 0.3.0 were GitHub releases of the fork only (the tags `spartan6-v0.1.0` … `spartan6-v0.3.0`, the package's
40
+ `.tgz` and the chip databases attached), which Silinx installed from the release's `.tgz`.
package/README.md CHANGED
@@ -1,3 +1,33 @@
1
- # Temporary Holding Version
1
+ # @silinx/nextpnr-himbaechel-spartan6
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ nextpnr-himbaechel with the Xilinx Spartan-6 micro-architecture (`spartan6`), in WebAssembly, run by YoWASP's runtime
4
+ (`@yowasp/runtime`), in Node and in browsers. It places and routes the Spartan-6 designs of
5
+ [Silinx ISE](https://github.com/pmnmalo/Silinx-ISE), whose bitgen writes the bitstream. Its source is the fork
6
+ [pmnmalo/nextpnr-spartan](https://github.com/pmnmalo/nextpnr-spartan) (branch `silinx`,
7
+ `himbaechel/uarch/spartan6/`), which says how it is built.
8
+
9
+ Devices: the XC6SLX16 and XC6SLX45 (CSG324): the Digilent Nexys3 and Atlys boards.
10
+
11
+ ```js
12
+ import { runNextpnrHimbaechelSpartan6, chipdb, Exit } from '@silinx/nextpnr-himbaechel-spartan6';
13
+
14
+ const part = 'xc6slx16csg324-3';
15
+ const files = await runNextpnrHimbaechelSpartan6(
16
+ ['--device', part, '--chipdb', 'chipdb.bin', '--json', 'design.json', '--write', 'routed.json', '--seed', '1'],
17
+ { 'chipdb.bin': await chipdb(part), 'design.json': netlist },
18
+ { stdout: bytes => {}, stderr: bytes => {} });
19
+ const routed = JSON.parse(files['routed.json']);
20
+ ```
21
+
22
+ The module (`lib/api.d.ts`): `runNextpnrHimbaechelSpartan6`, `commands`, `Exit`, `version`, `devices`,
23
+ `deviceOf(part)`, `chipdbUrl(part)` and `chipdb(part)`. The chip databases are one file per device,
24
+ `chipdb/chipdb-<device>.bin.gz` in the package (`<device>`: `xc6slx16`), and the same files are assets of the fork's
25
+ GitHub release `spartan6-v<version>`; `chipdb(part)` reads or fetches one and decompresses it, for the nextpnr of the
26
+ same package version only.
27
+
28
+ The package is before 1.0.0: a minor version may change its interface. Silinx pins an exact version. The changes of
29
+ each version: [CHANGELOG.md](CHANGELOG.md).
30
+
31
+ ## Licence
32
+
33
+ nextpnr's licence, ISC (the fork's `COPYING`).
Binary file
Binary file