OpenCores

Project maintainers

Details

Name: wb_rtc
Created: Jul 7, 2003
Updated: Sep 20, 2003
SVN Updated: Mar 10, 2009
SVN: Browse
Latest version: download (might take a bit to start...)
Statistics: View
Bugs: 0 reported / 0 solved
Star2you like it: star it!

Other project properties

Category:Other
Language:
Development status:Planning
Additional info:
WishBone compliant: No
WishBone version: n/a
License:

Description

Real Time Clock IP core with wishbone bus complaint. The RTC can transmit data to CPU as Binary Coded Decimal (BCD) values through wishbone bus. The data include the time by second, minute, hour, date, day, month, and year. It is 24-hour format. The RTC module can work with an external crystal that the frequency is not very fixed, such as 32.768kHz and so on. It also can generate two flexible interrupt requests: alarm and repetitive mode.

IMAGE: structure.jpg

FILE: structure.jpg
DESCRIPTION: Structure of wb_rtc core

IMAGE: ports.jpg

FILE: ports.jpg
DESCRIPTION: Ports of wb_rtc core

Features

- BCD number: second, minute, hour, date, day, month, and year;
- Determine whether the year is leap year;
- Year 2000 problem is removed;
- Either analog crystal oscillator input or digital clock input, and clock input is not fixed;
- Repetitive interrupt mode, Programmed to provide 6 different interval interrupt requests: once per second, once per minute, once per hour, once a day, once a week, once a month;
- Alarm interrupt mode, Programmed to generate interrupt request signal when real time clock equals to the time stored beforehand in the register;
- Written in verilog, and fully synthesisable.

Status

Verilog RTL code and simulation is finished and available.
It was verified in an Altera APEX EP20K400E SOPC development board.