Browse Source

Add waveforms of read/write examples

T. Meissner 4 months ago
parent
commit
2a090443ef

+ 23
- 0
vai_reg/doc/read_example.json View File

@@ -0,0 +1,23 @@
1
+{signal: [
2
+  {name: 'Reset_n_i',   wave: '01..........'},
3
+  {name: 'Clk_i',       wave: 'p...........'},
4
+  {},
5
+  {name: 's_fsm_state', wave: '2.2.22.2.2.2', data: ['IDLE', 'GET_HEADER', 'GET_DATA', 'SEND_HEADER', 'SEND_DATA', 'SEND_FOOTER', 'IDLE']},
6
+  {},
7
+  {name: 'Din_i',       wave: 'x..3x.......', data: ['header']},
8
+  {name: 'DinStart_i',  wave: '0..10.......'},
9
+  {name: 'DinStop_i',   wave: '0..10.......'},
10
+  {name: 'DinValid_i',  wave: '0..10.......'},
11
+  {name: 'DinAccept_o', wave: '0.1.0.......'},
12
+  {},
13
+  {name: 'Dout_o',       wave: 'x....3.4.5.x', data: ['header', 'data', 'footer']},
14
+  {name: 'DoutStart_o',  wave: '0....1.0....'},
15
+  {name: 'DoutStop_o',   wave: '0........1.0'},
16
+  {name: 'DoutValid_o',  wave: '0....1.....0'},
17
+  {name: 'DoutAccept_i', wave: '0.....101010'},
18
+],
19
+  config: { hscale: 2 },
20
+  head:{
21
+   text:['tspan', {class:'h3'}, 'Read example (opcode 0x0)']
22
+ }
23
+}

+ 4
- 0
vai_reg/doc/read_example.svg
File diff suppressed because it is too large
View File


+ 23
- 0
vai_reg/doc/write_example.json View File

@@ -0,0 +1,23 @@
1
+{signal: [
2
+  {name: 'Reset_n_i',   wave: '01........'},
3
+  {name: 'Clk_i',       wave: 'p.........'},
4
+  {},
5
+  {name: 's_fsm_state', wave: '2.2.22.2.2', data: ['IDLE', 'GET_HEADER', 'SET_DATA', 'SEND_HEADER', 'SEND_FOOTER', 'IDLE']},
6
+  {},
7
+  {name: 'Din_i',       wave: 'x..34x....', data: ['header', 'data']},
8
+  {name: 'DinStart_i',  wave: '0..10.....'},
9
+  {name: 'DinStop_i',   wave: '0...10....'},
10
+  {name: 'DinValid_i',  wave: '0..1.0....'},
11
+  {name: 'DinAccept_o', wave: '0.1..0....'},
12
+  {},
13
+  {name: 'Dout_o',       wave: 'x....3.4.x', data: ['header', 'footer']},
14
+  {name: 'DoutStart_o',  wave: '0....1.0..'},
15
+  {name: 'DoutStop_o',   wave: '0......1.0'},
16
+  {name: 'DoutValid_o',  wave: '0....1...0'},
17
+  {name: 'DoutAccept_i', wave: '0.....1010'},
18
+],
19
+  config: { hscale: 2 },
20
+  head:{
21
+   text:['tspan', {class:'h3'}, 'Write example (opcode 0x1)']
22
+ }
23
+}

+ 4
- 0
vai_reg/doc/write_example.svg
File diff suppressed because it is too large
View File