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 PartsN-Input NOR Gate (nor)N-Input NOR Gate (nor)This part performs a logical NOR of input ports din0 to dinN. Each bit ofoutput port dout is the NOR of the corresponding bits of ports din0 todinN.Ports are automatically added or removed when you resize the componentinstance to implement any number of input ports.This part is equivalent to n N-bit NOR gates where n is the port width andN is the number of input ports.Setting the dout port polarity ActiveLow with all input ports ActiveHigh,results in an N-Input OR gate.Functiondout = din0 NOR din1 NOR din2 … NOR dinNTruth TableThe truth table would contain 2 N rows with dout = 0 for all rows except the row with all N bitsof the bus = 0. For negative polarity, all rows in the table would have dout = 1 except when allN bits of the bus = 1.ParametersTable 2-8. N-Input NOR Gate Truth Tabledin0(i) din1(i) … dinN(i) dout(i)0 0 0 0 1All other rows 01 1 1 1 0Table 2-9. N-Input NOR Gate ParametersParameter Values Defaultdin0, dout Port widths (must be > 0) Automaticdin0_type to dinN_type, dout_type ActiveHigh, ActiveLow ActiveHighDesign Rule Checks• An error is issued if any of the ports din0 to dinN and dout do not have the same width or ifthe width of any port cannot be determined.• A warning is issued and HDL generation fails for this part unless the output port and at leasttwo input ports are connected.38<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!