Improved xilinx "bram1" test
authorClifford Wolf <clifford@clifford.at>
Thu, 9 Apr 2015 15:12:12 +0000 (17:12 +0200)
committerClifford Wolf <clifford@clifford.at>
Thu, 9 Apr 2015 15:12:12 +0000 (17:12 +0200)
techlibs/xilinx/tests/bram1.sh

index 1f0359ac9dbff9988bf6e8fa1eae4b612d66cd96..7451a1b3e25c7f672190441f9884b646e88f2b3a 100644 (file)
@@ -56,7 +56,8 @@ echo "Testing..."
 ${MAKE:-make} -f bram1.mk
 echo
 
-echo "Used rules:" $(grep -h 'Selected rule.*with efficiency' bram1_*/synth.log | gawk '{ print $3; }' | sort -u)
+echo "Used bram types:"
+grep -h 'Mapping to bram type' bram1_*/synth.log | sort | uniq -c
 
 echo "Cleaning up..."
 rm -rf bram1_cmp bram1.mk bram1_[0-9]*/