In a peripheral circuit region of a DRAM, two connection holes, for
connecting a first layer line and a second layer line electrically are
opened separately in two processes. After forming the connection holes,
plugs are formed in the respective connection holes.