summaryrefslogtreecommitdiff
path: root/bin/floall.sh
blob: eda9c2c02ae3f7cf1b1f22c1b6fbdfe6aac3ce1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/bash
FILES="BitsOps \
  BundleWire \
  ComplexAssign \
  Counter \
  DirChange \
  EnableShiftRegister \
  GCD \
  LFSR16 \
  MemorySearch \
  ModuleVec \
  Mul \
  Outer \
  RegisterVecShift \
  Risc \
  Rom \
  SIntOps \
  Stack \
  Tbl \
  UIntOps \
  VecApp \
  VecShiftRegister \
  VendingMachine"
        
for file in $FILES; do
    echo -n $file "-> "
    (cd generated; ../bin/fir2flo.sh $file > $file.out; grep "res = " $file.out)
done