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.

Truth Table for One-Hot CounterThis table is for asynchronous high reset. Here width is the width of port count.This table is for synchronous high reset.Sequential PartsConfigurable Counter (cntr)Table 8-18. Configurable Counter Truth Table — LFSR Counter, SynchronousHigh Reset, Positive Polarities (cont.)load clk_en clk rst count1 1 posedge 0 din0 1 posedge 0 {nmsb, count} >> 1Table 8-19. Configurable Counter Truth Table — LFSR Counter, SynchronousHigh Reset, Positive Polaritiesup_dn max1 count = mcount0 count = 0Table 8-20. Configurable Counter Truth Table — One-Hot Counter,Asynchronous High Resetload clk_en clk rst up_dn count- - - 1 - rst_val- 0 - 0 - count1 1 posedge 0 - din0 1 posedge 0 1 {count, count[width]} > 1Table 8-21. Configurable Counter Truth Table — One-Hot Counter,Synchronous High Resetload clk_en clk rst up_dn count- 0 - - - count- 1 posedge 1 - rst_val1 1 posedge 0 - din0 1 posedge 0 1 {count, count[width]} > 1<strong>ModuleWare</strong> <strong>Reference</strong> Manual, Library Version 1.9 187September 18, 2008

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

Saved successfully!

Ooh no, something went wrong!