RemapDevice
    
    
        Map SIMetrix simulator device to model name and level number.
    
    
        Arguments
    
    
        
        
        
        
        
        
            | Number | Type | Compulsory | Default | Description | 
        
            | 
                    1
                 | 
                    string
                 | 
                    Yes
                 | 
                 | 
                    Mapping spec
                 | 
    
    
        Argument 1
    
    
        Comma delimited list of name=value pairs providing spec to map a device type to its model and level number.
              Name=value pairs are defined as follows:
    
    
        Returns
    
    
    
    
    
    
        Notes
    
    
        
            
                | RemapDevice('ModelName=D,Level=1,Device=Diode3') | 
        
     
    The above would make level 1 diodes use the same model as level=3. Here is another example:
    
        
            
                | RemapDevice('ModelName=R,Level=0,Device=HspiceRes') | 
        
     
    Level=0 is the level value when the LEVEL parameter is not specified. In the case of
        resistors, no .MODEL statement is required at all, so the above line will change the
        default model used for all resistors to the Hspice model instead of the native SIMetrix
        model.
        It is also possible to add a new mapping in which case the level and modelname
        parameters must be currently unused. Also when creating a new mapping the 'Letter'
        parameter must be specified. 'Letter' is the first letter of the component reference
        traditionally used to identify the type of device in SPICE netlists. For example 'Q'
        refers to BJTs and 'D' refers to diodes.
        For example, the following entries define LEVEL=69 as a valid level for accessing the
        PSP 1.03 model:
    
        
            
                | RemapDevice('ModelName=nmos,Level=69,Device=psp103_n,report=on') | 
        
     
    Note that two entries are required in order to support both n-channel and p-channel
        devices. The above doesn't change the existing level it adds an additional level.
        Both the original level number and 69 will be accepted and be equivalent.
        When defining a new mapping the letter must be specified and usually this should be
        the letter conventionally used for the class of device. If defining a new mapping for a
        MOSFET, the letter 'M' should be used, for a diode the letter 'D' should be used and
        so on. However, the letters, 'N', 'P', 'W', 'U' and 'Y' maybe used as well for any type
        of device.
    
    
    
 
		Copyright ©  SIMetrix Technologies Ltd. 2015
		Copyright ©  SIMPLIS Technologies Inc. 2015