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.

Sequential PartsModulo Counter (modcntr)This table is for asynchronous high reset.Table 8-26. Modulo Counter Truth Table — LFSR Counter, AsynchronousHigh Resetmode clk_en clk rst creg (n-1) creg (n)- 0 - 0 - creg(n-1)- - - 1 - resetvalModulo 1 posedge 0 0 reloadvalWait-for 1 posedge 0 0 {newmsb, creg(n-1)} >> 1- 1 posedge 0 ≠ 0 {newmsb, creg(n-1)} >> 1For Binary Decrementing CounterThis table is for synchronous high reset.Table 8-27. Modulo Counter Truth Table — Binary Decrementing Counter,Synchronous High Resetmode clk_en clk rst creg (n-1) creg (n)- 0 - - - creg(n-1)- 1 - 1 - countModulo 1 posedge 0 0 count -1Wait-for 1 posedge 0 0 creg(n-1) - 1- 1 posedge 0 ≠ 0 creg(n-1) - 1This table is for asynchronous high reset.Table 8-28. Modulo Counter Truth Table — Binary Decrementing Counter,Asynchronous High Resetmode clk_en clk rst creg (n-1) creg (n)- 0 - 0 - creg(n-1)- - - 1 - countModulo 1 posedge 0 0 count -1Wait-for 1 posedge 0 0 creg(n-1) - 1- 1 posedge 0 ≠ 0 creg(n-1) - 1<strong>ModuleWare</strong> <strong>Reference</strong> Manual, Library Version 1.9 193September 18, 2008

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

Saved successfully!

Ooh no, something went wrong!