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

Subversion Repositories System09

[/] [System09/] [rev_86/] [mkfiles/] [def_rules.mk] - Blame information for rev 148

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 81 davidgb
#   RULE: .asm => .s19
28 59 davidgb
# Assemble 6809 source into S19 record file
29 81 davidgb
%.s19: %.asm
30 59 davidgb
        @$(ECHO)
31
        @$(ECHO) "======= Running 6809 assembler to generate ROM code  ================"
32
        $(ASM) $(notdir $<)  >$(basename $@).lst
33
 
34 81 davidgb
#   RULE: .s19 => .vhd
35 59 davidgb
# Build a VHDL file instantiated BRAMS initialized with the source from a S19 file
36 81 davidgb
%.vhd: %.s19
37 59 davidgb
        @$(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.