File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ Equivalent step-by-step:
40403 . ` npm run setup:pyodide `
41414 . ` npm run setup:circt `
42425 . ` npm run build:circt `
43- 6 . ` npm run sync :circt `
43+ 6 . ` npm run local :circt `
44447 . ` npm run build `
4545
4646The CIRCT wasm build script enforces conservative resource limits by default:
@@ -66,7 +66,7 @@ CIRCT_WASM_TARGETS="circt-verilog circt-sim circt-bmc circt-sim-vpi" npm run bui
6666- ` npm run setup:pyodide `
6767- ` npm run setup:circt `
6868- ` npm run build:circt `
69- - ` npm run sync :circt `
69+ - ` npm run local :circt `
7070- ` npm run bootstrap:repro `
7171
7272## Optional Runtime Overrides
@@ -112,7 +112,7 @@ In `.env` (copy `.env.example`):
112112 4 . run ` scripts/setup-pyodide.sh `
113113 5 . run ` scripts/setup-circt.sh ` (pinned CIRCT ref)
114114 6 . run ` scripts/build-circt-wasm.sh `
115- 7 . run ` npm run sync :circt `
115+ 7 . run ` npm run local :circt `
116116 8 . run ` npm run build `
117117
118118## E2E
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ without using lesson UI clicks.
1010
1111``` bash
1212scripts/setup-circt.sh
13- npm run sync :circt
13+ npm run local :circt
1414```
1515
1616## Repro command
Original file line number Diff line number Diff line change 1414 "build:circt" : " ./scripts/build-circt-wasm.sh" ,
1515 "bootstrap:repro" : " ./scripts/bootstrap-repro.sh" ,
1616 "repro:vpi:node" : " node scripts/repro-cocotb-vpi-put-value.mjs" ,
17- "sync :circt" : " ./scripts/sync-circt-wasm.sh" ,
17+ "local :circt" : " ./scripts/sync-circt-wasm.sh" ,
1818 "publish:circt" : " ./scripts/sync-circt-wasm.sh --publish" ,
1919 "test" : " vitest run" ,
2020 "test:e2e" : " playwright test"
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ scripts/setup-surfer.sh
1111scripts/setup-pyodide.sh
1212scripts/setup-circt.sh
1313scripts/build-circt-wasm.sh
14- npm run sync :circt
14+ npm run local :circt
1515npm run build
1616
1717echo " Bootstrap complete."
Original file line number Diff line number Diff line change 6060 cmake ... -DCIRCT_SIM_WASM=ON -DCIRCT_BMC_WASM=ON
6161 VPI-capable sim for cocotb lessons (additional build target):
6262 cmake ... -DCIRCT_SIM_WASM_VPI=ON
63- 2. Run scripts/sync- circt-wasm.sh to copy artifacts to static/circt/ .
63+ 2. Run npm run local: circt (or publish:circt to also push to GitHub Release) .
6464 (The script also patches browser-compatibility issues in circt-sim.js.)
65653. Optionally override artifact URLs with VITE_* env vars in .env:
6666 VITE_CIRCT_VERILOG_JS_URL / VITE_CIRCT_VERILOG_WASM_URL
You can’t perform that action at this time.
0 commit comments