URL
https://opencores.org/ocsvn/System09/System09/trunk
Subversion Repositories System09
[/] [System09/] [trunk/] [mkfiles/] [def_rules.mk] - Rev 141
Go to most recent revision | Compare with Previous | Blame | View Log
#-----------------------------------------------------------------# File: def_rules.mk# Author: David Burnette# Date: April 7, 2008## Description:## Usage:# This make file fragment contains default translate rules.## Dependencies:# Depends on 'def_cmds.mk' fragment.## Revision History:# dgb 2008-04-07 Original version##-----------------------------------------------------------------#===================================================================# Include default commandsinclude $(MKFRAGS)/def_cmds.mk#===================================================================# TRANSLATE RULES# RULE: .asm => .s19# Assemble 6809 source into S19 record file%.s19: %.asm@$(ECHO)@$(ECHO) "======= Running 6809 assembler to generate ROM code ================"$(ASM) $(notdir $<) >$(basename $@).lst# RULE: .s19 => .vhd# Build a VHDL file instantiated BRAMS initialized with the source from a S19 file%.vhd: %.s19@$(ECHO)@$(ECHO) "======= Generating block RAM of type $(BRAM_TYPE) to hold ROM code ================"$(s19tovhd) $(BRAM_TYPE) $< $@ $(ENTITY) $(ADDRS)$(CAT) $(TOP_RAM) >>$@
Go to most recent revision | Compare with Previous | Blame | View Log
