In order to generate width/amplitude-adjustable square-wave pulses
this paper realizes independent and continuous adjustment and output of the amplitude and width of square wave pulses of a figure-8dual-pump passively mode-locked fiber laser by simply adjusting the power of the pumps.One pump is used to adjust the width of the output pulses and the other to adjust the amplitude.Simulation results show that this fiber laser can produce amplitude adjustable square wave pulses.This conclusion is helpful to the further study on the mechanism of nanosecond square wave pulse.