Notes from By Ken Kundert - The Designer's Guide to Verilog-AMS: 1st (first) Edition
Basic Rules
- Identify particular areas of concern in the design. Make plans on how to verify them in simulation and testing. Plans can be test benches with varying and specified levels of test bench block details and how to test them once the chip comes back and also how in final test. Planning process is important and should not be skipped.
- For simulation models do not write models that are more complicated than necessary. Start with simplest models and add features as needed only.
- Not necessary to model the behavior of a block outside its normal operating range instead add code to report them.
System Level Verification
- Choose an algorithm if needed using Math packages or block diagram simulators like Simulink etc.
- Now implement the algorithm closer to circuit blocks using models that model the interface behavior of circuit blocks.
Mixed Level Simulation
- After the system level is functioning. Some blocks are refined and transistor level circuits are designed for them. Now we can put in only those blocks in the system level simulation to test only those blocks right in the system.
- As the blocks are implemented as transistor level their original system level models can be improved so that when they are not in the system they are represented more accurately and thus give a better system simulation.
Final Verification
- SPICE simulation should be used together with mixed level simulation to verify the chip. SPICE should be used to verify certain top level cases where interfacing between the blocks is important. Start-up simulation is a good example.
Test
- The test group can use the system design to design the tests