They are seperate...
A320 covers A318/319/320/321 it does not cover you for the A300/310/330/340/380
Depending on the country is how it appears on your licence, could be P1 A320, EA32, A320, Command A320 etc.
The A340 would be P1 A340, EA34, A340, Command A340 etc. it will cover you for the A340-200/300/500/600