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.

Logic PartsReduction OR (tor)Reduction OR (tor)This part performs a cascading OR of all the bits of input port din. Theresult is placed on the scalar output port dout. Port dout is set to 1 if oneor more bits of the port din are 1.This part is equivalent to n-1 2-bit OR gates where n is the port width.Functiondout = OR (all bits of port din)Truth TableThis table is for positive polarity. For negative polarity, invert the values.ParametersTable 2-27. Reduction OR Truth TabledindoutAll bits are 0 (din = 0) 0else 1Table 2-28. Reduction OR ParametersParameter Values Defaultdin Port width (must be > 0) Automaticdin_type, dout_type ActiveHigh, ActiveLow ActiveHighDesign Rule Checks• An error is issued if the width of any port cannot be determined or if ports dout does nothave a width of 1.• A warning is issued and HDL generation fails for this part if either of ports din and dout arenot connected.50<strong>ModuleWare</strong> <strong>Reference</strong> Manual, Library Version 1.9September 18, 2008

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

Saved successfully!

Ooh no, something went wrong!