Switch  
Model Name   SWITCH(RAMP)  
Symbol   No Symbol  
Generics  
Name   Type   Default   Unit   Min   Description  
RON   REAL   1.0E-3       resistance when switch is closed  
ROFF   REAL   1.0E6     ROFF>RON   resistance when switch is open  
TON   REAL   1.0E-6     >=0.0   transition time for rising edge  
TOFF   REAL   1.0E-6     >=0.0   transition time for falling edge  
 
Ports  
Interface   Name   Type/Nature   Mode   Description  
terminal   P   ELECTRICAL     positive terminal  
terminal   M   ELECTRICAL     negative terminal  
signal   C   STD_LOGIC   in   control signal  
 
Description   This model describes a switch that is built up with a changeable
resistance. Transistions are modeled using the 'RAMP attribute
where the transistion times can be parametrized.
 
Dependencies  
Logical Library   Design Unit/Design Entity  
IEEE_proposed   ELECTRICAL_SYSTEMS  
IEEE   STD_LOGIC_1164  
 
Source   See source code