File: build_instructions.md

package info (click to toggle)
uhd 3.9.5-1~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 106,500 kB
  • sloc: cpp: 65,914; ansic: 59,349; python: 13,242; vhdl: 7,651; tcl: 2,668; sh: 1,634; makefile: 1,031; xml: 557; pascal: 230; csh: 94; asm: 20; perl: 11
file content (68 lines) | stat: -rw-r--r-- 2,480 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# Generation 2 USRP Build Documentation

## Dependencies and Requirements

### Dependencies

The USRP FPGA build system requires a UNIX-like environment with the following dependencies

- [Xilinx ISE 12.2](http://www.xilinx.com/support/download/index.html/content/xilinx/en/downloadNav/design-tools/v12_2.html)
- [GNU Make](https://www.gnu.org/software/make/)
- (Recommended) [GNU Bash](https://www.gnu.org/software/bash/)

### Requirements

- [Xilinx ISE Platform Requirements](http://www.xilinx.com/support/documentation/sw_manuals/xilinx12_2/irn.pdf)

### What FPGA does my USRP have?

- USRP N200: Spartan® 3A-DSP 1800
- USRP N210: Spartan® 3A-DSP 3400
- USRP E100: Spartan® 3A-DSP 1800
- USRP E110: Spartan® 3A-DSP 3400

## Build Instructions

- Download and install [Xilinx ISE 12.2](http://www.xilinx.com/support/download/index.html/content/xilinx/en/downloadNav/design-tools/v12_2.html)

- To add xtclsh to the PATH and to setup up the Xilinx build environment run
  + `source <install_dir>/Xilinx/12.2/ISE_DS/settings64.sh` (64-bit platform)
  + `source <install_dir>/Xilinx/12.2/ISE_DS/settings32.sh` (32-bit platform)

- Navigate to `usrp2/top/{project}` where project is:
  + N2x0: For USRP N200 and USRP N210
  + E1x0: For USRP E100 and USRP E110

- To build a binary configuration bitstream run `make <target>`
  where the target is specific to each product. To get a list of supported targets run
  `make help`.

- The build output will be specific to the product and will be located in the
  `usrp2/top/{project}/build` directory. Run `make help` for more information.

### N2x0 Targets and Outputs

#### Supported Targets
- N200R3:  Builds the USRP N200 Rev 3 design.
- N200R4:  Builds the USRP N200 Rev 4 design.
- N210R3:  Builds the USRP N210 Rev 3 design.
- N210R4:  Builds the USRP N210 Rev 4 design.

#### Outputs
- `build-<target>/u2plus.bit` : Configuration bitstream with header
- `build-<target>/u2plus.bin` : Configuration bitstream without header
- `build-<target>/u2plus.syr` : Xilinx system report
- `build-<target>/u2plus.twr` : Xilinx timing report

### E1x0 Targets and Outputs

#### Supported Targets
- E100:  Builds the USRP E100 design.
- E110:  Builds the USRP E110 design.

#### Outputs
- `build-<target>/E1x0.bit` : Configuration bitstream with header
- `build-<target>/E1x0.bin` : Configuration bitstream without header
- `build-<target>/E1x0.syr` : Xilinx system report
- `build-<target>/E1x0.twr` : Xilinx timing report