SystemC 3.0.0
Accellera SystemC proof-of-concept library
|
#include <sysc/datatypes/int/sc_vector_utils.h>
Public Types | |
enum | { signed_result = SL || SR , left_count = SC_DIGIT_COUNT(WL+!SL) , left_extra = !SL && SR , left_hod = SC_DIGIT_INDEX(WL+!SL) , right_count = SC_DIGIT_COUNT(WR+!SR) , right_extra = SL && !SR , right_hod = SC_DIGIT_INDEX(WR+!SR) , add_bits = VEC_MAX(WL+left_extra,WR+right_extra)+1 , bit_bits = VEC_MAX(WL+left_extra,WR+right_extra) , div_bits = WL+SR , mod_bits = VEC_MIN(WL,WR+right_extra) , mul_bits = WL+WR , sub_bits = VEC_MAX(WL+left_extra,WR+right_extra)+1 , add_hod = SC_DIGIT_INDEX(add_bits-1) , bit_hod = SC_DIGIT_INDEX(bit_bits-1) , div_hod = SC_DIGIT_INDEX(div_bits-1) , mod_hod = SC_DIGIT_INDEX(mod_bits-1) , mul_hod = SC_DIGIT_INDEX(mul_bits-1) , sub_hod = SC_DIGIT_INDEX(sub_bits-1) , add_mask = SC_BIT_MASK1(add_bits+!signed_result) , bit_mask = SC_BIT_MASK1(bit_bits+!signed_result) , div_mask = SC_BIT_MASK1(div_bits+!signed_result) , mod_mask = SC_BIT_MASK1(mod_bits+!signed_result) , mul_mask = SC_BIT_MASK1(mul_bits+!signed_result) , sub_mask = SC_BIT_MASK1(sub_bits+!signed_result) , shorter_length = SC_DIGIT_COUNT( VEC_MIN(WL+!SL,WR+!SR) ) } |
typedef sc_big_op_type< WL, SL >::base_type | left_base |
typedef sc_big_op_type< WL, SL >::top_type | left_op |
typedef sc_big_op_type< WR, SR >::base_type | right_base |
typedef sc_big_op_type< WR, SR >::top_type | right_op |
typedef sc_big_op_type< add_bits, signed_result >::top_type | add_result |
typedef sc_big_op_type< bit_bits, signed_result >::top_type | bit_result |
typedef sc_big_op_type< div_bits, signed_result >::top_type | div_result |
typedef sc_big_op_type< mod_bits, signed_result >::top_type | mod_result |
typedef sc_big_op_type< mul_bits, signed_result >::top_type | mul_result |
typedef sc_big_op_type< sub_bits, signed_result >::top_type | sub_result |
Definition at line 77 of file sc_vector_utils.h.
typedef sc_big_op_type<add_bits,signed_result>::top_type sc_dt::sc_big_op_info< WL, SL, WR, SR >::add_result |
Definition at line 122 of file sc_vector_utils.h.
typedef sc_big_op_type<bit_bits,signed_result>::top_type sc_dt::sc_big_op_info< WL, SL, WR, SR >::bit_result |
Definition at line 123 of file sc_vector_utils.h.
typedef sc_big_op_type<div_bits,signed_result>::top_type sc_dt::sc_big_op_info< WL, SL, WR, SR >::div_result |
Definition at line 124 of file sc_vector_utils.h.
typedef sc_big_op_type<WL,SL>::base_type sc_dt::sc_big_op_info< WL, SL, WR, SR >::left_base |
Definition at line 116 of file sc_vector_utils.h.
typedef sc_big_op_type<WL,SL>::top_type sc_dt::sc_big_op_info< WL, SL, WR, SR >::left_op |
Definition at line 117 of file sc_vector_utils.h.
typedef sc_big_op_type<mod_bits,signed_result>::top_type sc_dt::sc_big_op_info< WL, SL, WR, SR >::mod_result |
Definition at line 125 of file sc_vector_utils.h.
typedef sc_big_op_type<mul_bits,signed_result>::top_type sc_dt::sc_big_op_info< WL, SL, WR, SR >::mul_result |
Definition at line 126 of file sc_vector_utils.h.
typedef sc_big_op_type<WR,SR>::base_type sc_dt::sc_big_op_info< WL, SL, WR, SR >::right_base |
Definition at line 118 of file sc_vector_utils.h.
typedef sc_big_op_type<WR,SR>::top_type sc_dt::sc_big_op_info< WL, SL, WR, SR >::right_op |
Definition at line 119 of file sc_vector_utils.h.
typedef sc_big_op_type<sub_bits,signed_result>::top_type sc_dt::sc_big_op_info< WL, SL, WR, SR >::sub_result |
Definition at line 127 of file sc_vector_utils.h.
anonymous enum |
Definition at line 80 of file sc_vector_utils.h.