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

Subversion Repositories t48

[/] [t48/] [tags/] [rel_1_2/] [sw/] [verif/] [include/] [Makefile.core] - Diff between revs 113 and 229

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 113 Rev 229
Line 1... Line 1...
 
 
.PHONY: all
.PHONY: all
all: t48_rom.hex t48_ext_rom.hex
all: t3x t48 t49
 
 
$(MODULE).p: $(MODULE).asm
.PHONY: t3x
        asl -i $(VERIF_DIR)/include -L $(MODULE).asm
t3x: $(SIM_DIR)/rom_t3x.hex $(SIM_DIR)/rom_t3x_ext.hex
 
 
 
.PHONY: t48
 
t48: $(SIM_DIR)/rom_t48.hex $(SIM_DIR)/rom_t48_ext.hex
 
 
t48_rom.hex: $(MODULE).p
.PHONY: t49
        p2hex -r 0-2047 $(MODULE).p t48_rom.hex
t49: $(SIM_DIR)/rom_t49.hex $(SIM_DIR)/rom_t49_ext.hex
 
 
t48_ext_rom.hex: $(MODULE).p
 
        p2hex -a -r 2048-4095 $(MODULE).p t48_ext_rom.hex
 
 
 
.PHONY: simu
$(MODULE).p: $(MODULE).asm
simu: all
        asl -i $(VERIF_DIR)/include -L $<
        cp t48_rom.hex t48_ext_rom.hex $(SIM_DIR)
 
 
$(SIM_DIR)/rom_t3x.hex: $(MODULE).p
 
        p2hex -r 0-0 $< $@
 
$(SIM_DIR)/rom_t3x_ext.hex: $(MODULE).p
 
        p2hex -r 0-4095 $< $@
 
 
 
$(SIM_DIR)/rom_t48.hex: $(MODULE).p
 
        p2hex -r 0-1023 $< $@
 
$(SIM_DIR)/rom_t48_ext.hex: $(MODULE).p
 
        p2hex -a -r 1024-4095 $< $@
 
 
 
$(SIM_DIR)/rom_t49.hex: $(MODULE).p
 
        p2hex -r 0-2047 $< $@
 
$(SIM_DIR)/rom_t49_ext.hex: $(MODULE).p
 
        p2hex -a -r 2048-4095 $< $@
 
 
.PHONY: clean
.PHONY: clean
clean:
clean:
        rm -f *.p *~ *.hex *.lst
        rm -f *.p *~ *.hex *.lst

powered by: WebSVN 2.1.0

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