Skip to content

Commit fc6df71

Browse files
oharboeclaude
andcommitted
Add GUI view command to demo-update skill and tensor_accelerator README
demo-update step 0: show user how to open the GUI for the most recent stage via `bazelisk run //<project>:<module>_<stage> gui_<stage>`. tensor_accelerator README: add View section, fix build commands to use bazelisk and target CTS (current most recent stage). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 91c3818 commit fc6df71

File tree

2 files changed

+24
-5
lines changed

2 files changed

+24
-5
lines changed

.claude/commands/demo-update.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,21 @@ Update statistics and screenshots for a demo project.
44

55
The user will specify a project name (e.g., `vlsiffra`). Follow these steps:
66

7+
## 0. View the Result
8+
9+
Ensure the project README has a quick-start GUI command **at the very top**,
10+
right after the title and description. This lets anyone view the latest
11+
results immediately:
12+
13+
````markdown
14+
```bash
15+
bazelisk run //<project>:<top_module>_<stage> gui_<stage>
16+
```
17+
````
18+
19+
Update `<stage>` to the most recent completed stage (e.g., `cts`, `route`, `final`).
20+
Available stages: `floorplan`, `place`, `cts`, `grt`, `route`, `final`.
21+
722
## 1. Run the Flow
823

924
Use `/demo-debug <project>` to build incrementally through each stage (_synth → _route → _final),

tensor_accelerator/README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Tensor Accelerator — 4-Level Hierarchical TPU
22

3+
```bash
4+
bazelisk run //tensor_accelerator:tensor_accelerator_top_cts gui_cts
5+
```
6+
37
[tensor_accelerator](https://github.com/profitmonk/tensor_accelerator) by profitmonk
48
is an FPGA tensor processing unit with a 4-level macro hierarchy, designed for
59
INT8 matrix multiply workloads.
@@ -50,16 +54,16 @@ its ASAP7 performance through CTS.
5054

5155
```bash
5256
# Level 0: MAC PE (leaf macro)
53-
bazel build //tensor_accelerator:mac_pe_place
57+
bazelisk build //tensor_accelerator:mac_pe_place
5458

5559
# Level 1: Systolic array (mac_pe macros)
56-
bazel build //tensor_accelerator:systolic_array_generate_abstract
60+
bazelisk build //tensor_accelerator:systolic_array_generate_abstract
5761

5862
# Level 2: Tensor Processing Cluster (systolic_array macro)
59-
bazel build //tensor_accelerator:tensor_processing_cluster_generate_abstract
63+
bazelisk build //tensor_accelerator:tensor_processing_cluster_generate_abstract
6064

61-
# Level 3: Top (4× TPC macros) — through placement
62-
bazel build //tensor_accelerator:tensor_accelerator_top_place
65+
# Level 3: Top (4× TPC macros) — through CTS
66+
bazelisk build //tensor_accelerator:tensor_accelerator_top_cts
6367
```
6468

6569
## References

0 commit comments

Comments
 (0)