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

Subversion Repositories minsoc

[/] [minsoc/] [trunk/] [syn/] [xilinx/] [Makefile] - Diff between revs 85 and 88

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

Rev 85 Rev 88
Line 6... Line 6...
ADV_DEBUG_ROOT = ${MINSOC_RTL}/adv_debug_sys/Hardware
ADV_DEBUG_ROOT = ${MINSOC_RTL}/adv_debug_sys/Hardware
DEBUG_RTL = ${ADV_DEBUG_ROOT}/adv_dbg_if/rtl/verilog
DEBUG_RTL = ${ADV_DEBUG_ROOT}/adv_dbg_if/rtl/verilog
OR1200_RTL = ${MINSOC_RTL}/or1200/rtl/verilog
OR1200_RTL = ${MINSOC_RTL}/or1200/rtl/verilog
ETH_RTL = ${MINSOC_RTL}/ethmac/rtl/verilog
ETH_RTL = ${MINSOC_RTL}/ethmac/rtl/verilog
BUILD_SUPPORT = $(MINSOC)/syn/buildSupport
BUILD_SUPPORT = $(MINSOC)/syn/buildSupport
 
PROJECT_DIR = $(MINSOC)/prj/xilinx
 
 
help:
help:
        @echo "  all: Synthesize and implement the SoC, then generate a bit stream"
        @echo "  all: Synthesize and implement the SoC, then generate a bit stream"
        @echo ""
        @echo ""
        @echo "  soc: Synthesize the SoC"
        @echo "  soc: Synthesize the SoC"
Line 44... Line 45...
        rm -rf *.xst *.xrpt *.srp *.lso *.log *.bld *.lst *.twr *.ise *.map *.mrp *.ngm *.pcf *.psr *.xml *.pad *.par *.ptwx *.bgn *.unroutes *.xpi minsoc_par_pad* *.xwbt *.html
        rm -rf *.xst *.xrpt *.srp *.lso *.log *.bld *.lst *.twr *.ise *.map *.mrp *.ngm *.pcf *.psr *.xml *.pad *.par *.ptwx *.bgn *.unroutes *.xpi minsoc_par_pad* *.xwbt *.html
distclean:
distclean:
        rm -rf *.ngc *.ncd *.ngd *.bit
        rm -rf *.ngc *.ncd *.ngd *.bit
        make clean
        make clean
 
 
minsoc_top.ngc: ${MINSOC_RTL}/*.v ${MINSOC_DEFINES}/minsoc_defines.v $(BUILD_SUPPORT)/minsoc_top.xst $(BUILD_SUPPORT)/minsoc_top.prj
minsoc_top.ngc: ${MINSOC_RTL}/*.v ${MINSOC_DEFINES}/minsoc_defines.v $(BUILD_SUPPORT)/minsoc_top.xst $(PROJECT_DIR)/minsoc_top.prj
        make prepare
        make prepare
        xst -ifn "$(BUILD_SUPPORT)/minsoc_top.xst"
        xst -ifn "$(BUILD_SUPPORT)/minsoc_top.xst"
 
 
uart: uart_top.ngc
uart: uart_top.ngc
uart_top.ngc: ${UART_RTL}/*.v $(BUILD_SUPPORT)/uart_top.xst $(BUILD_SUPPORT)/uart_top.prj
uart_top.ngc: ${UART_RTL}/*.v $(BUILD_SUPPORT)/uart_top.xst $(PROJECT_DIR)/uart_top.prj
        make prepare
        make prepare
        xst -ifn "$(BUILD_SUPPORT)/uart_top.xst"
        xst -ifn "$(BUILD_SUPPORT)/uart_top.xst"
 
 
eth: ethmac.ngc
eth: ethmac.ngc
ethmac.ngc: ${ETH_RTL}/*.v $(BUILD_SUPPORT)/ethmac.xst $(BUILD_SUPPORT)/ethmac.prj
ethmac.ngc: ${ETH_RTL}/*.v $(BUILD_SUPPORT)/ethmac.xst $(PROJECT_DIR)/ethmac.prj
        make prepare
        make prepare
        xst -ifn "$(BUILD_SUPPORT)/ethmac.xst"
        xst -ifn "$(BUILD_SUPPORT)/ethmac.xst"
 
 
debug: adbg_top.ngc
debug: adbg_top.ngc
adbg_top.ngc: ${DEBUG_RTL}/*.v $(BUILD_SUPPORT)/adbg_top.xst $(BUILD_SUPPORT)/adbg_top.prj
adbg_top.ngc: ${DEBUG_RTL}/*.v $(BUILD_SUPPORT)/adbg_top.xst $(PROJECT_DIR)/adbg_top.prj
        make prepare
        make prepare
        xst -ifn "$(BUILD_SUPPORT)/adbg_top.xst"
        xst -ifn "$(BUILD_SUPPORT)/adbg_top.xst"
 
 
or1200: or1200_top.ngc
or1200: or1200_top.ngc
or1200_top.ngc: ${OR1200_RTL}/*.v $(BUILD_SUPPORT)/or1200_top.xst $(BUILD_SUPPORT)/or1200_top.prj
or1200_top.ngc: ${OR1200_RTL}/*.v $(BUILD_SUPPORT)/or1200_top.xst $(PROJECT_DIR)/or1200_top.prj
        make prepare
        make prepare
        xst -ifn "$(BUILD_SUPPORT)/or1200_top.xst"
        xst -ifn "$(BUILD_SUPPORT)/or1200_top.xst"
 
 
minsoc.ngd: ${MINSOC}/backend/CONSTRAINT_FILE minsoc_top.ngc $(MODULES)
minsoc.ngd: ${MINSOC}/backend/CONSTRAINT_FILE minsoc_top.ngc $(MODULES)
        ngdbuild -p DEVICE_PART -uc ${MINSOC}/backend/CONSTRAINT_FILE -aul minsoc_top.ngc minsoc.ngd
        ngdbuild -p DEVICE_PART -uc ${MINSOC}/backend/CONSTRAINT_FILE -aul minsoc_top.ngc minsoc.ngd

powered by: WebSVN 2.1.0

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