Will 318 valve covers fit on a 340?

I have my old 1970 318’s valve covers and wonder if they would fit on my 1973 340. So the more general question is are all LA engine valve covers conpatible? Stock valve trane btw.

Thanks