sifive / fpga-shells

131 stars 65 forks source link

refactor tcl code that wasn't executing correctly #144

Closed erikdanie closed 4 years ago

erikdanie commented 4 years ago

For some reason, the previous code was always returning 0 (even after adding the upvar). When refactored this way, it works again