{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

ece330_f10_hw10

# ece330_f10_hw10 - T = 1 ms rational t1 ={500 1000 T 1 = 500...

This preview shows page 1. Sign up to view the full content.

ECE 332 Homework 10 Fall 2010 Due: 11/03/2010 Assignment: Complete the following You must show your work for full credit. 1. If f 0 = 40k Hz find T 0 . 2. If T 0 = 100 μ s and f = 20 Hz, find C T and C D for a duty cycle of 55%. 3. If f 0 = 20k Hz and T = 10 ms, find C T and C D for a duty cycle of 30% and the resolution R . 4. If T 0 = 50 μ s and T = 200 ms, find C T and C D for a duty cycle of 40%. 5. Complete the following code to compute the values for ct1, cd1, ct2, cd2. Assume a duty cycle of 50%. void main (void) { rational t0 = {1, 1000};
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: // T = 1 ms rational t1 = {500, 1000} // T 1 = 500 ms rational t2 = {4, 1} // T 2 = 4 seconds int ct1, cd1; int ct2, cd2; // todo: ct1 = ??? // C T for T 1 with T as reference cd1 = ??? // C D for T 1 with T as reference ct2 = ??? // C T for T 2 with T as reference cd2 = ??? // C D for T 2 with T as reference } Supply a) NIOS II code and b) snapshot of output from simulation and c) hand calculations that match output produced from simulation....
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online