aboutsummaryrefslogtreecommitdiffstats
path: root/doc/using/UART_srcs/file_in_out/makefile
diff options
context:
space:
mode:
author1138-4EB <1138-4EB@users.noreply.github.com>2017-03-02 00:24:57 +0100
committertgingold <tgingold@users.noreply.github.com>2017-12-10 12:02:05 +0100
commit28d9ddf0e2aff8fe6937949f54285cae9ee478a7 (patch)
tree0b91e072680c96493037360f7c05f1568912a99c /doc/using/UART_srcs/file_in_out/makefile
parent13a5256846f946d646a21faf221001f9ba15044d (diff)
downloadghdl-28d9ddf0e2aff8fe6937949f54285cae9ee478a7.tar.gz
ghdl-28d9ddf0e2aff8fe6937949f54285cae9ee478a7.tar.bz2
ghdl-28d9ddf0e2aff8fe6937949f54285cae9ee478a7.zip
Add raw sources of tutorial 'How to simulate an UART VHDL code with ghdl}' by 'René Doß'
Diffstat (limited to 'doc/using/UART_srcs/file_in_out/makefile')
-rw-r--r--doc/using/UART_srcs/file_in_out/makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/using/UART_srcs/file_in_out/makefile b/doc/using/UART_srcs/file_in_out/makefile
new file mode 100644
index 000000000..e7ee72400
--- /dev/null
+++ b/doc/using/UART_srcs/file_in_out/makefile
@@ -0,0 +1,13 @@
+all:
+ rm -rf work
+ mkdir work
+
+ ghdl -a --work=work --workdir=work ../capitalisation/capitalisation.vhd
+ ghdl -a --work=work --workdir=work tb_file.vhd
+ ghdl -e --ieee=synopsys -fexplicit --workdir=work -Pwork tb_file
+ ghdl -r tb_file --wave=tbench.ghw --stop-time=200us
+
+
+view:
+ gtkwave tbench.ghw a.gtkw
+