The present invention provides a ferroelectric device relatively free of fences
by using a hardmask having high etching selectivity relative to an underlying barrier
layer. The present invention also includes a method for suppressing the fences
clinging to the sidewalls of ferroelectric devices. Additionally, the present invention
provides a ferroelectric device having a hardmask relatively thin compared to an
underlying barrier layer when compared to prior art devices.