Squashed B200 FPGA Source. Code from Josh Blum, Ian Buckley, and Matt Ettus.
Original-commit: 0df4b801a34697f2058b4a7b95e08d2a0576c9db
This commit is contained in:
@@ -0,0 +1,127 @@
|
||||
#
|
||||
# Copyright 2012-2013 Ettus Research LLC
|
||||
#
|
||||
|
||||
##################################################
|
||||
# Project Setup
|
||||
##################################################
|
||||
TOP_MODULE := b200
|
||||
BUILD_DIR := build-$(NAME)/
|
||||
export PROJ_FILE := $(BUILD_DIR)$(TOP_MODULE).ise
|
||||
|
||||
# set me in a custom makefile
|
||||
CUSTOM_SRCS =
|
||||
CUSTOM_DEFS =
|
||||
|
||||
include ../Makefile.common
|
||||
include ../../lib/gpif2/Makefile.srcs
|
||||
include ../../lib/fifo/Makefile.srcs
|
||||
include ../../lib/dsp/Makefile.srcs
|
||||
include ../../lib/control/Makefile.srcs
|
||||
include ../../lib/packet_proc/Makefile.srcs
|
||||
include ../../lib/timing/Makefile.srcs
|
||||
include ../../lib/vita/Makefile.srcs
|
||||
include ../../lib/wishbone/Makefile.srcs
|
||||
|
||||
B200_COREGEN_SRCS = \
|
||||
coregen/b200_clk_gen.v \
|
||||
coregen/fifo_4k_2clk.xco \
|
||||
coregen/fifo_short_2clk.xco \
|
||||
coregen/chipscope_icon.v \
|
||||
coregen/chipscope_icon.xco \
|
||||
coregen/chipscope_ila_32.v \
|
||||
coregen/chipscope_ila_32.xco \
|
||||
coregen/chipscope_ila_128.v \
|
||||
coregen/chipscope_ila_128.xco \
|
||||
coregen/chipscope_ila_256.v \
|
||||
coregen/chipscope_ila_256.xco
|
||||
|
||||
|
||||
|
||||
##################################################
|
||||
# Project Properties
|
||||
##################################################
|
||||
export PROJECT_PROPERTIES := \
|
||||
family "Spartan6" \
|
||||
device $(DEVICE) \
|
||||
package fgg484 \
|
||||
speed -3 \
|
||||
top_level_module_type "HDL" \
|
||||
synthesis_tool "XST (VHDL/Verilog)" \
|
||||
simulator "ISE Simulator (VHDL/Verilog)" \
|
||||
"Preferred Language" "Verilog" \
|
||||
"Enable Message Filtering" FALSE \
|
||||
"Display Incremental Messages" FALSE
|
||||
|
||||
##################################################
|
||||
# Sources
|
||||
##################################################
|
||||
TOP_SRCS = \
|
||||
b200.v \
|
||||
b200_core.v \
|
||||
radio_b200.v \
|
||||
catcap_ddr_cmos.v \
|
||||
catgen_ddr_cmos.v \
|
||||
catcodec_ddr_cmos.v \
|
||||
b200.ucf \
|
||||
timing.ucf \
|
||||
S6CLK2PIN.v \
|
||||
$(B200_COREGEN_SRCS)
|
||||
|
||||
SOURCES = $(abspath $(TOP_SRCS)) $(FIFO_SRCS) \
|
||||
$(CONTROL_LIB_SRCS) $(SDR_LIB_SRCS) \
|
||||
$(TIMING_SRCS) $(OPENCORES_SRCS) \
|
||||
$(VRT_SRCS) $(COREGEN_SRCS) \
|
||||
$(GPIF2_SRCS) $(PACKET_PROC_SRCS) \
|
||||
$(WISHBONE_SRCS) \
|
||||
$(TIMING_SRCS) \
|
||||
$(DSP_SRCS) \
|
||||
$(VITA_SRCS)
|
||||
|
||||
##################################################
|
||||
# Process Properties
|
||||
##################################################
|
||||
SYNTHESIZE_PROPERTIES = \
|
||||
"Pack I/O Registers into IOBs" Yes \
|
||||
"Optimization Effort" High \
|
||||
"Optimize Instantiated Primitives" TRUE \
|
||||
"Register Balancing" Yes \
|
||||
"Use Clock Enable" Auto \
|
||||
"Use Synchronous Reset" Auto \
|
||||
"Use Synchronous Set" Auto \
|
||||
"Verilog Macros" "SPARTAN6=1 $(EXTRA_DEFS) $(CUSTOM_DEFS)"
|
||||
|
||||
#"Number of Clock Buffers" 8 \
|
||||
|
||||
TRANSLATE_PROPERTIES = \
|
||||
"Macro Search Path" "$(shell pwd)/../../coregen/"
|
||||
|
||||
MAP_PROPERTIES = \
|
||||
"Generate Detailed MAP Report" TRUE \
|
||||
"Allow Logic Optimization Across Hierarchy" TRUE \
|
||||
"Map to Input Functions" 4 \
|
||||
"Optimization Strategy (Cover Mode)" Speed \
|
||||
"Pack I/O Registers/Latches into IOBs" "For Inputs and Outputs" \
|
||||
"Perform Timing-Driven Packing and Placement" TRUE \
|
||||
"Map Effort Level" High \
|
||||
"Extra Effort" Normal \
|
||||
"Combinatorial Logic Optimization" TRUE \
|
||||
"Register Duplication" TRUE
|
||||
|
||||
PLACE_ROUTE_PROPERTIES = \
|
||||
"Place & Route Effort Level (Overall)" High
|
||||
|
||||
STATIC_TIMING_PROPERTIES = \
|
||||
"Number of Paths in Error/Verbose Report" 10 \
|
||||
"Report Type" "Error Report"
|
||||
|
||||
GEN_PROG_FILE_PROPERTIES = \
|
||||
"Create Binary Configuration File" TRUE \
|
||||
"Done (Output Events)" 5 \
|
||||
"Enable Bitstream Compression" TRUE \
|
||||
"Unused IOB Pins" "Pull Up"
|
||||
|
||||
#"Configuration Rate" 6 \
|
||||
#"Enable Outputs (Output Events)" 6 \
|
||||
|
||||
SIM_MODEL_PROPERTIES = ""
|
||||
Reference in New Issue
Block a user