Skip to content

Commit 77a9bfd

Browse files
committed
web: add DRC viewer widget
Add a DRC (Design Rule Check) viewer to the web UI with: - Server-side handlers for categories, markers, report loading, marker updates, and violation highlighting - Client-side DRC widget with category selector, violation tree, load/highlight, and file upload dialog - DRC overlay rendering in the tile generator - C++ and JS tests for the new functionality Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
1 parent c1bfb6e commit 77a9bfd

15 files changed

Lines changed: 2024 additions & 17 deletions

src/web/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
*~
22
test/results
33
test/node_modules
4+
node_modules
5+
package-lock.json
46
TAGS

src/web/BUILD

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ genrule(
3838
"src/schematic-widget.js",
3939
"src/charts-widget.js",
4040
"src/timing-widget.js",
41+
"src/drc-widget.js",
4142
"src/main.js",
4243
],
4344
outs = ["src/report_assets.cpp"],
@@ -61,6 +62,7 @@ genrule(
6162
" $(location src/schematic-widget.js)" +
6263
" $(location src/charts-widget.js)" +
6364
" $(location src/timing-widget.js)" +
65+
" $(location src/drc-widget.js)" +
6466
" $(location src/main.js)",
6567
tools = [":embed_report_assets"],
6668
)

src/web/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ add_custom_command(
3535
${CMAKE_CURRENT_SOURCE_DIR}/src/schematic-widget.js
3636
${CMAKE_CURRENT_SOURCE_DIR}/src/charts-widget.js
3737
${CMAKE_CURRENT_SOURCE_DIR}/src/timing-widget.js
38+
${CMAKE_CURRENT_SOURCE_DIR}/src/drc-widget.js
3839
${CMAKE_CURRENT_SOURCE_DIR}/src/main.js
3940
DEPENDS
4041
src/embed_report_assets.py
@@ -56,6 +57,7 @@ add_custom_command(
5657
src/schematic-widget.js
5758
src/charts-widget.js
5859
src/timing-widget.js
60+
src/drc-widget.js
5961
src/main.js
6062
COMMENT "Generating report_assets.cpp"
6163
)

src/web/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"dependencies": {
3+
"jsdom": "^29.0.2"
4+
}
5+
}

0 commit comments

Comments
 (0)