URL
https://opencores.org/ocsvn/ion/ion/trunk
[/] [ion/] [trunk/] [src/] [hello/] [makefile] - Diff between revs 111 and 123
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 111 |
Rev 123 |
Line 28... |
Line 28... |
$(COPY_MIPS) -I elf32-big -O binary hello.axf hello.code
|
$(COPY_MIPS) -I elf32-big -O binary hello.axf hello.code
|
# Extract object code to be placed in data space
|
# Extract object code to be placed in data space
|
$(COPY_MIPS) -I elf32-big -j.data -j.bss -O binary hello.axf hello.data
|
$(COPY_MIPS) -I elf32-big -j.data -j.bss -O binary hello.axf hello.data
|
|
|
|
|
|
|
# Create VHDL file for simulation test bench using TB2 template
|
# Create VHDL file for simulation test bench using TB2 template
|
hello_sim: hello
|
hello_sim: hello
|
$(TO_VHDL) --code hello.code --data hello.data \
|
$(TO_VHDL) --code hello.code --data hello.data \
|
--code_size $(CODE_BRAM_SIZE) --data_size $(XRAM_SIZE) \
|
--code_size $(CODE_BRAM_SIZE) --data_size $(XRAM_SIZE) \
|
-s $(SIM_LENGTH) -v $(SRC_DIR)\\mips_tb2_template.vhdl \
|
-s $(SIM_LENGTH) -v $(SRC_DIR)\\mips_tb2_template.vhdl \
|
-o $(TB_DIR)\\mips_tb2.vhdl -e mips_tb2
|
-o $(TB_DIR)\\mips_tb2.vhdl -e mips_tb2
|
|
|
|
# Create VHDL file for simulation test bench using TB0 template
|
|
hello_sim_bram: hello
|
|
$(TO_VHDL) --code hello.code --data hello.data \
|
|
--code_size $(CODE_BRAM_SIZE) --data_size $(XRAM_SIZE) \
|
|
-s $(SIM_LENGTH) -v $(SRC_DIR)\\mips_tb0_template.vhdl \
|
|
-o $(TB_DIR)\\mips_tb2.vhdl -e mips_tb2
|
|
|
|
|
# Create VHDL file for hardware demo
|
# Create VHDL file for hardware demo
|
hello_demo: hello
|
hello_demo: hello
|
$(TO_VHDL) --code hello.code --data hello.data \
|
$(TO_VHDL) --code hello.code --data hello.data \
|
--code_size $(CODE_BRAM_SIZE) --data_size $(XRAM_SIZE) \
|
--code_size $(CODE_BRAM_SIZE) --data_size $(XRAM_SIZE) \
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.