mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-08-07 22:22:29 -04:00
Minor cleanup of README, testbench and Makefile
Signed-off-by: Joachim Strömbergson <joachim@assured.se>
This commit is contained in:
parent
e0e871c730
commit
c185849ae4
3 changed files with 12 additions and 4 deletions
|
@ -1,5 +1,13 @@
|
||||||
# timer
|
# timer
|
||||||
A simple timer with prescaler written in Verilog.
|
A simple timer with prescaler.
|
||||||
|
|
||||||
## Introduction
|
## Introduction
|
||||||
This core implements a simple timer with a prescaler. The purpose of the prescaler is to more easily time durations rather than cycles. If for example setting the timer to the clock frequency, the timer can cound seconds.
|
This core implements a simple timer with a prescaler. The prescaler
|
||||||
|
allows measurement of time durations rather than cycles. If for
|
||||||
|
example setting the prescaler to the clock frequency in Hertz, the
|
||||||
|
timer will count seconds.
|
||||||
|
|
||||||
|
|
||||||
|
## Details
|
||||||
|
The timer counter and the prescaler counter are both 32 bits.
|
||||||
|
When enabled the counter counts down one integer value per cycle.
|
||||||
|
|
|
@ -222,7 +222,7 @@ module tb_timer_core();
|
||||||
//----------------------------------------------------------------
|
//----------------------------------------------------------------
|
||||||
initial
|
initial
|
||||||
begin : timer_core_test
|
begin : timer_core_test
|
||||||
$display("--- Simulation of TIMER core started.");
|
$display("--- Simulation of timer core started.");
|
||||||
$display("");
|
$display("");
|
||||||
|
|
||||||
init_sim();
|
init_sim();
|
||||||
|
|
|
@ -57,7 +57,7 @@ clean:
|
||||||
|
|
||||||
|
|
||||||
help:
|
help:
|
||||||
@echo "Build system for simulation of Prince core"
|
@echo "Build system for simulation of timer core"
|
||||||
@echo ""
|
@echo ""
|
||||||
@echo "Supported targets:"
|
@echo "Supported targets:"
|
||||||
@echo "------------------"
|
@echo "------------------"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue