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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [orpsocv2/] [boards/] [xilinx/] [ml501/] [backend/] [par/] [bin/] [Makefile] - Diff between revs 449 and 478

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

Rev 449 Rev 478
Line 150... Line 150...
 
 
$(BIT_FILE_FOR_SPI): $(PARRED_NCD)
$(BIT_FILE_FOR_SPI): $(PARRED_NCD)
        @echo; echo "\t#### Generating .bit file for SPI load ####";
        @echo; echo "\t#### Generating .bit file for SPI load ####";
        $(Q)( . $(XILINX_SETTINGS_SCRIPT) && \
        $(Q)( . $(XILINX_SETTINGS_SCRIPT) && \
        bitgen -w $(XILINX_FLAGS) -g StartUpClk:CClk $< $@ )
        bitgen -w $(XILINX_FLAGS) -g StartUpClk:CClk $< $@ )
 
 
 
# Generate MCS with bootloader specified by user, if BOOTLOADER_BIN defined.
ifeq ($(BOOTLOADER_BIN),)
ifeq ($(BOOTLOADER_BIN),)
$(MCS_FILE): $(BIT_FILE_FOR_SPI)
$(MCS_FILE): $(BIT_FILE_FOR_SPI)
        @echo; echo "\t#### Generating .mcs file for SPI load ####";
        @echo; echo "\t#### Generating .mcs file for SPI load ####";
        $(Q)( . $(XILINX_SETTINGS_SCRIPT) && \
        $(Q)( . $(XILINX_SETTINGS_SCRIPT) && \
        promgen -spi -p mcs -o $@ -s $(SPI_FLASH_SIZE_KBYTES) -u 0 $< )
        promgen -spi -p mcs -w -o $@ -s $(SPI_FLASH_SIZE_KBYTES) -u 0 $< )
else
else
$(MCS_FILE): $(BIT_FILE_FOR_SPI)
$(MCS_FILE): $(BIT_FILE_FOR_SPI)
        @echo; echo "\t#### Generating .mcs file for SPI load ####";
        @echo; echo "\t#### Generating .mcs file with bootloader for SPI load ####";
        $(Q)( . $(XILINX_SETTINGS_SCRIPT) && \
        $(Q)( . $(XILINX_SETTINGS_SCRIPT) && \
        promgen -spi -p mcs -o $@ -s $(SPI_FLASH_SIZE_KBYTES) -u 0 $< \
        promgen -spi -p mcs -w -o $@ -s $(SPI_FLASH_SIZE_KBYTES) -u 0 $< \
        -data_file up $(SPI_BOOTLOADER_SW_OFFSET_HEX) $(BOOTLOADER_BIN) \
        -data_file up $(SPI_BOOTLOADER_SW_OFFSET_HEX) $(BOOTLOADER_BIN) \
         )
         )
endif
endif
 
 
#this target downloads the bitstream to the target fpga
#this target downloads the bitstream to the target fpga

powered by: WebSVN 2.1.0

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