conv_tdf2de
Project Library Model Name Kind
sca_basic_libraries converters conv_tdf2de TDF Module

Ports

Name Interface Type Description
tdf_i sca_tdf::sca_in T1 tdf input
sc_o sca_tdf::sc_out T2 sc output

Description

converts tdf to sc

Long Description

Timed dataflow (TDF) module of a type and tdf to sc converter. This module reads a value from the inport tdf_i, converts the value from the type specified by the template parameter T1 to the type specified by the template parameter T2 and writes the result to the discrete event SystemC outport sc_o. 

The inport is of the type of the template parameter T1 and the outport of the type of the template parameter T2. For the type T1 a cast operator to the type T2 must be available. For the type T1 and T2 an assignment operator must be available. For the conversion from double or float to sc_dt::sc_bv<wl> or sc_dt::sc_lv<wl> specializations are defined which perform a cast via 64bit integer values.

This module accepts attribute changes. This module has no ac implementation.