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

Subversion Repositories System09

[/] [System09/] [trunk/] [mkfiles/] [def_rules.mk] - Blame information for rev 75

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

Line No. Rev Author Line
1 59 davidgb
#-----------------------------------------------------------------
2
# File:    def_rules.mk
3
# Author:  David Burnette
4
# Date:    April 7, 2008
5
#
6
# Description:
7
#
8
# Usage:
9
#  This make file fragment contains default translate rules.
10
#
11
# Dependencies:
12
#  Depends on 'def_cmds.mk' fragment.
13
#
14
# Revision History:
15
#   dgb 2008-04-07   Original version
16
#
17
#-----------------------------------------------------------------
18
 
19
#===================================================================
20
# Include default commands
21
 
22
include $(MKFRAGS)/def_cmds.mk
23
 
24
#===================================================================
25
# TRANSLATE RULES
26
 
27
#   RULE: .asm => .S19
28
# Assemble 6809 source into S19 record file
29
%.S19: %.asm
30
        @$(ECHO)
31
        @$(ECHO) "======= Running 6809 assembler to generate ROM code  ================"
32
        $(ASM) $(notdir $<)  >$(basename $@).lst
33
 
34
#   RULE: .S19 => .vhd
35
# Build a VHDL file instantiated BRAMS initialized with the source from a S19 file
36
%.vhd: %.S19
37
        @$(ECHO)
38
        @$(ECHO) "======= Generating Xilinx block RAM to hold ROM code ================"
39
        $(s19tovhd) $< $@ $(ENTITY) $(ADDRS)
40
        $(CAT) $(TOP_RAM) >>$@
41
 

powered by: WebSVN 2.1.0

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