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

Subversion Repositories lattice6502

[/] [lattice6502/] [ghdl/] [Makefile] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 stanley82
#       This is to do all the necessary stuff to update and run the files
2
wform.vcd : testbench processor p65c02 ghdl_rom ghdl_ram UART_TX UART_RX
3
        ghdl -r testbench --vcd=wform.vcd --assert-level=none --stop-time=1ms
4
 
5
65C02.o : 65C02.vhd
6
        ghdl -a 65C02.vhd
7
 
8
p65c02 : 65C02.o
9
        ghdl -e p65c02
10
 
11
ghdl_rom.o : ghdl_rom.vhd
12
        ghdl -a ghdl_rom.vhd
13
 
14
ghdl_rom  : ghdl_rom.o
15
        ghdl -e ghdl_rom
16
 
17
ghdl_ram.o : ghdl_ram.vhd
18
        ghdl -a ghdl_ram.vhd
19
 
20
ghdl_ram  : ghdl_ram.o
21
        ghdl -e ghdl_ram
22
 
23
UART_TX.o : UART_TX.vhd
24
        ghdl -a UART_TX.vhd
25
 
26
UART_TX : UART_TX.o
27
        ghdl -e UART_TX
28
 
29
UART_RX.o : UART_RX.vhd
30
        ghdl -a UART_RX.vhd
31
 
32
UART_RX : UART_RX.o
33
        ghdl -e UART_RX
34
 
35
Processor.o : ghdl_processor.vhd 65C02.o ghdl_ram.o ghdl_rom.o UART_TX.o UART_RX.o
36
        ghdl -a ghdl_processor.vhd
37
 
38
processor : Processor.o p65c02 ghdl_rom ghdl_ram UART_TX UART_RX
39
        ghdl -e processor
40
 
41
Test_bench.o : Test_bench.vhd
42
        ghdl -a Test_bench.vhd
43
 
44
testbench : Test_bench.o processor
45
        ghdl -e testbench
46
 
47
 
48
 
49
#       gtkwave wform.vcd wave_setup.sav
50
#       crasm -o asm -x asm_code>list
51
#       sed -f sedscript asm
52
#       sed -f sedscript asm_code>code
53
 
54
#       crasm -o *.o -x *.asm > *.lst
55
#       sed -f sedscript *.o>*.bin
56
 
57
#       asm2bin file
58
#       crasm -o $1.o -x $1.asm > $1*.lst
59
#       sed -f sedscript $1.o > $1.bin
60
 
61
 
62
 
63
 

powered by: WebSVN 2.1.0

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