Skip to content

Latest commit

 

History

History
163 lines (112 loc) · 4.63 KB

File metadata and controls

163 lines (112 loc) · 4.63 KB

Source parameters

The source generates K information bits: it is the simulation starting point.

--src-info-bits, -K

Type

integer

Examples

--src-info-bits 64 -K 128

Warning

This argument is required only with the UNCODED simulation code type (cf. the sim-sim-cde-type parameter).

--src-type

Type

text

Allowed values

AZCW RAND USER

Default

RAND

Examples

--src-type AZCW

Description of the allowed values:

Value Description
AZCW Set all the information bits to 0.
RAND Generate randomly the information bits based on the Matsumoto1998.
USER Read the information bits from a given file, the path can be set with the src-src-path parameter.

Note

For the USER type, when the number of simulated frames exceeds the number of frames contained in the files, the frames are replayed from the beginning of the file and this is repeated until the end of the simulation.

--src-implem

Type

text

Allowed values

FAST STD

Default

STD

Examples

--src-implem FAST

Description of the allowed values:

Value Description
STD Standard implementation working for any source type.
FAST Fast implementation, only available for the RAND source type.

--src-fra, -F

Type

integer

Default

1

Examples

--src-fra 8

The default behavior is to generate one frame at a time. This parameter enables to process more than one frame when the generate task (from the source module) is called.

The number of frames consumed and produced when a task is executed is called the inter frame level or . Setting the in the source module will automatically affect the level in all the other simulation modules (c.f. fig_src_fra_inter).

3-way inter frame level in the communication chain.3-way inter frame level in the communication chain.

The also allows multi-user configurations to be simulated (see fig_src_fra_multi_user). This configurations is used when using modulation (see the mdm-mdm-type SCMA parameter).

3-way inter frame level with multi-user channel in the communication chain.3-way inter frame level with multi-user channel in the communication chain.

Note

For short frames, increase the can increase the simulation throughput, it can hide task call overheads.

Note

For large frames, increase the can decrease the simulation throughput due the CPU cache size limitation.

--src-path

Type

file

Rights

read only

Examples

--src-path conf/src/GSM-LDPC_2112.src

An file is expected:

# 'F' has to be replaced by the number of contained frames.
F

# 'K' has to be replaced by the number of information bits.
K

# a sequence of 'F * K' bits (separated by spaces)
B_0 B_1 B_2 B_3 B_4 B_5 [...] B_{(F*K)-1}

--src-start-idx

Type

integer

Default

0

Examples

--src-start-idx 42

References

references.bib