root / usrp2 / top / B100 / Makefile.B100 @ 7e6a0855
History | View | Annotate | Download (2.82 KB)
| 1 | 6f172696 | Matt Ettus | # |
|---|---|---|---|
| 2 | # Copyright 2008 Ettus Research LLC |
||
| 3 | 5772aa4b | Matt Ettus | # |
| 4 | 6f172696 | Matt Ettus | |
| 5 | ################################################## |
||
| 6 | # Project Setup |
||
| 7 | ################################################## |
||
| 8 | 8cb8a683 | Matt Ettus | TOP_MODULE := B100 |
| 9 | BUILD_DIR := build-B100/ |
||
| 10 | 6f172696 | Matt Ettus | export PROJ_FILE := $(BUILD_DIR)$(TOP_MODULE).ise |
| 11 | |||
| 12 | 014ea687 | Matt Ettus | include ../Makefile.common |
| 13 | include ../../fifo/Makefile.srcs |
||
| 14 | include ../../control_lib/Makefile.srcs |
||
| 15 | include ../../sdr_lib/Makefile.srcs |
||
| 16 | include ../../serdes/Makefile.srcs |
||
| 17 | include ../../simple_gemac/Makefile.srcs |
||
| 18 | include ../../timing/Makefile.srcs |
||
| 19 | include ../../opencores/Makefile.srcs |
||
| 20 | include ../../vrt/Makefile.srcs |
||
| 21 | include ../../udp/Makefile.srcs |
||
| 22 | include ../../coregen/Makefile.srcs |
||
| 23 | include ../../gpif/Makefile.srcs |
||
| 24 | 4f94819a | Josh Blum | include ../../custom/Makefile.srcs |
| 25 | 014ea687 | Matt Ettus | |
| 26 | 6f172696 | Matt Ettus | ################################################## |
| 27 | # Project Properties |
||
| 28 | ################################################## |
||
| 29 | export PROJECT_PROPERTIES := \ |
||
| 30 | family "Spartan3A" \ |
||
| 31 | device XC3S1400A \ |
||
| 32 | package ft256 \ |
||
| 33 | speed -4 \ |
||
| 34 | top_level_module_type "HDL" \ |
||
| 35 | synthesis_tool "XST (VHDL/Verilog)" \ |
||
| 36 | simulator "ISE Simulator (VHDL/Verilog)" \ |
||
| 37 | "Preferred Language" "Verilog" \ |
||
| 38 | "Enable Message Filtering" FALSE \ |
||
| 39 | "Display Incremental Messages" FALSE |
||
| 40 | |||
| 41 | ################################################## |
||
| 42 | # Sources |
||
| 43 | ################################################## |
||
| 44 | 014ea687 | Matt Ettus | TOP_SRCS = \ |
| 45 | 8cb8a683 | Matt Ettus | B100.v \ |
| 46 | 014ea687 | Matt Ettus | u1plus_core.v \ |
| 47 | 8cb8a683 | Matt Ettus | B100.ucf \ |
| 48 | 014ea687 | Matt Ettus | timing.ucf |
| 49 | |||
| 50 | SOURCES = $(abspath $(TOP_SRCS)) $(FIFO_SRCS) \ |
||
| 51 | $(CONTROL_LIB_SRCS) $(SDR_LIB_SRCS) $(SERDES_SRCS) \ |
||
| 52 | $(SIMPLE_GEMAC_SRCS) $(TIMING_SRCS) $(OPENCORES_SRCS) \ |
||
| 53 | $(VRT_SRCS) $(UDP_SRCS) $(COREGEN_SRCS) $(EXTRAM_SRCS) \ |
||
| 54 | 4f94819a | Josh Blum | $(GPIF_SRCS) $(CUSTOM_SRCS) |
| 55 | 6f172696 | Matt Ettus | |
| 56 | ################################################## |
||
| 57 | # Process Properties |
||
| 58 | ################################################## |
||
| 59 | 5772aa4b | Matt Ettus | SYNTHESIZE_PROPERTIES = \ |
| 60 | "Number of Clock Buffers" 8 \ |
||
| 61 | 6f172696 | Matt Ettus | "Pack I/O Registers into IOBs" Yes \ |
| 62 | "Optimization Effort" High \ |
||
| 63 | "Optimize Instantiated Primitives" TRUE \ |
||
| 64 | "Register Balancing" Yes \ |
||
| 65 | "Use Clock Enable" Auto \ |
||
| 66 | "Use Synchronous Reset" Auto \ |
||
| 67 | "Use Synchronous Set" Auto |
||
| 68 | |||
| 69 | 5772aa4b | Matt Ettus | TRANSLATE_PROPERTIES = \ |
| 70 | 6f172696 | Matt Ettus | "Macro Search Path" "$(shell pwd)/../../coregen/" |
| 71 | |||
| 72 | 5772aa4b | Matt Ettus | MAP_PROPERTIES = \ |
| 73 | 7e085dae | Matt Ettus | "Generate Detailed MAP Report" TRUE \ |
| 74 | 6f172696 | Matt Ettus | "Allow Logic Optimization Across Hierarchy" TRUE \ |
| 75 | "Map to Input Functions" 4 \ |
||
| 76 | "Optimization Strategy (Cover Mode)" Speed \ |
||
| 77 | "Pack I/O Registers/Latches into IOBs" "For Inputs and Outputs" \ |
||
| 78 | "Perform Timing-Driven Packing and Placement" TRUE \ |
||
| 79 | "Map Effort Level" High \ |
||
| 80 | "Extra Effort" Normal \ |
||
| 81 | "Combinatorial Logic Optimization" TRUE \ |
||
| 82 | "Register Duplication" TRUE |
||
| 83 | |||
| 84 | 5772aa4b | Matt Ettus | PLACE_ROUTE_PROPERTIES = \ |
| 85 | 6f172696 | Matt Ettus | "Place & Route Effort Level (Overall)" High |
| 86 | |||
| 87 | 5772aa4b | Matt Ettus | STATIC_TIMING_PROPERTIES = \ |
| 88 | 6f172696 | Matt Ettus | "Number of Paths in Error/Verbose Report" 10 \ |
| 89 | "Report Type" "Error Report" |
||
| 90 | |||
| 91 | 5772aa4b | Matt Ettus | GEN_PROG_FILE_PROPERTIES = \ |
| 92 | 6f172696 | Matt Ettus | "Configuration Rate" 6 \ |
| 93 | "Create Binary Configuration File" TRUE \ |
||
| 94 | "Done (Output Events)" 5 \ |
||
| 95 | "Enable Bitstream Compression" TRUE \ |
||
| 96 | cf69f2b3 | Matt Ettus | "Enable Outputs (Output Events)" 6 \ |
| 97 | "Unused IOB Pins" "Pull Up" |
||
| 98 | 6f172696 | Matt Ettus | |
| 99 | 5772aa4b | Matt Ettus | SIM_MODEL_PROPERTIES = "" |