diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rwxr-xr-x | bin/appall.sh | 7 | ||||
| -rwxr-xr-x | bin/build.sh | 6 | ||||
| -rwxr-xr-x | bin/buildall.sh | 6 | ||||
| -rwxr-xr-x | bin/buildtest.sh | 4 | ||||
| -rwxr-xr-x | bin/filter | 14 | ||||
| -rw-r--r-- | bin/filter.cpp | 15 | ||||
| -rwxr-xr-x | bin/fir2flo.sh | 6 | ||||
| -rwxr-xr-x | bin/firall.sh | 5 | ||||
| -rwxr-xr-x | bin/flo2app.sh | 12 | ||||
| -rwxr-xr-x | bin/floall.sh | 6 | ||||
| -rwxr-xr-x | bin/test.sh | 3 | ||||
| -rwxr-xr-x | bin/testall.sh | 6 | ||||
| -rwxr-xr-x | bin/to-fir.sh | 3 |
14 files changed, 0 insertions, 94 deletions
@@ -1,6 +1,5 @@ generated/ /lib/firrtl.jar -/bin/ .classpath .idea .project diff --git a/bin/appall.sh b/bin/appall.sh deleted file mode 100755 index 32f1c118..00000000 --- a/bin/appall.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash -shift 1 - -for file in "$@"; do - echo $file - (cd generated; $CHISEL_BIN/flo2app.sh $file >& $file.appout) -done diff --git a/bin/build.sh b/bin/build.sh deleted file mode 100755 index 79d5e22a..00000000 --- a/bin/build.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash - -DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) -$DIR/to-fir.sh $1 -(cd generated; $DIR/fir2flo.sh $1) -(cd generated; $DIR/flo2app.sh $1) diff --git a/bin/buildall.sh b/bin/buildall.sh deleted file mode 100755 index fac75cd6..00000000 --- a/bin/buildall.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) -shift 1 -for file in "$@"; do - $DIR/build.sh $file -done diff --git a/bin/buildtest.sh b/bin/buildtest.sh deleted file mode 100755 index 1dd96ecb..00000000 --- a/bin/buildtest.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash - -$CHISEL_BIN/build.sh $1 -$CHISEL_BIN/test.sh $1 diff --git a/bin/filter b/bin/filter deleted file mode 100755 index 0038ba47..00000000 --- a/bin/filter +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env python -import fileinput -import sys - -for line in fileinput.input(): - for ch in line: - och = ch - if ch == '#': - och = '_' - elif ch == '$': - och = "::" - sys.stdout.write(och) - - diff --git a/bin/filter.cpp b/bin/filter.cpp deleted file mode 100644 index 1da9440b..00000000 --- a/bin/filter.cpp +++ /dev/null @@ -1,15 +0,0 @@ -#include <stdio.h> - -int main (int argc, char* argv[]) { - int c; - for (;;) { - c = getchar(); - if (c == EOF) break; - if (c == '#' || c == '?') - putchar('_'); - else if (c == '$') { - putchar(':'); putchar(':'); - } else - putchar(c); - } -} diff --git a/bin/fir2flo.sh b/bin/fir2flo.sh deleted file mode 100755 index 3d425a4a..00000000 --- a/bin/fir2flo.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash - -$CHISEL_BIN/firrtl -i $1.fir -o $1.flo -X flo # -x X # -p c # tkwTgc -if [ $? ] ; then - $CHISEL_BIN/filter < $1.flo > tmp && mv tmp $1.flo -fi diff --git a/bin/firall.sh b/bin/firall.sh deleted file mode 100755 index f9cae29f..00000000 --- a/bin/firall.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -shift 1 -for file in "$@"; do - sbt "run $file" -done diff --git a/bin/flo2app.sh b/bin/flo2app.sh deleted file mode 100755 index f02ba8c0..00000000 --- a/bin/flo2app.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash - -flo-llvm $1.flo # --vcdtmp -if [ $? ] ; then - echo FLO-LLVM DONE - flo-llvm-release $1.flo --harness > $1-harness.cpp -fi -if [ $? ] ; then - echo FLO-LLVM-RELEASE DONE - clang++ -o $1 $1-harness.cpp $1.o - echo GPP DONE -fi diff --git a/bin/floall.sh b/bin/floall.sh deleted file mode 100755 index 31dca1e2..00000000 --- a/bin/floall.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -shift 1 -for file in "$@"; do - echo -n $file "-> " - (cd generated; $CHISEL_BIN/fir2flo.sh $file > $file.out; grep "res = " $file.out) -done diff --git a/bin/test.sh b/bin/test.sh deleted file mode 100755 index d9be3e0e..00000000 --- a/bin/test.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -sbt "run $1 --test" diff --git a/bin/testall.sh b/bin/testall.sh deleted file mode 100755 index 93bb67ed..00000000 --- a/bin/testall.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) -shift 1 -for file in "$@"; do - $DIR/test.sh $file > generated/$file.tst-out -done diff --git a/bin/to-fir.sh b/bin/to-fir.sh deleted file mode 100755 index 53127ec7..00000000 --- a/bin/to-fir.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -sbt "run $1" |
