summaryrefslogtreecommitdiff
path: root/usrp/fpga/tb/makesine.pl
diff options
context:
space:
mode:
Diffstat (limited to 'usrp/fpga/tb/makesine.pl')
-rwxr-xr-xusrp/fpga/tb/makesine.pl14
1 files changed, 0 insertions, 14 deletions
diff --git a/usrp/fpga/tb/makesine.pl b/usrp/fpga/tb/makesine.pl
deleted file mode 100755
index 9aebd6947..000000000
--- a/usrp/fpga/tb/makesine.pl
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/usr/bin/perl
-
-$angle = 0;
-$angle_inc = 2*3.14159/87.2;
-$amp = 1;
-$amp_rate = 1.0035;
-for($i=0;$i<3500;$i++)
- {
- printf("@(posedge clk);xi<= #1 16'h%x;yi<= #1 16'h%x;\n",65535&int($amp*cos($angle)),65535&int($amp*sin($angle)));
- $angle += $angle_inc;
- $amp *= $amp_rate;
- }
-
-printf("\$finish;\n");