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

Subversion Repositories System09

[/] [System09/] [trunk/] [src/] [sys09bug/] [Makefile] - Diff between revs 99 and 133

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 99 Rev 133
#-----------------------------------------------------------------
#-----------------------------------------------------------------
# File:    Makefile
# File:    Makefile
# Author:  David Burnette
# Author:  David Burnette
# Date:    April 7, 2008
# Date:    April 7, 2008
#
#
# Description:
# Description:
#  This makefile generates a VHDL file from assembler source.
#  This makefile generates a VHDL file from assembler source.
#  A translate rule in mktargets.mk handles compiling the .asm
#  A translate rule in mktargets.mk handles compiling the .asm
#  into a S19 record file (.S19) and then running s19tovhd to
#  into a S19 record file (.S19) and then running s19tovhd to
#  generate a VHDL file with SPARTAN3 block rams with INIT generics
#  generate a VHDL file with SPARTAN3 block rams with INIT generics
#  containing the binary data.
#  containing the binary data.
#
#
#  This particular makefile handles generating SYS09BUG code.
#  This particular makefile handles generating SYS09BUG code.
#
#
# Usage:
# Usage:
#  This make file is called recursively by the board-specific
#  This make file is called recursively by the board-specific
#  makefiles in the 'rtl' directory. The targets generated by
#  makefiles in the 'rtl' directory. The targets generated by
#  this makefile are:
#  this makefile are:
#
#
#    make                     - makes all variants
#    make                     - makes all variants
#    make all                 - makes all variants
#    make all                 - makes all variants
#    make sys09swt.vhd        - For SWTPc compatible computers
#    make sys09swt.vhd        - For SWTPc compatible computers
#    make sys09ads.vhd        - For Ackerman Digital 6809 S100 board
#    make sys09ads.vhd        - For Ackerman Digital 6809 S100 board
#    make sys09b3s.vhd        - For B3-SPARTAN2 with 16 bit IDE interface
#    make sys09b3s.vhd        - For B3-SPARTAN2 with 16 bit IDE interface
#    make sys09b5x.vhd        - For B5-X300 with CF card with 8 bit inte
#    make sys09b5x.vhd        - For B5-X300 with CF card with 8 bit inte
#    make sys09s3s.vhd        - For Digilent Spartan 3 starter board with RAM disk
#    make sys09s3s.vhd        - For Digilent Spartan 3 starter board with RAM disk
#    make sys09s3e.vhd        - For Digilent Spartan 3E starter board
#    make sys09s3e.vhd        - For Digilent Spartan 3E starter board
#    make sys09xes.vhd        - For XSA-3S100/XST-3.0 with 16 Bit IDE interface
#    make sys09xes.vhd        - For XSA-3S100/XST-3.0 with 16 Bit IDE interface
#
#
# Target Descriptions:
# Target Descriptions:
#  The first file listed is the source file passed to assembler.
#  The first file listed is the source file passed to assembler.
#  Remaining files are the dependencies. The option variables
#  Remaining files are the dependencies. The option variables
#  ADDRS, ENTITY and TOP_RAM are used by the s19tovhd utility
#  ADDRS, ENTITY and TOP_RAM are used by the s19tovhd utility
#  to generate the VHDL file.
#  to generate the VHDL file.
#
#
# Dependencies:
# Dependencies:
#  This makefile depends on def_rules.mk and the top-level
#  This makefile depends on def_rules.mk and the top-level
#  ram model file mon_rom_vhd.
#  ram model file mon_rom_vhd.
#
#
# Revision History:
# Revision History:
#   dgb 2008-04-07   Original version
#   dgb 2008-04-07   Original version
#   jek 2008-09-07   Added B3-SPARTAN2
#   jek 2008-09-07   Added B3-SPARTAN2
#
#
#-----------------------------------------------------------------
#-----------------------------------------------------------------
ifeq "$(MKFRAGS)" ""
ifeq "$(MKFRAGS)" ""
MKFRAGS := ../../mkfiles
MKFRAGS := ../../mkfiles
endif
endif
include $(MKFRAGS)/def_rules.mk
include $(MKFRAGS)/def_rules.mk
all: sys09swt.vhd sys09ads.vhd sys09b3s.vhd sys09b5x.vhd sys09s3s.vhd sys09s3e.vhd sys09xes.vhd
all: sys09swt.vhd sys09ads.vhd sys09b3s.vhd sys09b5x.vhd sys09s3s.vhd sys09s3e.vhd sys09xes.vhd
sys09swt.vhd: sys09swt.asm opt_swt.asm sys09equ.asm sys09bug.asm
sys09swt.vhd: sys09swt.asm opt_swt.asm sys09equ.asm sys09bug.asm
sys09swt.vhd: ADDRS=F800
sys09swt.vhd: ADDRS=F000 F800
sys09swt.vhd: ENTITY=SYS09BUG
sys09swt.vhd: ENTITY=SYS09BUG
sys09swt.vhd: TOP_RAM=mon_rom_vhd
sys09swt.vhd: TOP_RAM=mon_rom_vhd
sys09ads.vhd: sys09ads.asm opt_ads.asm sys09equ.asm sys09bug.asm
sys09ads.vhd: sys09ads.asm opt_ads.asm sys09equ.asm sys09bug.asm
sys09ads.vhd: ADDRS=F800
sys09ads.vhd: ADDRS=F800
sys09ads.vhd: ENTITY=SYS09BUG
sys09ads.vhd: ENTITY=SYS09BUG
sys09ads.vhd: TOP_RAM=mon_rom_vhd
sys09ads.vhd: TOP_RAM=mon_rom_vhd
sys09b3s.vhd: sys09b3s.asm opt_b3s.asm sys09equ.asm sys09bug.asm
sys09b3s.vhd: sys09b3s.asm opt_b3s.asm sys09equ.asm sys09bug.asm
sys09b3s.vhd: ADDRS=F800
sys09b3s.vhd: ADDRS=F800
sys09b3s.vhd: ENTITY=SYS09BUG
sys09b3s.vhd: ENTITY=SYS09BUG
sys09b3s.vhd: TOP_RAM=mon_rom_vhd
sys09b3s.vhd: TOP_RAM=mon_rom_vhd
sys09b5x.vhd: sys09b5x.asm opt_b5x.asm sys09equ.asm sys09bug.asm
sys09b5x.vhd: sys09b5x.asm opt_b5x.asm sys09equ.asm sys09bug.asm
sys09b5x.vhd: ADDRS=F800
sys09b5x.vhd: ADDRS=F800
sys09b5x.vhd: ENTITY=SYS09BUG
sys09b5x.vhd: ENTITY=SYS09BUG
sys09b5x.vhd: TOP_RAM=mon_rom_vhd
sys09b5x.vhd: TOP_RAM=mon_rom_vhd
sys09s3s.vhd: sys09s3s.asm opt_s3s.asm sys09equ.asm sys09bug.asm
sys09s3s.vhd: sys09s3s.asm opt_s3s.asm sys09equ.asm sys09bug.asm
sys09s3s.vhd: ADDRS=F000 F800
sys09s3s.vhd: ADDRS=F000 F800
sys09s3s.vhd: ENTITY=SYS09BUG
sys09s3s.vhd: ENTITY=SYS09BUG
sys09s3s.vhd: TOP_RAM=mon_rom_vhd
sys09s3s.vhd: TOP_RAM=mon_rom_vhd
sys09s3e.vhd: sys09s3e.asm opt_s3e.asm sys09equ.asm sys09bug.asm
sys09s3e.vhd: sys09s3e.asm opt_s3e.asm sys09equ.asm sys09bug.asm
sys09s3e.vhd: ADDRS=F000 F800
sys09s3e.vhd: ADDRS=F000 F800
sys09s3e.vhd: ENTITY=SYS09BUG
sys09s3e.vhd: ENTITY=SYS09BUG
sys09s3e.vhd: TOP_RAM=mon_rom_vhd
sys09s3e.vhd: TOP_RAM=mon_rom_vhd
sys09xes.vhd: sys09xes.asm opt_xes.asm sys09equ.asm sys09ide.asm sys09bug.asm
sys09xes.vhd: sys09xes.asm opt_xes.asm sys09equ.asm sys09ide.asm sys09bug.asm
sys09xes.vhd: ADDRS=F000 F800
sys09xes.vhd: ADDRS=F000 F800
sys09xes.vhd: ENTITY=SYS09BUG
sys09xes.vhd: ENTITY=SYS09BUG
sys09xes.vhd: TOP_RAM=mon_rom_vhd
sys09xes.vhd: TOP_RAM=mon_rom_vhd
.PHONY: clean
.PHONY: clean
clean:
clean:
        -$(RM) *.S19
        -$(RM) *.S19
        -$(RM) *.lst
        -$(RM) *.lst
        -$(RM) *.vhd
        -$(RM) *.vhd
 
 

powered by: WebSVN 2.1.0

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