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

Subversion Repositories System09

[/] [System09/] [branches/] [mkfiles_rev1/] [src/] [sys09bug/] [Makefile] - Blame information for rev 78

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

Line No. Rev Author Line
1 28 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 45 davidgb
#    make sys09xes.vhd        - For XSA-3S100/XST-3.0 with 16 Bit IDE interface
23
#    make sys09b5x.vhd        - For B5-X300 with CF card with 8 bit inte
24
#    make sys09s3s.vhd        - For Digilent Spartan 3 starter board with RAM disk
25
#    make sys09s3e.vhd        - For Digilent Spartan 3E starter board
26
#    make sys09swt.vhd        - For SWTPc compatible computers
27
#    make sys09ads.vhd        - For Ackerman Digital 6809 S100 board
28 28 davidgb
#
29
# Target Descriptions:
30
#  The first file listed is the source file passed to assembler.
31
#  Remaining files are the dependencies. The option variables
32
#  ADDRS, ENTITY and TOP_RAM are used by the s19tovhd utility
33
#  to generate the VHDL file.
34
#
35
# Dependencies:
36
#  This makefile depends on def_rules.mk and the top-level
37
#  ram model file mon_rom_vhd.
38
#
39
# Revision History:
40
#   dgb 2008-04-07   Original version
41
#
42
#-----------------------------------------------------------------
43
 
44
ifeq "$(MKFRAGS)" ""
45
MKFRAGS := ../../mkfiles
46
endif
47
 
48
include $(MKFRAGS)/def_rules.mk
49
 
50
all: sys09xes.vhd sys09b5x.vhd sys09s3s.vhd sys09s3e.vhd sys09swt.vhd sys09ads.vhd
51
 
52 41 davidgb
sys09xes.vhd: sys09xes.asm opt_xes.asm sys09equ.asm sys09ide.asm sys09bug.asm
53 28 davidgb
sys09xes.vhd: ADDRS=F000 F800
54
sys09xes.vhd: ENTITY=SYS09BUG
55
sys09xes.vhd: TOP_RAM=mon_rom_vhd
56
 
57 41 davidgb
sys09b5x.vhd: sys09b5x.asm opt_b5x.asm sys09equ.asm sys09bug.asm
58 28 davidgb
sys09b5x.vhd: ADDRS=F000 F800
59
sys09b5x.vhd: ENTITY=SYS09BUG
60
sys09b5x.vhd: TOP_RAM=mon_rom_vhd
61
 
62 41 davidgb
sys09s3s.vhd: sys09s3s.asm opt_s3s.asm sys09equ.asm sys09bug.asm
63 28 davidgb
sys09s3s.vhd: ADDRS=F000 F800
64
sys09s3s.vhd: ENTITY=SYS09BUG
65
sys09s3s.vhd: TOP_RAM=mon_rom_vhd
66
 
67 41 davidgb
sys09s3e.vhd: sys09s3e.asm opt_s3e.asm sys09equ.asm sys09bug.asm
68 28 davidgb
sys09s3e.vhd: ADDRS=F000 F800
69
sys09s3e.vhd: ENTITY=SYS09BUG
70
sys09s3e.vhd: TOP_RAM=mon_rom_vhd
71
 
72 41 davidgb
sys09swt.vhd: sys09swt.asm opt_swt.asm sys09equ.asm sys09bug.asm
73 28 davidgb
sys09swt.vhd: ADDRS=F000 F800
74
sys09swt.vhd: ENTITY=SYS09BUG
75
sys09swt.vhd: TOP_RAM=mon_rom_vhd
76
 
77 41 davidgb
sys09ads.vhd: sys09ads.asm opt_ads.asm sys09equ.asm sys09bug.asm
78 28 davidgb
sys09ads.vhd: ADDRS=F000 F800
79
sys09ads.vhd: ENTITY=SYS09BUG
80
sys09ads.vhd: TOP_RAM=mon_rom_vhd
81
 
82
.PHONY: clean
83
clean:
84
        -$(RM) *.S19
85
        -$(RM) *.lst
86
        -$(RM) *.vhd

powered by: WebSVN 2.1.0

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