simulation program for distributed circuit