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

Subversion Repositories System09

[/] [System09/] [trunk/] [src/] [Noice/] [Makefile] - Blame information for rev 223

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 the Noice debug rom.
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
#    make MON6809.vhd         - make the Noice rom
23
#
24
# Target Descriptions:
25
#  The first file listed is the source file passed to assembler.
26
#  Remaining files are the dependencies. The option variables
27
#  ADDRS, ENTITY and TOP_RAM are used by the s19tovhd utility
28
#  to generate the VHDL file.
29
#
30
# Dependencies:
31
#  This makefile depends on def_rules.mk and the top-level
32
#  ram model file mon_rom_vhd.
33
#
34
# Revision History:
35
#   dgb 2008-04-07   Original version
36
#
37
#-----------------------------------------------------------------
38
 
39
ifeq "$(MKFRAGS)" ""
40
MKFRAGS := ../../mkfiles
41
endif
42
 
43
include $(MKFRAGS)/def_rules.mk
44
 
45
all: MON6809.vhd
46
 
47
MON6809.vhd: MON6809.ASM
48
MON6809.vhd: ADDRS=F000 F800
49
MON6809.vhd: ENTITY=NOICE6809
50
MON6809.vhd: TOP_RAM=noice_rom_vhd
51
 
52
.PHONY: clean
53
clean:
54
        -$(RM) *.S19
55
        -$(RM) *.lst
56
        -$(RM) *.vhd

powered by: WebSVN 2.1.0

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