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/] [src_c/] [jtag/] [test_rtl/] [jtag_sim_pattern/] [jtag_sim_input.v] - Rev 48

Compare with Previous | Blame | View Log

 `ifdef INCLUDE_SIM_INPUT 
/*  
parameter SIM_ACTION = "((1,1,7,3),(0,2,010000007f,24),(0,2,0200000006,24),(0,2,04000000ff,24))";  
SIM_ACTION:
((time,type,value,length),
(time,type,value,length),
...
(time,type,value,length))
where:
time: A 32-bit value in milliseconds that represents the start time of the shift
relative to the completion of the previous shift.
type: A 4-bit value that determines whether the shift is a DR shift or an
IR shift.
value: The data associated with the shift. For IR shifts, it is a 32-bit value.
For DR shifts, the length is determined by length.
length: A 32-bit value that specifies the length of the data being shifted.
This value should be equal to SLD_NODE_IR_WIDTH; otherwise, the value
field may be padded or truncated. 0 is invalid.
 
SLD_SIM_TOTAL_LENGTH: 
The total number of bits to be shifted in either an IR shift or a DR shift. This
value should be equal to the sum of all the length values specified in the SLD_SIM_ACTION string
 
SIM_N_SCAN:
Specifies the number of shifts in the simulation model
 
example:
select index 7f
$jseq drshift -state IDLE -hex 36 7f00000001    (0,2, 010000007f,24)
I:6,D:32:FFFFFFF,D:32:FFFFFFFF to jtag
 
$jseq drshift -state IDLE -hex 36 0600000002    (0,2, 0200000006,24)
$jseq drshift -state IDLE -hex 36 ff00000004    (0,2, 04000000ff,24)
 
	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))";  
	parameter SIM_N_SCAN=8;
    	parameter SIM_LENGTH=198;
*/
    parameter SIM_ACTION = "((1,1,7,3),(0,2,010000007f,24),(0,2,0200000001,24),(0,2,0400000003,24),(0,2,0400000002,24),(0,2,0200000000,24),(0,2,0100000000,24),(0,2,0200000004,24),(0,2,0400000001,24),(0,2,0200000007,24),(0,2,0400000000,24),(0,2,0200000006,24),(0,2,04cccccccc,24),(0,2,04aaaaaaaa,24),(0,2,0455555555,24),(0,2,0478563412,24),(0,2,04ccbbaaff,24),(0,2,0400000000,24),(0,2,0412121212,24),(0,2,04cccccccc,24),(0,2,04aaaaaaaa,24),(0,2,0455555555,24),(0,2,0478563412,24),(0,2,04ccbbaaff,24),(0,2,0400000000,24),(0,2,0412121212,24),(0,2,04cccccccc,24),(0,2,04aaaaaaaa,24),(0,2,0455555555,24),(0,2,0478563412,24),(0,2,04ccbbaaff,24),(0,2,0400000000,24),(0,2,0412121212,24),(0,2,0200000005,24),(0,2,0400000000,24),(0,2,0400000001,24),(0,2,0400000002,24),(0,2,0400000003,24),(0,2,0400000004,24),(0,2,0400000005,24),(0,2,0400000006,24),(0,2,0400000007,24),(0,2,0400000008,24),(0,2,0400000009,24),(0,2,040000000a,24),(0,2,040000000b,24),(0,2,040000000c,24),(0,2,040000000d,24),(0,2,040000000e,24),(0,2,040000000f,24),(0,2,0400000010,24),(0,2,0400000011,24),(0,2,0400000012,24),(0,2,0400000013,24),(0,2,0400000014,24),(0,2,0400000015,24),(0,2,0400000000,24),(0,2,0400000001,24),(0,2,0200000004,24),(0,2,0400000000,24),(0,2,010000007f,24),(0,2,0200000001,24),(0,2,0400000000,24),(0,2,0200000000,24))";
parameter SIM_N_SCAN=64;
parameter SIM_LENGTH=2271;
`endif

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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