electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

mod n counter


Post new topic  Reply to topic    EDAboard.com Forum Index -> ASIC Design Methodologies & Tools (Digital) -> mod n counter
Author Message
balan



Joined: 18 Feb 2007
Posts: 43


Post19 Mar 2008 6:04   

mod n counter


hi guys,
i need to design a mod n bit counter for my project. how to reset the counter when the desired count. help me.

thank you
Back to top
Google
AdSense
Google Adsense




Post19 Mar 2008 6:04   

Ads




Back to top
madhavisai



Joined: 03 Feb 2008
Posts: 44


Post19 Mar 2008 16:13   

mod n counter


use T ff use defined primitve and write the code for asynchronous counter
Back to top
balan



Joined: 18 Feb 2007
Posts: 43


Post20 Mar 2008 4:32   

Re: mod n counter


hi,

thank you,

but u have a implemented in other logic,

define parameter modcount =N;

while counting use the code as count = (count+1) % modcount;

which will reset the counter to reset value when desired count is achieved.

try this.


thank you.
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> ASIC Design Methodologies & Tools (Digital) -> mod n counter
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
Difference between mod n counter and divide by n counter (1)
decade counter and mod counter (1)
mod-N Counter (3)
MOD 5 counter (3)
Mod 3 versus Base 3 counter (1)
what is the diff between Shift counter and Binary counter?? (4)
Prescaler, Programmable Counter, Pulse Swallow Counter (4)
TSC (Timer Stamp Counter) ?= Counter (1)
Up counter-Down counter (1)
UK-spec TV mod? (2)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS