Hierarchical Fault Simulation for Mixed-Signal Circuits Using Template Based Fault Response Modeling