A semiconductor integrated circuit (LSI) in which control information for determining
a voltage or a width of a pulse produced itself can easily be set in parallel with
other LSIs, and set information can be corrected easily. From an external evaluation
device, a voltage of an expected value is supplied in overlapping manner to a plurality
of LSIs each having a CPU and a flash memory. Each LSI incorporates a comparison
circuit comparing an expected voltage value and a boosted voltage generated in
itself. The CPU refers to a comparison result and optimizes control data in a data
register for changing a boosted voltage. The CPU controls the comparison circuit
and the data register and performs trimming in a self-completion manner, thereby
making, trimming on a plurality of LSIs easily in a parallel manner and a total
test time reduced.