File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -867,7 +867,7 @@ proc watchHAL {which} {
867867 set ::watchlist_len [llength $::watchlist]
868868 set i $::watchlist_len
869869 set label [lindex [split $which +] end]
870-
870+ set labelcolor black
871871 # check if pin or param is writable
872872 # var writable: 1=yes, 0=no, -1=writable but connected to signal
873873 set writable 0
@@ -887,16 +887,18 @@ proc watchHAL {which} {
887887 if {[lindex $showret 8] == " RW" } {
888888 set writable 1
889889 }
890+ set labelcolor # 6e3400
890891 } elseif {$vartype == " sig" } {
891892 # puts stderr "return $showret, found: [string first "<==" $showret 0]"
892893 # check if signal has no writers
893894 if {[string first " <==" $showret 0] < 0} {
894895 set writable 1
895896 }
897+ set labelcolor blue3
896898 }
897899
898900 $::cisp create text $::col1_width [expr $i * 20 + 13] -text $label \
899- -anchor w -tag $label
901+ -anchor w -tag $label -fill $labelcolor
900902 set canvaswidth [winfo width $::cisp]
901903 if {$type == " bit" } {
902904 $::cisp create oval 10 [expr $i * 20 + 5] 25 [expr $i * 20 + 20] \
You can’t perform that action at this time.
0 commit comments