09.03.2013 Views

Processor Local Bus Functional Model Toolkit User's Manual

Processor Local Bus Functional Model Toolkit User's Manual

Processor Local Bus Functional Model Toolkit User's Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

• * size0_min/max = [integer] default:0/3 * size1_min/max = [integer] default:8/12<br />

These parameters should be used instead of size_min/max when a user wants to avoid having the<br />

model adjust all invalid sizes down to a single(size=0000) transfer(see description of<br />

size_min/max). These parameters provide the user with the ability to provide split ranges for the<br />

m_size parameter. Thus a user could do the following:<br />

configure(size0_min=0,size0_max=1,size1_min=10,size1_max=10)<br />

This would produce singles transfers(size=0000), 4-word line transfers(size=0001), and fullword<br />

burst transfers(size=1010).<br />

• * cmd_min/cmd_max = [1,2] 1:read 2:write default:1/2<br />

These parameters specify the random generation of reads and/or writes. If one is specified for both<br />

then only reads will be produced, and if two is specified for both then only writes will be produced.<br />

• single_probability/line_probability/burst_probability = [integer] default:33/33/34<br />

These parameters specify the percentage of single, line, and burst transfers that will be generated<br />

during the entire random simulation. The total of the three should add up to one hundred. For<br />

example, a user could specify the following:<br />

configure(single_probability=50, line_probability=25, burst_probability=25)<br />

This would generate single transfers 50% of the time, line transfers 25% of the time, and burst<br />

transfers 25% of the time. All three parameters should be specified in order to correctly override<br />

the defaults. This is true even if one of the values is set to zero.<br />

• line4wd_8wd_16wd = [integer-integer-integer] default:33-33-34<br />

This parameter specifies the percentage of 4wd, 8wd, and 16wd line transfers that will be<br />

generated during an entire random simulation in which the line_probability is greater than zero.<br />

The total of the three integer values should add up to one hundred. For example, a user could<br />

specify the following:<br />

configure(line4wd_8wd_16wd=40-30-30)<br />

Out of all line transfers generated, 40% would be 4wd line transfers, 30% would be 8wd line<br />

transfers, and 30% would be 16wd line transfers. This parameter should be used when the<br />

line_probability is greater than zero or it is ignored.<br />

• * burst_count_min/max = [integer] default:1/32<br />

These parameters specify the range for burst_count when master_auto_mode is true and<br />

burst_probability is greater than zero or size_min/max include burst transfers. The model<br />

automatically assigns a random value to burst_count between (and including) the minimum and<br />

maximum values.<br />

• fixed_burst_probability = [integer] default:4<br />

This parameter specifies the probability of fixed burst transfers out of all burst transfers when<br />

master_auto_mode is true and burst_probability is greater than zero. For example, a user could<br />

specify the following:<br />

configure(single_probability=20,line_probability=20,burst_probability=60,fixed_burst_probability=5<br />

)<br />

This configure would generate a fixed burst transfer for 1 out of every 5 burst transfers.<br />

32 <strong>Processor</strong> <strong>Local</strong> <strong>Bus</strong> <strong>Functional</strong> <strong>Model</strong> <strong>Toolkit</strong> Version 4.9.2

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!