From baa00c010b8aa884b84692ed5988164ead88e8fe Mon Sep 17 00:00:00 2001 From: Ben James Date: Sat, 4 Sep 2010 17:38:32 +0100 Subject: [PATCH] BCJ: Changed Verilog and VHDL from "document" to "source code"; added SystemVerilog header/source types and test files. --- freedesktop.org.xml.in | 14 ++++++++++++-- tests/list | 2 ++ tests/test.sv | 10 ++++++++++ tests/test.svh | 8 ++++++++ 4 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 tests/test.sv create mode 100644 tests/test.svh diff --git a/freedesktop.org.xml.in b/freedesktop.org.xml.in index 45f50e7..d6a548d 100644 --- a/freedesktop.org.xml.in +++ b/freedesktop.org.xml.in @@ -4399,12 +4399,22 @@ command to generate the output files. - <_comment>Verilog document + <_comment>Verilog source code + + <_comment>SystemVerilog header + + + + + <_comment>SystemVerilog source code + + + - <_comment>VHDL document + <_comment>VHDL source code VHDL Very-High-Speed Integrated Circuit Hardware Description Language diff --git a/tests/list b/tests/list index 128240b..19acdf8 100644 --- a/tests/list +++ b/tests/list @@ -199,6 +199,8 @@ test.url application/x-mswinurl xox # Copied from http://www.digitalmars.com/d/ test.d text/x-dsrc ox test.v text/x-verilog ox +test.sv text/x-svscr ox +test.svh text/x-svhdr ox # Copied from http://www.w3.org/TR/html5/offline.html#manifests test.manifest text/cache-manifest test.yaml application/x-yaml diff --git a/tests/test.sv b/tests/test.sv new file mode 100644 index 0000000..b8d79a2 --- /dev/null +++ b/tests/test.sv @@ -0,0 +1,10 @@ + +`include "test.svh" + +function void + someclass::something(); + + $display("Something called!"); + +endfunction : something + diff --git a/tests/test.svh b/tests/test.svh new file mode 100644 index 0000000..a7c5ac2 --- /dev/null +++ b/tests/test.svh @@ -0,0 +1,8 @@ + +class someclass; + + extern function void + something(); + +endclass : someclass + -- 1.7.0.4