Disclosed are a compound represented by general formula (I) as a phosphodiesterase type-5 inhibitor or pharmaceutically acceptable salt thereof and use thereof in treating and/or preventing diseases or disease states related to the phosphodiesterase type-5 in mammals.