A semiconductor device comprises a bottom electrode, a top electrode, and a dielectric
film provided between the bottom electrode and the top electrode and made of a
perovskite type ferroelectrics containing Pb, Zr, Ti and O, the dielectric film
comprising a first portion formed of a plurality of crystal grains partitioned
by grain boundaries having a plurality of directions.