main_fsm_test should be ready to go, but modelsim keeps complaining about ram32x512 in main_fsm not being defined (which it is; it's a coregen module).