URL
https://opencores.org/ocsvn/copyblaze/copyblaze/trunk
Subversion Repositories copyblaze
Compare Revisions
- This comparison shows the changes necessary to convert path
/copyblaze
- from Rev 29 to Rev 30
- ↔ Reverse comparison
Rev 29 → Rev 30
/trunk/copyblaze/sw/code/pBlaze/wb_uart/wb_uart.asm
0,0 → 1,19
; project : copyBlaze 8 bit processor |
; file name : wb_uart.asm |
; author : abdAllah Meziti |
; licence : LGPL |
|
; this programm test the wishbone copyBlaze instruction. |
; it use this module : |
; wb_uart_08.vhd |
|
; |
|
; ========================================================== |
start: |
; ========================================================== |
|
|
end: |
JUMP end |
; |
/trunk/copyblaze/sw/code/pBlaze/wb_uart/Makefile
0,0 → 1,53
# path to tools |
#DRIVE=E: |
DRIVE=/cygdrive/e |
TOPPATH=../../../.. |
TOOLPATH=$(TOPPATH)/sw/tools/asm |
|
AS=$(TOOLPATH)/pBlazASM/pBlazASM/pBlazASM.exe |
#MG=$(TOOLPATH)/pBlazASM/pBlazMRG/pBlazMRG.exe |
MG=$(TOOLPATH)/pBlazASM/cpBlazeMRG/cpBlazeMRG.exe |
|
DIROUT=$(TOPPATH)/rtl/vhdl |
|
RM = rm -f -v |
CP = cp |
|
# List of PSM Files |
#ASM_SRC = Test_Mnemonics.asm |
ASM_SRC = *.asm |
#AFLAGS = -l -m |
AFLAGS = -l -x |
MGFLAGS = |
TEMPLATE = ../template2 |
ENTITY = cp_ROM_Code |
|
.SUFFIXES : .psm .mem .vhd .psh |
|
# assemble and merge |
all: $(ENTITY).vhd |
|
# assemble # |
$(ENTITY).mem: $(ASM_SRC) |
$(AS) $(ASM_SRC) $(AFLAGS) |
# $(CP) *.mem $(ENTITY).mem |
$(CP) *.hex $(ENTITY).hex |
|
# merge # |
#$(ENTITY).vhd: $(ENTITY).mem $(TEMPLATE).vhd |
$(ENTITY).vhd: $(ENTITY).mem |
# $(MG) $(MGFLAGS) -e$(ENTITY) $(ENTITY).mem $(TEMPLATE).vhd $(ENTITY).vhd |
$(MG) $(MGFLAGS) $(ENTITY).hex |
$(CP) $(ENTITY).vhd $(DIROUT)/$(ENTITY).vhd |
|
# clean outputs |
clean: |
# $(RM) $(ENTITY).lst |
$(RM) *.lst |
# $(RM) $(ENTITY).mem |
$(RM) *.mem |
# $(RM) $(ENTITY).vhd |
$(RM) *.hex |
$(RM) *.log |
$(RM) *.vhd |
$(RM) *.bin |
/trunk/copyblaze/sw/code/pBlaze/wb_timer/wb_timer.asm
0,0 → 1,19
; project : copyBlaze 8 bit processor |
; file name : wb_timer.asm |
; author : abdAllah Meziti |
; licence : LGPL |
|
; this programm test the wishbone copyBlaze instruction. |
; it use this module : |
; wb_timer_08.vhd |
|
; |
|
; ========================================================== |
start: |
; ========================================================== |
|
|
end: |
JUMP end |
; |
/trunk/copyblaze/sw/code/pBlaze/wb_timer/Makefile
0,0 → 1,53
# path to tools |
#DRIVE=E: |
DRIVE=/cygdrive/e |
TOPPATH=../../../.. |
TOOLPATH=$(TOPPATH)/sw/tools/asm |
|
AS=$(TOOLPATH)/pBlazASM/pBlazASM/pBlazASM.exe |
#MG=$(TOOLPATH)/pBlazASM/pBlazMRG/pBlazMRG.exe |
MG=$(TOOLPATH)/pBlazASM/cpBlazeMRG/cpBlazeMRG.exe |
|
DIROUT=$(TOPPATH)/rtl/vhdl |
|
RM = rm -f -v |
CP = cp |
|
# List of PSM Files |
#ASM_SRC = Test_Mnemonics.asm |
ASM_SRC = *.asm |
#AFLAGS = -l -m |
AFLAGS = -l -x |
MGFLAGS = |
TEMPLATE = ../template2 |
ENTITY = cp_ROM_Code |
|
.SUFFIXES : .psm .mem .vhd .psh |
|
# assemble and merge |
all: $(ENTITY).vhd |
|
# assemble # |
$(ENTITY).mem: $(ASM_SRC) |
$(AS) $(ASM_SRC) $(AFLAGS) |
# $(CP) *.mem $(ENTITY).mem |
$(CP) *.hex $(ENTITY).hex |
|
# merge # |
#$(ENTITY).vhd: $(ENTITY).mem $(TEMPLATE).vhd |
$(ENTITY).vhd: $(ENTITY).mem |
# $(MG) $(MGFLAGS) -e$(ENTITY) $(ENTITY).mem $(TEMPLATE).vhd $(ENTITY).vhd |
$(MG) $(MGFLAGS) $(ENTITY).hex |
$(CP) $(ENTITY).vhd $(DIROUT)/$(ENTITY).vhd |
|
# clean outputs |
clean: |
# $(RM) $(ENTITY).lst |
$(RM) *.lst |
# $(RM) $(ENTITY).mem |
$(RM) *.mem |
# $(RM) $(ENTITY).vhd |
$(RM) *.hex |
$(RM) *.log |
$(RM) *.vhd |
$(RM) *.bin |