'sanity check' is a literal term rather than a technical term. You can do 'sanity check' on anything you like. You define the test and you do the testing. For example a 'sanity check' can be done on RTL while writing it, that it is synthesizeable, by quickly reading it into a synthesis tool.