summaryrefslogtreecommitdiff
path: root/gr-radar-mono/src/fpga/lib/radar_config.vh
diff options
context:
space:
mode:
Diffstat (limited to 'gr-radar-mono/src/fpga/lib/radar_config.vh')
-rw-r--r--gr-radar-mono/src/fpga/lib/radar_config.vh31
1 files changed, 31 insertions, 0 deletions
diff --git a/gr-radar-mono/src/fpga/lib/radar_config.vh b/gr-radar-mono/src/fpga/lib/radar_config.vh
new file mode 100644
index 000000000..d17cda123
--- /dev/null
+++ b/gr-radar-mono/src/fpga/lib/radar_config.vh
@@ -0,0 +1,31 @@
+// -*- verilog -*-
+//
+// USRP - Universal Software Radio Peripheral
+//
+// Copyright (C) 2007 Corgan Enterprises LLC
+//
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation; either version 2 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin Street, Boston, MA 02110-1301 USA
+//
+
+`include "../../../../usrp/firmware/include/fpga_regs_common.v"
+`include "../../../../usrp/firmware/include/fpga_regs_standard.v"
+
+`define FR_RADAR_MODE `FR_USER_0
+`define bmFR_RADAR_MODE_RESET 32'h0001
+`define bmFR_RADAR_MODE_TX 32'h0002
+`define bmFR_RADAR_MODE_RX 32'h0004
+
+`define FR_RADAR_AMPL `FR_USER_5
+`define FR_RADAR_FREQ1N `FR_USER_8