I'm assuming you will be hiring a car? If so, check the arrangements for hiring in Dublin and travelling into Northern Ireland (they are separate countries...) If there are issues, you may want to catch the bus from Dublin to Belfast and hire a car when you leave Belfast.
Days 1 & 2 Belfast. That gives time to see something of the city, visit Titanic Exhibition... You might also be interested in the Game of Thrones Studio Tour based at Bainbridge about 40-45 min drive SW of Belfast. (The Game of Thrones bus tours from Belfast will cover many of the sights listed for Day 5, so maybe discount them and do under your own steam and at your own pace...)
Day 3 head up the Antrim coast for the Antrim Glens. Each of them is very different and it is worth taking you time and stopping off to enjoy them along the way. If you are wanting to walk, Glenariff is possibly the best with several trails to choose from. One of the best is the waterfalls trail. Cushenden and Cushendahl are attractive small village. Spend the night at possibly Ballycastle.
Day 4 Think about a boat trip to Rathlin Island... Explore on foot - there are plenty of walking trails. Night at Ballycastle
Day 5 - Causeway coast - Carrick a Rede Rope Bridge, Dunluce Castle and Giant's Causeway. The Giant's cCauseway is always busy so try and visit first think or later in teh afternoon when all the visitors are heading back home. Also try and plan for low tide when more of the stones are exposed. At high tifde it can be a bit disappointing. As well as walking down to the stones, consider a walk along the cliffs above the causeway. You look down on the rocks and all the visitors scurrying around a bit like ants. It is an exhillarating walk. If time allows continue to Portrush and Port Stewart. Return to Ballycastle for the night.
Day 6 return to Belfast and drop off the car. Bus back to Dublin
Day 7 Fly out of Dublin (Depending on time of flight, see something of Dublin....)
If you don't want to visit Rathlin Island then look at this...
Day 4 - Causeway coast - Carrick a Rede Rope Bridge, Dunluce Castle and Giant's Causeway. The Giant's cCauseway is always busy so try and visit first think or later in teh afternoon when all the visitors are heading back home. Also try and plan for low tide when more of the stones are exposed. At high tide it can be a bit disappointing. As well as walking down to the stones, consider a walk along the cliffs above the causeway. You look down on the rocks and all the visitors scurrying around a bit like ants. It is an exhillarating walk. Drive to Derry for the night
Day 5 Explore Derry
Day 6 return to Belfast and drop off the car. Bus back to Dublin
Day 7 fly out of Dublin (Depending on time of flight, see something of Dublin....)