in Operating System
1,968 views
0 votes
0 votes

A computer uses a programmable clock in square-wave mode. If a $500\:MHz$ crystal is used, what should be the value of the holding register to achieve a clock resolution of

  1. a millisecond (a clock tick once every millisecond)?
  2. $100$ microseconds?
in Operating System
by
2.0k views

1 Answer

0 votes
0 votes

Answer:

a) $500000$

b)$5000$

Explanation:

a) The  frequency of crystal used $=500\;\text{MHz}$

Decrement  in counter $=2\;\text{nsec}$

Register Value$ = \dfrac{1000000}{2}\\=500000$

b) The frequency of crystal used $=500 \; \text{MHz}$

Decrement in counter$=100\; \mu \text{sec}$

$\therefore $Register Value $=\dfrac{\frac{1000000}{2}}{2} \\\\\\=\frac{5000000}{100}\\\\\\=5000$

edited by
by

Related questions