Skip to content

Files

Latest commit

a4f3fa9 · Apr 14, 2024

History

History
29 lines (26 loc) · 735 Bytes

README.md

File metadata and controls

29 lines (26 loc) · 735 Bytes

TIMER

Features

  • Programmable prescaler
    • max division factor is up to 2^20
    • can be changed ongoing
  • 32-bit programmable timer counter and compare register
  • Auto reload counter
  • Multiple clock source
    • internal division clock
    • external low-speed clock
  • Multiple counter mode
    • up counting
    • down counting
  • Input capture mode support
    • 1 channel
    • rise or fall trigger
  • Maskable overflow interrupt
  • Static synchronous design
  • Full synthesizable

FULL vision of datatsheet can be found in datasheet.md.

Build and Test

make comp    # compile code with vcs
make run     # compile and run test with vcs
make wave    # open fsdb format waveform with verdi