aboutsummaryrefslogtreecommitdiffstats
path: root/doc/using/UART_srcs/vhpi/makefile
blob: fdf5bc3b0993daf2d2d4235ec35c584fa2d1eb09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
all:

	rm -rf work
	mkdir work
	
	ghdl -a  --work=work --workdir=work tty_pkg.vhd
	gcc -c -fPIC tty.c  -o tty.o

	ghdl -a  --work=work --workdir=work ../capitalisation/capitalisation.vhd	
	ghdl -a  --work=work --workdir=work tb_tty.vhd 
		       
	ghdl -e -Wl,tty.o  --ieee=synopsys -fexplicit --workdir=work -Pwork tb_tty 
#	ghdl -r tb_tty  --wave=tbench.ghw  
	ghdl -r tb_tty  --wave=tbench.ghw  --stop-time=500000us


view:
	gtkwave tbench.ghw a.gtkw