3 // USRP - Universal Software Radio Peripheral
5 // Copyright (C) 2006 Matt Ettus
6 // Copyright (C) 2006 Martin Dudok van Heel
8 // This program is free software; you can redistribute it and/or modify
9 // it under the terms of the GNU General Public License as published by
10 // the Free Software Foundation; either version 2 of the License, or
11 // (at your option) any later version.
13 // This program is distributed in the hope that it will be useful,
14 // but WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 // GNU General Public License for more details.
18 // You should have received a copy of the GNU General Public License
19 // along with this program; if not, write to the Free Software
20 // Foundation, Inc., 51 Franklin Street, Boston, MA 02110-1301 USA
23 // ====================================================================
24 // User control over what parts get included
26 // >>>> EDIT ONLY THIS SECTION <<<<
27 // Uncomment only ONE configuration
28 // ====================================================================
30 // ==== Multi usrp configurations ====
31 // Uncomment this for multi with 2 rx channels (w/ halfband) & 2 transmit channels
32 `include "usrp_multi_config_2rxhb_2tx.vh"
34 // Uncomment this for multi with 4 rx channels (w/o halfband) & 0 transmit channels
35 //`include "usrp_multi_config_4rx_0tx.vh"
37 // Uncomment this for multi with 2 rx channels (w/ halfband) & 0 transmit channels
38 //`include "usrp_multi_config_2rxhb_0tx.vh"
40 // Uncomment this for multi with 2 rx channels (w/o halfband) & 0 transmit channels
41 //`include "usrp_multi_config_2rx_0tx.vh"
43 // ==== Standard configurations (no multi support) ====
44 // Uncomment this for standard with 2 rx channels (w/ halfband) & 2 transmit channels
45 // `include "../usrp_std/usrp_std_config_2rxhb_2tx.vh"
47 // Uncomment this for standard with 4 rx channels (w/o halfband) & 0 transmit channels
48 //`include "../usrp_std/usrp_std_config_4rx_0tx.vh"
50 // Add other "known to fit" configurations here...
52 // ====================================================================
54 // >>>> DO NOT EDIT BELOW HERE <<<<
56 // [The stuff from here down is derived from the stuff included above]
58 // N.B., *all* the remainder of the code should be conditionalized
61 // TX_ON, TX_EN_0, TX_EN_1, TX_EN_2, TX_EN_3, TX_CAP_NCHAN, TX_CAP_HB,
62 // RX_ON, RX_EN_0, RX_EN_1, RX_EN_2, RX_EN_3, RX_CAP_NCHAN, RX_CAP_HB,
63 // RX_NCO_ON, RX_CIC_ON
64 // ====================================================================
66 `define COUNTER_32BIT_ON
73 `define TX_CAP_NCHAN 3'd1
79 `define TX_CAP_NCHAN 3'd2
87 `define TX_CAP_NCHAN 3'd4
98 `define TX_CAP_NCHAN 3'd0
101 `endif // !ifdef TX_ON
103 // --------------------------------------------------------------------
109 `define RX_CAP_NCHAN 3'd1
116 `define RX_CAP_NCHAN 3'd4
118 `define RX_CAP_NCHAN 3'd2
127 `define RX_CAP_NCHAN 3'd4
136 `else // !ifdef RX_ON
138 `define RX_CAP_NCHAN 3'd0
141 `endif // !ifdef RX_ON