stop the simulator , both tcl binder and socket server concode_field_sep State state concode_elem_sep String SIM_RESOURCES_PATH concode_elem_sep String SIM_SRC_PATH concode_elem_sep String VHDL_TEMPLATES_PATH concode_elem_sep Charset ENCODING concode_elem_sep VhdlSimulatorTclComp tclRun concode_elem_sep Project project concode_elem_sep Logger logger concode_elem_sep String SIM_COMP_PATH concode_elem_sep String SIM_TOP_FILENAME concode_elem_sep VhdlSimulatorTclBinder tclBinder concode_elem_sep String SIM_PATH concode_elem_sep SocketClient socketClient concode_elem_sep VhdlSimulatorVhdlTop vhdlTop concode_elem_sep ArrayList<VhdlSimulatorListener> listeners concode_field_sep boolean hasVhdlComponent concode_elem_sep boolean hasVhdlComponent concode_elem_sep void fireInvalidated concode_elem_sep String receive concode_elem_sep void restart concode_elem_sep void start concode_elem_sep void fireVhdlSimStateChanged concode_elem_sep void generateFiles concode_elem_sep void setEnabled concode_elem_sep void addVhdlSimStateListener concode_elem_sep State getState concode_elem_sep List<Component> getVhdlComponents concode_elem_sep boolean isRunning concode_elem_sep void circuitChanged concode_elem_sep void disable concode_elem_sep void enable concode_elem_sep boolean isEnabled concode_elem_sep void tclStartCallback concode_elem_sep void reset concode_elem_sep void setState concode_elem_sep void removeVhdlSimStateListener concode_elem_sep void send concode_elem_sep Project getProject concode_elem_sep SocketClient getSocketClient
void function ( ) { switch ( state ) { case DISABLED : case ENABLED : return ; case RUNNING : break ; case STARTING : break ; default : throw new UnsupportedOperationException ( "srini_string" + state + "srini_string" ) ; } tclBinder . stop ( ) ; socketClient . stop ( ) ; setState ( State . ENABLED ) ; }