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

Subversion Repositories System09

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

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 218 davidgb
#    make sys09atl.vhd        - For Digilent Atlys with HDMI, USBUART and (soon) SDCard
30 59 davidgb
#
31
# Target Descriptions:
32
#  The first file listed is the source file passed to assembler.
33
#  Remaining files are the dependencies. The option variables
34
#  ADDRS, ENTITY and TOP_RAM are used by the s19tovhd utility
35
#  to generate the VHDL file.
36
#
37
# Dependencies:
38
#  This makefile depends on def_rules.mk and the top-level
39
#  ram model file mon_rom_vhd.
40
#
41
# Revision History:
42
#   dgb 2008-04-07   Original version
43 99 davidgb
#   jek 2008-09-07   Added B3-SPARTAN2
44 59 davidgb
#
45
#-----------------------------------------------------------------
46
 
47
ifeq "$(MKFRAGS)" ""
48
MKFRAGS := ../../mkfiles
49
endif
50
 
51
include $(MKFRAGS)/def_rules.mk
52
 
53 218 davidgb
all: sys09swt.vhd sys09ads.vhd sys09b3s.vhd sys09b5x.vhd sys09s3s.vhd sys09s3e.vhd sys09xes.vhd sys09atl.vhd
54 59 davidgb
 
55 99 davidgb
sys09swt.vhd: sys09swt.asm opt_swt.asm sys09equ.asm sys09bug.asm
56 133 davidgb
sys09swt.vhd: ADDRS=F000 F800
57 99 davidgb
sys09swt.vhd: ENTITY=SYS09BUG
58
sys09swt.vhd: TOP_RAM=mon_rom_vhd
59 59 davidgb
 
60 99 davidgb
sys09ads.vhd: sys09ads.asm opt_ads.asm sys09equ.asm sys09bug.asm
61
sys09ads.vhd: ADDRS=F800
62
sys09ads.vhd: ENTITY=SYS09BUG
63
sys09ads.vhd: TOP_RAM=mon_rom_vhd
64
 
65
sys09b3s.vhd: sys09b3s.asm opt_b3s.asm sys09equ.asm sys09bug.asm
66
sys09b3s.vhd: ADDRS=F800
67
sys09b3s.vhd: ENTITY=SYS09BUG
68
sys09b3s.vhd: TOP_RAM=mon_rom_vhd
69
 
70 59 davidgb
sys09b5x.vhd: sys09b5x.asm opt_b5x.asm sys09equ.asm sys09bug.asm
71 99 davidgb
sys09b5x.vhd: ADDRS=F800
72 59 davidgb
sys09b5x.vhd: ENTITY=SYS09BUG
73
sys09b5x.vhd: TOP_RAM=mon_rom_vhd
74
 
75
sys09s3s.vhd: sys09s3s.asm opt_s3s.asm sys09equ.asm sys09bug.asm
76
sys09s3s.vhd: ADDRS=F000 F800
77
sys09s3s.vhd: ENTITY=SYS09BUG
78
sys09s3s.vhd: TOP_RAM=mon_rom_vhd
79
 
80
sys09s3e.vhd: sys09s3e.asm opt_s3e.asm sys09equ.asm sys09bug.asm
81
sys09s3e.vhd: ADDRS=F000 F800
82
sys09s3e.vhd: ENTITY=SYS09BUG
83
sys09s3e.vhd: TOP_RAM=mon_rom_vhd
84
 
85 99 davidgb
sys09xes.vhd: sys09xes.asm opt_xes.asm sys09equ.asm sys09ide.asm sys09bug.asm
86
sys09xes.vhd: ADDRS=F000 F800
87
sys09xes.vhd: ENTITY=SYS09BUG
88
sys09xes.vhd: TOP_RAM=mon_rom_vhd
89 59 davidgb
 
90 218 davidgb
sys09atl.vhd: sys09atl.asm opt_atl.asm sys09equ.asm sys09ide.asm sys09bug.asm
91
sys09atl.vhd: ADDRS=F000 F800
92
sys09atl.vhd: ENTITY=SYS09BUG
93
sys09atl.vhd: TOP_RAM=mon_rom_vhd
94 59 davidgb
 
95 218 davidgb
 
96
 
97 59 davidgb
.PHONY: clean
98
clean:
99 99 davidgb
        -$(RM) *.S19
100 59 davidgb
        -$(RM) *.lst
101
        -$(RM) *.vhd

powered by: WebSVN 2.1.0

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