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.

Bit Manipulation PartsN-Way Splitter (split)Example splitting the 6-bit bus din into a 4-bit dout1 and a 3-bit dout2 bus showing how theundefined bit in dout1 is filled with an X:Table 5-13. N-Way Splitter Truth Table — Two-Busdin dout1 dout0001000 X001 000010110 X010 110100000 X100 000001010 X001 010Truth Table (4-Bus Examples)Example splitting the 7-bit bus din into three 2-bit buses (dout3 to dout1) and one 1-bit busdout0:Table 5-14. N-Way Splitter Truth Table — Four-Busdin dout3 dout2 dout1 dout00001000 00 01 00 00010110 00 10 11 00100000 01 10 00 01001011 10 01 01 1Example splitting the 8-bit bus din into three 2-bit buses (dout3 to dout1) and one 1-bit busdout0 showing how the highest bit of din is discarded:Table 5-15. N-Way Splitter Truth Table — Four-Busdin dout3 dout2 dout1 dout000001000 00 01 00 010010110 00 10 11 000100000 01 10 00 001001011 10 01 01 1Example splitting the 6-bit bus din into three 2-bit buses (dout3 to dout1) and one 1-bit busdout0 showing how the undefined bit in dout3 is filled with an X:Table 5-16. N-Way Splitter Truth Table — Four-Busdin dout3 dout2 dout1 dout0001000 X0 01 00 0010110 X0 10 11 0<strong>ModuleWare</strong> <strong>Reference</strong> Manual, Library Version 1.9 87September 18, 2008

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

Saved successfully!

Ooh no, something went wrong!