OpenCores
URL https://opencores.org/ocsvn/amber/amber/trunk

Subversion Repositories amber

[/] [amber/] [trunk/] [hw/] [fpga/] [bin/] [Makefile] - Diff between revs 11 and 15

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 11 Rev 15
Line 73... Line 73...
# For Spartan-6 divide 800MHz by this number to get the frequency
# For Spartan-6 divide 800MHz by this number to get the frequency
#   e.g. AMBER_CLK_DIVIDER=24
#   e.g. AMBER_CLK_DIVIDER=24
#   800 MHz / 24 = 33.33 MHz
#   800 MHz / 24 = 33.33 MHz
# For Virtex-6 divide 1000MHz by this number to get the frequency
# For Virtex-6 divide 1000MHz by this number to get the frequency
 
 
 
# Select either the A23 or A25 core
 
ifdef A25
 
    AMBER_CORE = AMBER_A25_CORE
 
else
 
    AMBER_CORE =
 
endif
 
 
 
 
## FPGA type
## FPGA type
ifdef VIRTEX6
ifdef VIRTEX6
    # Virtex-6 device
    # Virtex-6 device
    XILINX_FPGA     = xc6vlx75tff784-3
    XILINX_FPGA     = xc6vlx75tff784-3
    XST_DEFINES     = XILINX_FPGA XILINX_VIRTEX6_FPGA  AMBER_CLK_DIVIDER=11
    XST_DEFINES     = XILINX_FPGA XILINX_VIRTEX6_FPGA  $(AMBER_CORE) AMBER_CLK_DIVIDER=12
    # Xilinx placement and timing constraints
    # Xilinx placement and timing constraints
    XST_CONST_FILE  = xv6_constraints.ucf
    XST_CONST_FILE  = xv6_constraints.ucf
else
else
    # The spartan6 device used on SP605 Development board
    # The spartan6 device used on SP605 Development board
    XILINX_FPGA     = xc6slx45tfgg484-3
    XILINX_FPGA     = xc6slx45tfgg484-3
    XST_DEFINES     = XILINX_FPGA XILINX_SPARTAN6_FPGA  AMBER_CLK_DIVIDER=20
    XST_DEFINES     = XILINX_FPGA XILINX_SPARTAN6_FPGA $(AMBER_CORE) AMBER_CLK_DIVIDER=20
    # Xilinx placement and timing constraints
    # Xilinx placement and timing constraints
    XST_CONST_FILE  = xs6_constraints.ucf
    XST_CONST_FILE  = xs6_constraints.ucf
endif
endif
 
 
 
 
Line 168... Line 176...
        @echo "              clean      Delete all temporary files"
        @echo "              clean      Delete all temporary files"
        @echo "              bitgen     Create a bitfile. Don't run trce"
        @echo "              bitgen     Create a bitfile. Don't run trce"
        @echo "              trce       Running timing analysis. Don't run buitgen"
        @echo "              trce       Running timing analysis. Don't run buitgen"
        @echo "              help       Print this message"
        @echo "              help       Print this message"
        @echo ""
        @echo ""
        @echo "Optional switches: VIRTEX6=1 WORK="
        @echo "Optional switches: VIRTEX6=1 A25=1 WORK="
        @echo "e.g. > make VIRTEX6=1 WORK=work1 map"
        @echo "e.g. > make VIRTEX6=1 WORK=work1 map"
 
 
clean :
clean :
        rm -Rf   $(WORK_FOLDER)/*
        rm -Rf   $(WORK_FOLDER)/*
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.