13.07.2015 Views

ModuleWare Reference Guide - Hornad

ModuleWare Reference Guide - Hornad

ModuleWare Reference Guide - Hornad

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

XOR Primitive (pxor)Primitive PartsXOR Primitive (pxor)This is a highly parameterized XOR primitive which has a userspecifiednumber of inputs and a scalar output.The rise time is controlled by an enumerated parameter rise_delay andthe fall time is controlled by an enumerated parameter fall_delay. Thesmaller of the two delays applies on output transitions to X. If there isno delay specification, there is no propagation delay through the gate.The width of the port din determines the number of inputs for this primitive.The strength level can be controlled by the enumerated parameters strength0_type andstrength1_type. If strength0_type is not specified where strength1_type is specified,strength0_type is taken as Strong0. Whereas if strength1_type is not specified wherestrength0_type is specified, strength1_type is taken as Strong1.This part is equivalent to n XOR gates, where n is the width of the port.Functiondout = din0 XOR din1 XOR din2 XOR …Truth TableTable 10-39. XOR Primitive Truth Tablepxor 0 1 X Z0 0 1 X X1 1 0 X XX X X X XZ X X X XParametersTable 10-40. XOR Primitive ParametersParameter Values Defaultdin Number of inputs (must be >= 1) Automaticfall_delayrise_delaystrength0_typestrength1_typeInteger value of the fall time for the gateInteger value of the rise time for the gateNone, Supply0, Strong0, Pull0, Weak0, HighZ0None, Supply1, Strong1, Pull1, Weak1, HighZ100NoneNoneDesign Rule Checks• An error is issued if the width of any port cannot be determined or if both strength types areset to HighZ.• A warning is issued and HDL generation fails for this part if any of ports are not connected.<strong>ModuleWare</strong> <strong>Reference</strong> Manual, Library Version 1.9 259September 18, 2008

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

Saved successfully!

Ooh no, something went wrong!