3
// USRP - Universal Software Radio Peripheral
5
// Copyright (C) 2006 Matt Ettus
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.
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.
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
22
// ====================================================================
23
// User control over what parts get included
25
// >>>> EDIT ONLY THIS SECTION <<<<
27
// ====================================================================
29
// Uncomment this for 2 rx channels (w/ halfband) & 2 transmit channels
30
`include "usrp_std_config_2rxhb_2tx.vh"
32
// Uncomment this for 4 rx channels (w/o halfband) & 0 transmit channels
33
//`include "usrp_std_config_4rx_0tx.vh"
35
// Add other "known to fit" configurations here...
37
// ====================================================================
39
// >>>> DO NOT EDIT BELOW HERE <<<<
41
// [The stuff from here down is derived from the stuff included above]
43
// N.B., *all* the remainder of the code should be conditionalized
46
// TX_ON, TX_EN_0, TX_EN_1, TX_EN_2, TX_EN_3, TX_CAP_NCHAN, TX_CAP_HB,
47
// RX_ON, RX_EN_0, RX_EN_1, RX_EN_2, RX_EN_3, RX_CAP_NCHAN, RX_CAP_HB,
48
// RX_NCO_ON, RX_CIC_ON
49
// ====================================================================
55
`define TX_CAP_NCHAN 3'd1
61
`define TX_CAP_NCHAN 3'd2
69
`define TX_CAP_NCHAN 3'd4
80
`define TX_CAP_NCHAN 3'd0
83
`endif // !ifdef TX_ON
85
// --------------------------------------------------------------------
91
`define RX_CAP_NCHAN 3'd1
97
`define RX_CAP_NCHAN 3'd2
105
`define RX_CAP_NCHAN 3'd4
114
`else // !ifdef RX_ON
116
`define RX_CAP_NCHAN 3'd0
119
`endif // !ifdef RX_ON