I need to generate rectangular pulses with width between 1 and 10us: their output peak voltage can range from +5V to -5v in (at least) 5 mV steps.
The original pulse (generated by a PWM microprocessor pin) have a pk-pk output voltage of 5V:

What I need is a variable attenuator with at least 10 bits of resolution (better 12 or 14 for linearity reasons).
I was thinking to use a
Multiplying DAC like the
AD5446 (14bit) set in 4 quadrant configuration: 13 bit for attenuation and one for sign [see
Bipolar Operation, pag. 16].
This device is reasonably cheap for my requirements and its reference bandwidth is 12MHz.
The output results could be summoned in the following two pictures:

output set to 2.7V from the original 0-5V pulse

output set to -3.3V from the original 0-5V pulse
The output pk-pk voltage need to be changed not more than once per second.
- - - - -
Based on your experience, do you think my approach can be worthful?
Have you different suggestions/solutions on how to solve my needs?