Imported Upstream version 3.2.2
[debian/gnuradio] / gr-radar-mono / src / fpga / lib / radar_config.vh
1 // -*- verilog -*-
2 //
3 //  USRP - Universal Software Radio Peripheral
4 //
5 //  Copyright (C) 2007 Corgan Enterprises LLC
6 //
7 //  This program is free software; you can redistribute it and/or modify
8 //  it under the terms of the GNU General Public License as published by
9 //  the Free Software Foundation; either version 2 of the License, or
10 //  (at your option) any later version.
11 //
12 //  This program is distributed in the hope that it will be useful,
13 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
14 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 //  GNU General Public License for more details.
16 //
17 //  You should have received a copy of the GNU General Public License
18 //  along with this program; if not, write to the Free Software
19 //  Foundation, Inc., 51 Franklin Street, Boston, MA  02110-1301  USA
20 //
21
22 `include "../../../../usrp/firmware/include/fpga_regs_common.v"
23 `include "../../../../usrp/firmware/include/fpga_regs_standard.v"
24
25 `define FR_RADAR_MODE           `FR_USER_0
26 `define bmFR_RADAR_MODE_RESET   32'b1 << 0
27 `define bmFR_RADAR_TXSIDE       32'b1 << 1
28 `define bmFR_RADAR_LOOP         32'b1 << 2
29 `define bmFR_RADAR_META         32'b1 << 3
30 `define bmFR_RADAR_DERAMP       32'b1 << 4
31 `define bmFR_RADAR_CHIRPS       32'b11 << 5
32 `define bmFR_RADAR_DEBUG        32'b1 << 7
33
34 `define FR_RADAR_TON            `FR_USER_1
35 `define FR_RADAR_TSW            `FR_USER_2
36 `define FR_RADAR_TLOOK          `FR_USER_3
37 `define FR_RADAR_TIDLE          `FR_USER_4
38 `define FR_RADAR_AMPL           `FR_USER_5
39 `define FR_RADAR_FSTART         `FR_USER_6
40 `define FR_RADAR_FINCR          `FR_USER_7
41 `define FR_RADAR_ATRDEL         `FR_USER_8