CA 540 is the main return. If you are a CA resident, the program will generate it for you. You need to go into the CA state program and answer questions.
Here are the 540 instructions.