commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r5929 - in gnuradio/branches/developers/jcorgan/sar/gr


From: jcorgan
Subject: [Commit-gnuradio] r5929 - in gnuradio/branches/developers/jcorgan/sar/gr-sar-fe/src/fpga: lib tb
Date: Tue, 10 Jul 2007 11:09:07 -0600 (MDT)

Author: jcorgan
Date: 2007-07-10 11:09:06 -0600 (Tue, 10 Jul 2007)
New Revision: 5929

Modified:
   
gnuradio/branches/developers/jcorgan/sar/gr-sar-fe/src/fpga/lib/dac_interface.v
   gnuradio/branches/developers/jcorgan/sar/gr-sar-fe/src/fpga/lib/sar_rx.v
   gnuradio/branches/developers/jcorgan/sar/gr-sar-fe/src/fpga/lib/sar_tx.v
   gnuradio/branches/developers/jcorgan/sar/gr-sar-fe/src/fpga/tb/sar_tb.v
Log:
Clean up.


Property changes on: 
gnuradio/branches/developers/jcorgan/sar/gr-sar-fe/src/fpga/lib/dac_interface.v
___________________________________________________________________
Name: svn:executable
   - *


Property changes on: 
gnuradio/branches/developers/jcorgan/sar/gr-sar-fe/src/fpga/lib/sar_rx.v
___________________________________________________________________
Name: svn:executable
   - *


Property changes on: 
gnuradio/branches/developers/jcorgan/sar/gr-sar-fe/src/fpga/lib/sar_tx.v
___________________________________________________________________
Name: svn:executable
   - *

Modified: 
gnuradio/branches/developers/jcorgan/sar/gr-sar-fe/src/fpga/tb/sar_tb.v
===================================================================
--- gnuradio/branches/developers/jcorgan/sar/gr-sar-fe/src/fpga/tb/sar_tb.v     
2007-07-09 05:18:49 UTC (rev 5928)
+++ gnuradio/branches/developers/jcorgan/sar/gr-sar-fe/src/fpga/tb/sar_tb.v     
2007-07-10 17:09:06 UTC (rev 5929)
@@ -28,9 +28,9 @@
 `define bmFR_SAR_MODE_TX        32'h0002
 `define bmFR_SAR_MODE_RX        32'h0004
 
-`define FR_SAR_AMPL             7'd65
-`define FR_SAR_FREQ             7'd66
-`define FR_SAR_PHASE            7'd67
+// FIXME - make common include file
+`define FR_SAR_AMPL             7'd69              // FR_USER_5
+`define FR_SAR_FREQ             7'd72              // FR_USER_8
 
 module sar_tb;
 
@@ -169,15 +169,6 @@
       end
    endtask // frequency
 
-   // Waveform frequency
-   task set_phase;
-      input [31:0] phase;
-
-      begin
-        write_cfg_register(`FR_SAR_PHASE, phase);
-      end
-   endtask // frequency
-
    // Test transmitter functionality
    task test_tx;
       input [5:0] degree;
@@ -186,7 +177,6 @@
         #20 set_reset(1);
         #20 set_amplitude(14'h1FFF);
         #20 set_frequency(32'h07FFFFFF);
-        #20 set_phase(0);
         #20 enable_tx(1);
         #20 enable_rx(0);
         #20 set_reset(0);
@@ -201,4 +191,3 @@
        #100 $finish;
      end
 endmodule
-





reply via email to

[Prev in Thread] Current Thread [Next in Thread]