U2 frontman Bono has said the local violence and "sheer fear" of his teenage years in North Dublin helped to inspire his music and influenced the songwriting process behind the band's track Cedarwood Road.

The 55-year-old singer, real name Paul Hewson, who was raised on Cedarwood Road in Glasnevin, said he used his teenage experiences of his hometown to compose the track for U2's current album Songs of Innocence.

During Bono's teenage years the Seven Towers housing project was in place, which relocated families to the Ballymun flats.

"They were very unhappy, they were angry, they were annoyed, these were the people we would meet as young teenagers," he said.

"A lot of my early memories of teenage years were of violence, and the sheer fear of leaving the house, going to catch the bus," he added.

"That [song] has all the dignity of that neighbourhood. Some dark characters indeed, but the general decency of people, the goodness, is in [the] guitar solo. I couldn't have achieved that," he told music podcast Song Exploder.

Bono said that the culture he grew up in during the Seventies not only defined him, but also the music he would go on to create.

"Myself and my friends dealt with the kind of skinhead, boot boy culture of the time by creating our own reality, and eventually our own rock and roll band. That's how we dealt with the fear that we felt," he said.

"When I was writing about Cedarwood, the big revelation for me was that you can't really leave these things behind because they are who you are, you can never escape your upbringing."

When asked for his favourite part of the song, Bono chose The Edge's guitar solo.

The Edge added: "Bono loved the solo idea, and later on in the process of recording he couldn't help himself, he started singing over it."