Skip to content

Commit fc2c423

Browse files
thomasahleclaude
andcommitted
Rename sync:circt → local:circt for clarity
'local:circt' better conveys that this copies built WASM artifacts into static/circt/ for local development. 'publish:circt' does the same plus uploads to the GitHub Release for CI/deploy. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 66dd9ff commit fc2c423

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Equivalent step-by-step:
4040
3. `npm run setup:pyodide`
4141
4. `npm run setup:circt`
4242
5. `npm run build:circt`
43-
6. `npm run sync:circt`
43+
6. `npm run local:circt`
4444
7. `npm run build`
4545

4646
The 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

docs/circt-uvm-browser-worker-repro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ without using lesson UI clicks.
1010

1111
```bash
1212
scripts/setup-circt.sh
13-
npm run sync:circt
13+
npm run local:circt
1414
```
1515

1616
## Repro command

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
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"

scripts/bootstrap-repro.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ scripts/setup-surfer.sh
1111
scripts/setup-pyodide.sh
1212
scripts/setup-circt.sh
1313
scripts/build-circt-wasm.sh
14-
npm run sync:circt
14+
npm run local:circt
1515
npm run build
1616

1717
echo "Bootstrap complete."

scripts/setup-circt.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Next:
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.)
6565
3. Optionally override artifact URLs with VITE_* env vars in .env:
6666
VITE_CIRCT_VERILOG_JS_URL / VITE_CIRCT_VERILOG_WASM_URL

0 commit comments

Comments
 (0)