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.

Sequential PartsConfigurable Counter (cntr)ParametersTable 8-22. Configurable Counter Truth Table — One-Hot Counter,Synchronous High Resetup_dn max1 count[width] = 10 count[0] = 1Table 8-23. Configurable Counter ParametersParameter Values Defaultdin, count Port widths (must be > 0) Automaticclk_en_typeclk_typecount_typeload_typemax_typerst_typeup_dn_typemax_countrst_valstylesync_rst_priorityActiveHigh,ActiveLow,NoneRising,Falling,RisingLast,FallingLast,RisingEdge,FallingEdgeEnabled,DisabledActiveHigh,ActiveLowActiveHigh,ActiveLow,NoneSyncActiveHigh,AsyncActiveHigh,SyncActiveLow,AsyncActiveLowControlledByPort,Up,DownMaximum count valueReset valueBinary,Johnson,LFSR,OnehotEnabled,DisabledActiveHighRisingEnabledActiveHighActiveHighAsyncActiveHighControlledByPort00BinaryDisabledDesign Rule Checks• An error is issued if the width of any port cannot be determined or if ports clk, clk_en, rst,load, up_dn and max do not have a fixed width of 1.• A warning is issued and HDL generation fails for this part if any of ports rst, din, load, clkand up_dn are not connected or if at least one of ports max or count are not connected.188<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!