OpenCores
URL https://opencores.org/ocsvn/an-fpga-implementation-of-low-latency-noc-based-mpsoc/an-fpga-implementation-of-low-latency-noc-based-mpsoc/trunk

Subversion Repositories an-fpga-implementation-of-low-latency-noc-based-mpsoc

[/] [an-fpga-implementation-of-low-latency-noc-based-mpsoc/] [trunk/] [mpsoc/] [rtl/] [src_peripheral/] [jtag/] [jtag_simulation/] [jtag_wb_test/] [verilog/] [jtag_sim_input.v] - Blame information for rev 48

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 48 alirezamon
`ifdef INCLUDE_SIM_INPUT
2
 
3
/*
4
parameter SIM_ACTION = "((0,1,7,3),(0,2,ff,20),(0,1,6,3),(0,2,ffffffff,20),(0,2,1,20),(0,2,2,20),(0,2,3,20),(0,2,4,20))",
5
 
6
SIM_ACTION:
7
((time,type,value,length),
8
(time,type,value,length),
9
...
10
(time,type,value,length))
11
where:
12
time: A 32-bit value in milliseconds that represents the start time of the shift
13
relative to the completion of the previous shift.
14
type: A 4-bit value that determines whether the shift is a DR shift or an
15
IR shift.
16
value: The data associated with the shift. For IR shifts, it is a 32-bit value.
17
For DR shifts, the length is determined by length.
18
length: A 32-bit value that specifies the length of the data being shifted.
19
This value should be equal to SLD_NODE_IR_WIDTH; otherwise, the value
20
field may be padded or truncated. 0 is invalid.
21
 
22
SLD_SIM_TOTAL_LENGTH:
23
The total number of bits to be shifted in either an IR shift or a DR shift. This
24
value should be equal to the sum of all the length values specified in the SLD_SIM_ACTION string
25
 
26
SIM_N_SCAN:
27
Specifies the number of shifts in the simulation model
28
 
29
example:
30
select index 7f
31
$jseq drshift -state IDLE -hex 36 7f00000001    (0,2, 010000007f,24)
32
 
33
I:6,D:32:FFFFFFF,D:32:FFFFFFFF to jtag
34
 
35
$jseq drshift -state IDLE -hex 36 0600000002    (0,2, 0200000006,24)
36
 
37
$jseq drshift -state IDLE -hex 36 ff00000004    (0,2, 04000000ff,24)
38
 
39
        parameter SIM_ACTION = "((1,1,7,3),(0,2,ff,20),(0,1,6,3),(0,2,ffffffff,20),(0,2,1,20),(0,2,2,20),(0,2,3,20),(0,2,4,20))";
40
        parameter SIM_N_SCAN=8;
41
        parameter SIM_LENGTH=198;
42
 
43
 
44
 
45
 
46
*/
47
 
48
 
49
    parameter SIM_ACTION = "((1,1,7,3),(0,2,010000007f,24),(0,2,0200000006,24),(0,2,04000000ff,24))";
50
    parameter SIM_N_SCAN=4;
51
    parameter SIM_LENGTH=3*36+3;
52
 
53
 
54
 
55
`endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.