summaryrefslogtreecommitdiffstats
path: root/Src/osmocombb/src/host/calypso_pll/pll.pl
diff options
context:
space:
mode:
authorTom2011-08-16 13:19:29 +0200
committerTom2011-08-16 13:19:29 +0200
commit7be0213030d2ce50e618e72b5a90e4c5b63c59a4 (patch)
tree98f7f3b0d38c863153f6d95a7129d867c43b652a /Src/osmocombb/src/host/calypso_pll/pll.pl
parentremoved whole lib since compiled files were on index (diff)
downloadimsi-catcher-detection-7be0213030d2ce50e618e72b5a90e4c5b63c59a4.tar.gz
imsi-catcher-detection-7be0213030d2ce50e618e72b5a90e4c5b63c59a4.tar.xz
imsi-catcher-detection-7be0213030d2ce50e618e72b5a90e4c5b63c59a4.zip
checked in clean osmocombb lib
Diffstat (limited to 'Src/osmocombb/src/host/calypso_pll/pll.pl')
-rwxr-xr-xSrc/osmocombb/src/host/calypso_pll/pll.pl10
1 files changed, 10 insertions, 0 deletions
diff --git a/Src/osmocombb/src/host/calypso_pll/pll.pl b/Src/osmocombb/src/host/calypso_pll/pll.pl
new file mode 100755
index 0000000..52c9131
--- /dev/null
+++ b/Src/osmocombb/src/host/calypso_pll/pll.pl
@@ -0,0 +1,10 @@
+#!/usr/bin/perl
+
+my $f_in = 26*1000*1000;
+
+for (my $mult = 1; $mult < 31; $mult++) {
+ for (my $div = 0; $div < 3; $div++) {
+ my $fout = $f_in * ($mult / ($div+1));
+ printf("%03.1f MHz (mult=%2u, div=%1u)\n", $fout/(1000*1000), $mult, $div);
+ }
+}