@spade-lang/spade 0.11.0-dev1014.734.85d3fc-34eeb3 → 0.11.0-dev20.20.85d3fc-eacb13
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/gen/resources-spade.js +0 -4
- package/gen/spade.core.wasm +0 -0
- package/package.json +2 -2
- package/gen/resources-yosys.js +0 -380
- package/gen/share/ice40/cells_sim.v +0 -3502
- package/gen/share/nexus/cells_xtra.v +0 -10389
- package/gen/share/quicklogic/qlf_k6n10f/bram_types_sim.v +0 -74035
- package/gen/share/quicklogic/qlf_k6n10f/brams_sim.v +0 -10949
- package/gen/share/xilinx/cells_sim.v +0 -4397
- package/gen/share/xilinx/cells_xtra.v +0 -34120
- package/gen/yosys.core.wasm +0 -0
- package/gen/yosys.core2.wasm +0 -0
- package/gen/yosys.core3.wasm +0 -0
- package/gen/yosys.core4.wasm +0 -0
package/gen/resources-spade.js
CHANGED
|
@@ -3,9 +3,5 @@ export const modules = {
|
|
|
3
3
|
"spade.core2.wasm": new URL("./spade.core2.wasm", import.meta.url),
|
|
4
4
|
"spade.core3.wasm": new URL("./spade.core3.wasm", import.meta.url),
|
|
5
5
|
"spade.core4.wasm": new URL("./spade.core4.wasm", import.meta.url),
|
|
6
|
-
"yosys.core.wasm": new URL("./yosys.core.wasm", import.meta.url),
|
|
7
|
-
"yosys.core2.wasm": new URL("./yosys.core2.wasm", import.meta.url),
|
|
8
|
-
"yosys.core3.wasm": new URL("./yosys.core3.wasm", import.meta.url),
|
|
9
|
-
"yosys.core4.wasm": new URL("./yosys.core4.wasm", import.meta.url),
|
|
10
6
|
};
|
|
11
7
|
export const filesystem = {};
|
package/gen/spade.core.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spade-lang/spade",
|
|
3
|
-
"version": "0.11.0-
|
|
3
|
+
"version": "0.11.0-dev20.20.85d3fc-eacb13",
|
|
4
4
|
"description": "Spade HDL (YoWASP package)",
|
|
5
5
|
"author": "Frans Skarman <frans.skarman@liu.se>",
|
|
6
6
|
"license": "ISC",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"esbuild": "^0.19.8"
|
|
32
32
|
},
|
|
33
33
|
"scripts": {
|
|
34
|
-
"transpile": "jco new ../spade/target/wasm32-
|
|
34
|
+
"transpile": "jco new ../spade/target/wasm32-wasip1/release/spade.wasm --wasi-command --output spade.wasm && jco transpile spade.wasm --instantiation sync --no-typescript --no-namespaced-exports --map 'wasi:io/*=runtime#io' --map 'wasi:cli/*=runtime#cli' --map 'wasi:clocks/*=runtime#*' --map 'wasi:filesystem/*=runtime#fs' --map 'wasi:random/*=runtime#random' --out-dir gen/",
|
|
35
35
|
"pack": "yowasp-pack-resources gen/resources-spade.js gen",
|
|
36
36
|
"build": "esbuild --bundle lib/api.js --outfile=gen/bundle.js --format=esm --platform=node --external:./resources-*.js",
|
|
37
37
|
"all": "npm run transpile && npm run pack && npm run build"
|