首次提交

This commit is contained in:
eesimple
2026-03-06 16:22:17 +08:00
commit b8fe9f77ec
465 changed files with 115939 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
echo off
#useage do addwave.tcl uart,where uart is a module name
#when there is mulitple matches,the 1st one is picked
puts "---->find by design unit:$1"
set patten *$1*;
#puts "---->find patten:$patten"
set rslt [find instance -bydu $patten];
#puts "---->find result:$rslt"
regsub {\{} $rslt "" rslt;
regsub {\}} $rslt "" rslt;
regsub { (.*)} $rslt "" path;
#puts "---->design path is:$path"
set signal_list ${path}/*
puts "---->list to be add to wave:$signal_list"
add wave $signal_list