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

Subversion Repositories System09

[/] [System09/] [trunk/] [src/] [sys09bug/] [Makefile] - Blame information for rev 99

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 59 davidgb
#-----------------------------------------------------------------
2
# File:    Makefile
3
# Author:  David Burnette
4
# Date:    April 7, 2008
5
#
6
# Description:
7
#  This makefile generates a VHDL file from assembler source.
8
#  A translate rule in mktargets.mk handles compiling the .asm
9
#  into a S19 record file (.S19) and then running s19tovhd to
10
#  generate a VHDL file with SPARTAN3 block rams with INIT generics
11
#  containing the binary data.
12
#
13
#  This particular makefile handles generating SYS09BUG code.
14
#
15
# Usage:
16
#  This make file is called recursively by the board-specific
17
#  makefiles in the 'rtl' directory. The targets generated by
18
#  this makefile are:
19
#
20
#    make                     - makes all variants
21
#    make all                 - makes all variants
22 99 davidgb
#    make sys09swt.vhd        - For SWTPc compatible computers
23
#    make sys09ads.vhd        - For Ackerman Digital 6809 S100 board
24
#    make sys09b3s.vhd        - For B3-SPARTAN2 with 16 bit IDE interface
25 59 davidgb
#    make sys09b5x.vhd        - For B5-X300 with CF card with 8 bit inte
26
#    make sys09s3s.vhd        - For Digilent Spartan 3 starter board with RAM disk
27
#    make sys09s3e.vhd        - For Digilent Spartan 3E starter board
28 99 davidgb
#    make sys09xes.vhd        - For XSA-3S100/XST-3.0 with 16 Bit IDE interface
29 59 davidgb
#
30
# Target Descriptions:
31
#  The first file listed is the source file passed to assembler.
32
#  Remaining files are the dependencies. The option variables
33
#  ADDRS, ENTITY and TOP_RAM are used by the s19tovhd utility
34
#  to generate the VHDL file.
35
#
36
# Dependencies:
37
#  This makefile depends on def_rules.mk and the top-level
38
#  ram model file mon_rom_vhd.
39
#
40
# Revision History:
41
#   dgb 2008-04-07   Original version
42 99 davidgb
#   jek 2008-09-07   Added B3-SPARTAN2
43 59 davidgb
#
44
#-----------------------------------------------------------------
45
 
46
ifeq "$(MKFRAGS)" ""
47
MKFRAGS := ../../mkfiles
48
endif
49
 
50
include $(MKFRAGS)/def_rules.mk
51
 
52 99 davidgb
all: sys09swt.vhd sys09ads.vhd sys09b3s.vhd sys09b5x.vhd sys09s3s.vhd sys09s3e.vhd sys09xes.vhd
53 59 davidgb
 
54 99 davidgb
sys09swt.vhd: sys09swt.asm opt_swt.asm sys09equ.asm sys09bug.asm
55
sys09swt.vhd: ADDRS=F800
56
sys09swt.vhd: ENTITY=SYS09BUG
57
sys09swt.vhd: TOP_RAM=mon_rom_vhd
58 59 davidgb
 
59 99 davidgb
sys09ads.vhd: sys09ads.asm opt_ads.asm sys09equ.asm sys09bug.asm
60
sys09ads.vhd: ADDRS=F800
61
sys09ads.vhd: ENTITY=SYS09BUG
62
sys09ads.vhd: TOP_RAM=mon_rom_vhd
63
 
64
sys09b3s.vhd: sys09b3s.asm opt_b3s.asm sys09equ.asm sys09bug.asm
65
sys09b3s.vhd: ADDRS=F800
66
sys09b3s.vhd: ENTITY=SYS09BUG
67
sys09b3s.vhd: TOP_RAM=mon_rom_vhd
68
 
69 59 davidgb
sys09b5x.vhd: sys09b5x.asm opt_b5x.asm sys09equ.asm sys09bug.asm
70 99 davidgb
sys09b5x.vhd: ADDRS=F800
71 59 davidgb
sys09b5x.vhd: ENTITY=SYS09BUG
72
sys09b5x.vhd: TOP_RAM=mon_rom_vhd
73
 
74
sys09s3s.vhd: sys09s3s.asm opt_s3s.asm sys09equ.asm sys09bug.asm
75
sys09s3s.vhd: ADDRS=F000 F800
76
sys09s3s.vhd: ENTITY=SYS09BUG
77
sys09s3s.vhd: TOP_RAM=mon_rom_vhd
78
 
79
sys09s3e.vhd: sys09s3e.asm opt_s3e.asm sys09equ.asm sys09bug.asm
80
sys09s3e.vhd: ADDRS=F000 F800
81
sys09s3e.vhd: ENTITY=SYS09BUG
82
sys09s3e.vhd: TOP_RAM=mon_rom_vhd
83
 
84 99 davidgb
sys09xes.vhd: sys09xes.asm opt_xes.asm sys09equ.asm sys09ide.asm sys09bug.asm
85
sys09xes.vhd: ADDRS=F000 F800
86
sys09xes.vhd: ENTITY=SYS09BUG
87
sys09xes.vhd: TOP_RAM=mon_rom_vhd
88 59 davidgb
 
89
 
90
.PHONY: clean
91
clean:
92 99 davidgb
        -$(RM) *.S19
93 59 davidgb
        -$(RM) *.lst
94
        -$(RM) *.vhd

powered by: WebSVN 2.1.0

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