1-- Test file for kate's syntax highlighting
2Title "Test file";
3
4-- BEGIN region (a region marker region) :)
5
6% multiline comment
7goes on here %
8
9-- END
10
11FUNCTION FCT (Clk, Key) RETURNS (pulse);
12
13SUBDESIGN CDCLOCK2
14(
15in           : INPUT;  -- go in
16out[3..0]    : OUTPUT; -- come out
17)
18
19VARIABLE
20start        : soft;
21usec[3..0]   : node;
22
23BEGIN
24
25in = FCT(clock, some_key);  -- senseless code
26
27-- comment
28blubb = (blobb[] == H"3ff");
29
30IF in THEN asdf
31-- folde me
32END IF;
33
34TABLE
35-- missing code
36END TABLE
37
38
39END;
40
41-- hex, octal, binary
42H"0" => B"1000000";
43O"01234567";