13.07.2015 Views

ModuleWare Reference Guide - Hornad

ModuleWare Reference Guide - Hornad

ModuleWare Reference Guide - Hornad

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Bank of Latches (latch)Sequential PartsBank of Latches (latch)This part provides a bank of latches. This part has a level-sensitivetrigger. The scalar input port oena is the trigger for the latch. If the scalarinput port oena is activated the value of the input data bus port din isplaced in the output data bus port lout.The activation of scalar input port oena is controlled by the enumeratedparameter oena_type (ActiveHigh, ActiveLow). If the value of theparameter oena_type is ActiveHigh, the scalar input port oena is Activeon a value of 1. If the value of the parameter oena_type is ActiveLow, thescalar input port oena is Active on a value of 0.The scalar input port rst has precedence over the input port oena. If the rst port is activated, thevalue of the parameter rst_val is placed in the output port lout. The rst port is controlled by theenumerated parameter rst_type (ActiveHigh or ActiveLow). If the value of parameter rst_typeis ActiveHigh, the scalar input port rst is active on a value of 1. If the value of rst_type isActiveLow, the scalar input port rst is active on a value of 0. If none of the controlling inputports (rst and oena) are active, the output port lout retains its values.This part is equivalent to n latches; where n is the width of the ports din and lout. The inferredlatch depends upon the type of input ports rst and oena.Parameter rst_val can take LNBF format as described in the Constant Value (constval) model.<strong>ModuleWare</strong> <strong>Reference</strong> Manual, Library Version 1.9 173September 18, 2008

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!