/* ************************************************************ */
declare TTL_74245_TypeC {
inout Port_A[8] ;
inout Port_B[8] ;
input DIR ; // Direction. 0 = Port B -> A, 1 = PortA -> PortB
input nOE ;
}
/* ************************************************************ */
module TTL_74245_TypeC {
/* Equation for biridection pin */
{
if ( ~nOE ) {
any {
~DIR : Port_B = Port_A ;
else : Port_A = Port_B ;
}
}
}
}