@@ -109,16 +109,23 @@ This project provides packages for:
109
109
* [ Project Apicula upstream repository] [ apicula ] ;
110
110
* [ package repository] [ nextpnr-pkg ] ;
111
111
* PyPI packages: [ <img src =" https://img.shields.io/pypi/v/yowasp-nextpnr-ice40?label=yowasp-nextpnr-ice40&color=green " alt =" yowasp-nextpnr-ice40 " class =" badge " >] ( https://pypi.org/project/yowasp-nextpnr-ice40/ ) , [ <img src =" https://img.shields.io/pypi/v/yowasp-nextpnr-ecp5?label=yowasp-nextpnr-ecp5&color=green " alt =" yowasp-nextpnr-ecp5 " class =" badge " >] ( https://pypi.org/project/yowasp-nextpnr-ecp5/ ) , [ <img src =" https://img.shields.io/pypi/v/yowasp-nextpnr-machxo2?label=yowasp-nextpnr-machxo2&color=green " alt =" yowasp-nextpnr-machxo2 " class =" badge " >] ( https://pypi.org/project/yowasp-nextpnr-machxo2/ ) , [ <img src =" https://img.shields.io/pypi/v/yowasp-nextpnr-nexus?label=yowasp-nextpnr-nexus&color=green " alt =" yowasp-nextpnr-nexus " class =" badge " >] ( https://pypi.org/project/yowasp-nextpnr-nexus/ ) , [ <img src =" https://img.shields.io/pypi/v/yowasp-nextpnr-gowin?label=yowasp-nextpnr-gowin&color=green " alt =" yowasp-nextpnr-gowin " class =" badge " >] ( https://pypi.org/project/yowasp-nextpnr-gowin/ ) .
112
+ * NPM packages: , [ <img src =" https://img.shields.io/npm/v/@yowasp/nextpnr-ice40?label=@yowasp/nextpnr-ice40&color=green " alt =" @yowasp/nextpnr-ice40 " class =" badge " >] ( https://npmjs.com/package/@yowasp/nextpnr-ice40 ) , [ <img src =" https://img.shields.io/npm/v/@yowasp/nextpnr-ecp5?label=@yowasp/nextpnr-ecp5&color=green " alt =" @yowasp/nextpnr-ecp5 " class =" badge " >] ( https://npmjs.com/package/@yowasp/nextpnr-ecp5 ) , [ <img src =" https://img.shields.io/npm/v/@yowasp/nextpnr-machxo2?label=@yowasp/nextpnr-machxo2&color=green " alt =" @yowasp/nextpnr-machxo2 " class =" badge " >] ( https://npmjs.com/package/@yowasp/nextpnr-machxo2 ) , [ <img src =" https://img.shields.io/npm/v/@yowasp/nextpnr-nexus?label=@yowasp/nextpnr-nexus&color=green " alt =" @yowasp/nextpnr-nexus " class =" badge " >] ( https://npmjs.com/package/@yowasp/nextpnr-nexus ) .
113
+ * openFPGALoader:
114
+ * [ upstream repository] [ openFPGALoader ] ;
115
+ * [ package repository] [ openFPGALoader-pkg ] ;
116
+ * NPM packages: [ <img src =" https://img.shields.io/npm/v/@yowasp/openfpgaloader?label=@yowasp/openfpgaloader&color=green " alt =" @yowasp/openfpgaloader " class =" badge " >] ( https://npmjs.com/package/@yowasp/openfpgaloader ) .
112
117
113
118
[ yosys ] : https://yosyshq.net/yosys/
114
119
[ nextpnr ] : https://github.com/YosysHQ/nextpnr/
115
120
[ icestorm ] : https://github.com/YosysHQ/icestorm/
116
121
[ trellis ] : https://github.com/YosysHQ/prjtrellis/
117
122
[ oxide ] : https://github.com/gatecat/prjoxide
118
123
[ apicula ] : https://github.com/YosysHQ/apicula
124
+ [ openFPGALoader ] : https://github.com/trabucayre/openFPGALoader
119
125
120
126
[ yosys-pkg ] : https://github.com/YoWASP/yosys
121
127
[ nextpnr-pkg ] : https://github.com/YoWASP/nextpnr
128
+ [ openFPGALoader-pkg ] : https://github.com/YoWASP/openFPGALoader-web
122
129
123
130
## Which platforms are supported?
124
131
@@ -195,19 +202,19 @@ ICEPACK=yowasp-icepack
195
202
196
203
### ... in a browser?
197
204
198
- These instructions assume the use of [ ES Modules] [ esm ] , and make use of the [ unpkg ] [ ] content delivery network. It is also possible to distribute the YoWASP binaries by adding the relevant ` @yowasp/* ` NPM package as a dependency using a bundler such as [ webpack] ( https://webpack.js.org/ ) .
205
+ These instructions assume the use of [ ES Modules] [ esm ] , and make use of the [ jsDelivr ] [ ] content delivery network. It is also possible to distribute the YoWASP binaries by adding the relevant ` @yowasp/* ` NPM package as a dependency using a bundler such as [ webpack] ( https://webpack.js.org/ ) .
199
206
200
207
To use Yosys, import the [ @yowasp/yosys ] [ ] NPM package from the CDN and call its ` runYosys ` entry point:
201
208
202
209
``` js
203
- import { runYosys } from ' https://unpkg.com /@yowasp/yosys/gen/bundle-browser.js' ;
210
+ import { runYosys } from ' https://cdn.jsdelivr.net/npm /@yowasp/yosys/gen/bundle-browser.js' ;
204
211
await runYosys ([" --version" ]);
205
212
```
206
213
207
214
The [ JavaScript runtime README] [ runtime-js-README ] describes how to transfer files to and from the application.
208
215
209
216
[ esm ] : https://hacks.mozilla.org/2018/03/es-modules-a-cartoon-deep-dive/
210
- [ unpkg ] : https://unpkg .com/
217
+ [ jsDelivr ] : https://www.jsdelivr .com/
211
218
[ @yowasp/yosys ] : https://www.npmjs.com/package/@yowasp/yosys
212
219
[ runtime-js-README ] : https://github.com/YoWASP/runtime-js#readme
213
220
0 commit comments