Re: Lab3

Ed Casas (edc@ece.ubc.ca) Sun, 29 Oct 2000 07:34:40 -0800


Date: Sun, 29 Oct 2000 07:34:40 -0800
From: Ed Casas <edc@ece.ubc.ca>
Subject: Re: Lab3

> I have three questions about lab 3. > > We are told to calculate the number of bits required for the > counter state as suggested on the lab instruction. However, we > are unable to calculate it until we know the divider ratio, is > it? The lab says the divider ratio is 25175000. > Also, if we change the divider ratio from 25175000 to 2 for the > testing, does it mean that we have to modify the code > internally so to accomodate such change? You'll have to change the divider ratio in the generic clause in the divider component instantiation. > Lastly, can't we just define the number of bits required for > the counter state to a maximum number since the maximum count > in any case will not exceed 2517500? Yes, that would be fine. -- Ed Casas edc@ece.ubc.ca http://casas.ece.ubc.ca +1 604 822-2592