Behavioral model of segmented current-steering DAC by using SIMULIN