Hi icekalt,
Do you clock the encoder output to registers/DFFs? If NOT, the output must be unstable at the begining of each conversion cycle because the combinational logic has race hazard.
http://en.wikipedia.org/wiki/Race_hazardIn your testbench, the unstable encoder output is clocked to the ideal DAC after the sampling rate is increased to 30MS/s, i.e., the cycle is decreased to 1/30M.
1. Delay the phase of clock for DAC, waiting for the stable encoder output.
2. Put registers/DFFs at the encoder output.
Yawei