You can steal some testbenches and edit them yourself here:
**broken link removed**
There is a document on this page that explains how to setup a switch cap network.
First use voltage controlled resisters to test your design... then later you can
replace these ideal switches with mosfets.