Amlodipine is a calcium channel blocker while lisnopril is an angiotensin converting enzyme(ACE) inhibitor. Both groups of
drugs and simvastatin are unlikely to
cause erectile dysfunction. However yes, all three of them can cause swelling of ankles. Talk to your doctor. You can change your medications. Among antihypertensives you need to avoid thiazides , beta blockers and alpha blockers.
High blood pressure and reduced blood supply to penis can also cause erectile dysfunction.