Skip to content

Commit 951f6c1

Browse files
committed
Upload examples.
1 parent 5908716 commit 951f6c1

File tree

3 files changed

+92
-0
lines changed

3 files changed

+92
-0
lines changed

examples/example-0.tim

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
:|sssssssss;: 1, 2, 3, 4, 5, 6, 7, 8, 9
2+
clk:|ppppppppp.: 1,, 2,, 3,, 4,, 5,, 6,, 7,, 8,,
3+
signal:|lllrhhfll.+125, -13, 201, 24, 447, -76, 270, -18, :,,, signal high level*0
4+
put:|lhlhlhlhl.+11, 327, : 1, 2, 3, 4, 5, 6, 7, 8, 9,
5+
6+

examples/example-1.tim

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
:|sssssssss;: 1, 2, 3, 4, 5, 6, 7, 8, 9
2+
clk:|ppppppppp.+1, -12, 39, 25, 41, 25, 77, 61, 79, 60, 98, 20, 99, 19, 122, -12, 123, -13, 161, -52, 161, -49, 200, -12, 201, -12, 243, 22, 243, 23, 280, 60, 281, 59, 324, 116, 326, 117, 358, 163, 360, 164, 403, 207, 403, 209, 455, 247, ^408, 21, 9, 376, 53, 5,: 1,, 2,, 3,, 4,, 5,, 6,, 7,, 8,,
3+
signal:|lllrhhfll.+125, -13, 201, 24, 447, -76, 270, -18, :,,, signal high level*0
4+
put:|lhlhlhlhl.+11, 327, : 1, 2, 3, 4, 5, 6, 7, 8, 9,
5+
:+-11, 84, 21, 68, 21, 71, 56, 81, 66, 88, 36, 186, 43, 182, 77, 157, 79, 86, 114, 70, 116, 74, 141, 89, -1, 95, 38, 94, 87, 101, 122, 100, 32, 200, 48, 201, 49, 202, 72, 188, 37, 18, -35, 62, 35, -3, 142, 45, 145, 50, 151, 129,
6+
:+118, 74, 90, 76, 31, 75, 1, 64, 52, 151, 98, 130, 29, 152, -4, 127, 148, -56, 575, 174, 573, 172, 615, -73,
7+
8+
9+
10+
11+
12+
13+
14+
15+

examples/help-1.tim

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
::
2+
::Format = <signal name> : [<command>]* ... + <[coord]*>^<data string>: [<data annotation>,]...
3+
::Each command creates its own grid which can be made visible by adding a '|' before the command.
4+
::The visible grid can be suppressed for all succeeding commands by a '!'
5+
::Waveforms can be annoted by <data> for each grid. The default width of the data is the same as
6+
::the grid. This can be changed by adding as described later.
7+
::
8+
::The signal name appears before the colon followed by commands and then the annotation data.
9+
10+
::COMMANDS
11+
::P... high frequency pulse
12+
:|PPPPPPPPP:
13+
:|~PPPPPPPPP
14+
::'~' inverts a clock or pulse and the active edge and can occur multiple times in a wave line.
15+
:
16+
::p: low frequency pulse
17+
:ppppppppp:,,,,non-inverted clock with pppp*0
18+
:
19+
:~ppppppppp:,,,,inverted clock with ~pppp*0
20+
:
21+
::k... clock with active falling edge
22+
:kkkkkkkkk:0,1,2,3,4,5,6,7
23+
::
24+
::K or C... clock with dual active edges
25+
:KKKKKCCCC
26+
::c... clock with active rising edge grids enabled from start
27+
clk:|cccccccCC:
28+
::clock with active rising edge grid disabled after 3 time periods.
29+
clk:|cccc!cccCC:
30+
::A write signal with annotation. Add *<number> at end of string to adjust
31+
::wrap length. <number> is the number of clock period grids.
32+
::*0 disables wrapping completely for inputs lines with waveforms.
33+
::An annotation line with only text and no waveform has to start with "::"
34+
::
35+
write:|lrhflllll+60,-10,120,57: '1' for 2 clocks*0,, then low *0
36+
::l ... low signal; r ... rise; h ... stay high; f ...fall*0
37+
low signal:|lllrhhf:low now*3,,going high,stay high*3,,fall now
38+
::A similar read signal*0
39+
read:|llllrhhfl:'l' is for Low*0,,,r = rise ,wrapped annotation.. h for high*2,, f = fall*4
40+
::
41+
::x and X are unknown data bus values. 'D' is a data transition.
42+
::and d is data continuation.
43+
::
44+
addr:|xDdxDddxX:, A1*0,,, A2*0
45+
wdata:|xDdxxxxxX:, D1
46+
::'<' inserts a left-facing arrow.
47+
:<-:'<' inserts a left facing arrow*80
48+
::Arrow comments are spaced as *<number> <number> is
49+
::pixels from the first grid
50+
::'-' is an arrow shaft '>' closes the arrow.*0
51+
:|<-------->:,,,20ns*170,
52+
ack:|xfrxflrxX:d
53+
54+
::'/' gives a discontinuity in the waveform
55+
someXdata:xx/xxX
56+
:|<>:1ns*11,
57+
rdata:xxxxxxdxX:,,,,,, Q2
58+
:|sssss
59+
60+
::Other Features
61+
::An arrow is specified in the command field as a + followed by (X0, Y0) and (X1, Y1) cartesian coordinates.
62+
::A data string can be inserted in the command field as a ^ followed by (X0, Y0).
63+
64+
65+
66+
67+
68+
69+
70+
71+

0 commit comments

Comments
 (0)