File name
TTL74245_TypeC.nsl
Function
8bit bidirection bus x 2port code. NSL version of TTL74245 standard logic.
I/O signal
Port_A=8bit bidirection bus.
Port_B=8bit bidirection bus.
DIR=Direction.’1′ is Port_A to Port_B, ‘0′ is Port_B to Port_A.
nOE=Output enable.’0′ is active. ‘1′ is turn off and Hi-Z.
Specification
This code shown function input signal and hi-impedance signal example.
‘any { … }’ block control data output operation by ‘DIR’ and ‘nOE’ signals.
An output port which is declared as ‘output’ or ‘inout’, and is is not controlled any signal, thus it port will be ‘Hi-Z’ state.
Note
This code style is shorter than TypeA and TypeB source code