Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1) Write a Matlab function implements the curve shown on slide 25of Module 8. The function should take the percentage of utilization as input and

1) Write a Matlab function implements the curve shown on slide 25of Module 8. The function should take the percentage of utilization as input and return the inflation factor.


2) Use Matlab to evaluate the following. Suppose that for a certain application, the cost per SLOC is estimated to be $135, that oneline of code can be represented by 1 line in the program memory and that the estimated number of lines of code (words in program flash) is 3,500. Furthermore, the microcontrollers have been down-selected to the following three options: (i) the PIC16F1784, (ii) the PIC16F1786, (ii) and the PIC16F1788 (the datasheet is included). Evaluate and plot the cost per item as a function of number of produced items (ranging from 1000 to10,000,000) for each of the three options with and without taking into account the utilization. You are required to provide two plots here: one while not taking into account utilization and one while taking into account utilization. Make sure to indicate the curves for the three options by different colors.


3) Suppose that it will be required that these 3,500 lines must be executed within 1.0 milliseconds and that the execution time of each line of code takes 4 clock cycles. Discuss the impact of this on your design choice.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

An Introduction to the Mathematics of Financial Derivatives

Authors: Ali Hirsa, Salih N. Neftci

3rd edition

012384682X, 978-0123846822

More Books

Students also viewed these Programming questions

Question

how to change the default text to invent software

Answered: 1 week ago

Question

Let Y be a random variable with E[Y] Answered: 1 week ago

Answered: 1 week ago