Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

simulator -index fix

  • Loading branch information...
commit 870c4b394c981d243d9bd9b92a7b825f6b6a48af 1 parent d7b750f
@pdt authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/extensions/sim_base.tcl
View
4 src/extensions/sim_base.tcl
@@ -170,8 +170,8 @@ proc sim_base::execute {propsVar {exe ""} {index ""}} {
}
}
- if {$exe == "gui" && ($indices != "" || [llength $indices] != 1 ||
- ![string is integer $indices])} {
+ if {$exe == "gui" && $indices != "" && [llength $indices] != 1 && \
+ ![string is integer $indices]} {
error "-index should be set to number of testbench to run"
}
executeSim props $exe $indices
Please sign in to comment.
Something went wrong with that request. Please try again.