def main(args): global cable dt = args['dt'] makeCable(args) setupDUT(dt) table0 = utils.recordAt('/table0', cable[0], 'vm') table1 = utils.recordAt('/table1', cable[-1], 'vm') simulate(args['run_time'], dt) utils.saveTables([table0, table1], file=args['output'], xscale=dt)
def main(args): global cable dt = args['dt'] makeCable(args) setupDUT( dt ) table0 = utils.recordAt( '/table0', cable[0], 'vm') table1 = utils.recordAt( '/table1', cable[-1], 'vm') simulate( args['run_time'], dt ) utils.plotTables( [ table0, table1 ], file = args['output'], xscale = dt )