diff options
| author | Jack | 2015-10-06 16:03:48 -0700 |
|---|---|---|
| committer | Jack | 2015-10-06 16:03:48 -0700 |
| commit | 45946bba6942378970ae42502f7b2829c2d3c58f (patch) | |
| tree | f114016cb92250c37cd6e0e9f672c95daa1dea2a /utils | |
| parent | 0a9dfbe9f58338fc8af11015f6e9227e0cb46ea4 (diff) | |
Added ability to test scala FIRRTL
Diffstat (limited to 'utils')
| -rwxr-xr-x | utils/bin/firrtl-scala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/utils/bin/firrtl-scala b/utils/bin/firrtl-scala new file mode 100755 index 00000000..4d208178 --- /dev/null +++ b/utils/bin/firrtl-scala @@ -0,0 +1,7 @@ +#!/bin/bash + +# This may be a brittle way to find $(root_dir)/utils/bin, is there a better way? +path=`dirname "$0"` +cmd="java -cp ${path}/firrtl.jar firrtl.Test ${@:1}" +eval $cmd + |
