Develop a verilog model for the embedded system

Assignment Help Electrical Engineering
Reference no: EM131208752

Revise the Verilog model in Example 8.6 on page 341 to omit the second ADC controller.

Example 8.6

Develop a Verilog model for the embedded system of Example 8.5.

Example 8.5

Show how, in an embedded system using a Gumnut core, the keypad controller of Example 8.3 and two instances of the ADC controller of Example 8.4, the components are interconnected using distributed multiplexers.

Example 8.4

In Section 8.1.1, we described a successive approximation analog-to-digital converter. It produces a binary-coded value representing the input voltage as a proportion of the full-scale reference voltage, Vf. We also mentioned that a sample-and-hold circuit can be used on the analog input if the voltage can change during the conversion process. Design a controller for a successive approximation ADC to connect to the Gumnut processor core. The controller has a control register whose contents govern operation of the converter. Bits 0 and 1 select among four alternate full-scale reference voltages.
When a 1 is written to bit 2, the analog voltage is held and a conversion is started; when a 0 is written to the bit, the analog voltage is tracked. The controller also has a status register and an input data register. Bit 0 of the status register is 1 when a conversion is complete, and 0 otherwise. Other bits of the register are read as 0. The input data register contains the converted data.

Example 8.3

The signals provided by the Gumnut core for connecting to I/O registers are described in the following Verilog module definition:

6_5af9e7a7-be57-46ba-aa5d-dd45c2eb8a2f.png

The output port_adr_o is the port address, port_dat_o is the data written by an out instruction, port_dat_i is the data read by an inp instruction, port_cyc_o and port_stb_o indicate that a port read or write operation is to be performed, port_we_o indicates that the operation is a write, and port_ack_i indicates that the selected port is ready and has acknowledged completion of the read or write operation. Develop a controller for the keypad matrix shown in Figure 8.2, and show how to connect the controller to a Gumnut core. Use output port address 4 for the matrix row output register and input port address 4 for the matrix column input register.

949_4933e405-a7dc-48ad-9fdd-93cd7d8b13c5.png

Reference no: EM131208752

Questions Cloud

Prepare a demand letter based upon the fact scenario : Prepare a demand letter based upon the fact scenario described in Assignments and Exercises number 3 (page 446), located in chapter 16 of the textbook.
What is a mobile phone external battery pack : What is a mobile phone external battery pack? What is the mass of Jupiter relative to Earth? Based on 2015 data, which five countries (not unions) have the highest Gross Domestic Product (GDP)?
What was the leader greatest achievement : Compare the leadership style used by your selected leader against that of the leader's successor/predecessor (or competitor if successor/predecessor is not applicable). Was there a difference in the leadership style? Which leader do you think is m..
Compare and contrast the potential liability of owners of : Compare and contrast the potential liability of owners of  proprietorships, partnerships (general partners), and corporations. What is meant by Working capital? How is it calculated? Explain the determinants of working capital requirements.
Develop a verilog model for the embedded system : Show how, in an embedded system using a Gumnut core, the keypad controller of Example 8.3 and two instances of the ADC controller of Example 8.4, the components are interconnected using distributed multiplexers.
Interviewing for a position : Danielle was interviewing for a position, and the interviewer asked for her salary requirements. As Danielle was not expecting to hear that question, she mumbled for a minute before eventually saying $40,000.00,
The switch in the circuit shown below find given : The Switch in the circuit shown below has been open for a long time. It is closed at time t=0. - Find i(t) for t>=0.
How psychology has impacted these aspects : A description of the educational levels required and recommended (i.e. what can a MA level forensic psychologist do, versus a Doctorate level professional). Different roles that a forensic psychologist can take. This can include roles in the court..
Discount price at annual rate : Local store has washing machines on sale for 1285.00 with payments due in 3 years from today. Store is willing to discount price at annual rate of 7% compounded annually if paid today. What is amount due today?

Reviews

Write a Review

Electrical Engineering Questions & Answers

  Compute the ratio of the line to line voltages

Three identical single phase transformers, each rated at 100KVA, 7KV/3.5KV, are connected as a three phase transformer bank. The high-voltage side of the transformer is connected in delta and the low-voltage side is connected in wye.

  Find force between charged circular loop and uniform density

find the force between a charged circular loop of radius b and uniform charge density l and a point charge Q located on the loop axis at a distance h from the plane of the loop. what is the force when h>>b, and when h=0 plot the force as a functio..

  Find the rms value of the current waveform

Find the rms value of the current waveform of Fig. 11.15. If the current flows through a 9-Ω resistor, calculate the average power absorbed by the resistor

  Compute all sum bits using the a forementioned carry bits

(a) GivenX=(00111)2 and Y=(00110)2 , compute the carrybits using the equations for a CLA. How many time units would youneed to compute all the carry bits and why (b). Compute all the sum bits usingthe aforementioned carry bits.

  Design a combination circuit that accepts a 4bit number

Design a combination circuit that accepts a 4bit number and generates a 3 bit binary output that approximatesthe square root of the number. For example, if the square is 3.5 orlarger, give the result of 4. if the square root is

  Write a program that accepts a date from the user

Write a program that accepts a date from the user in the form mm/dd/yyyy and then displays it in the form month dd, yyyy, where month is the written name of the month. Store the month names in an array that contains pointers to strings.

  Express the function in product-of-maxterms form

Convert function H(A, B, C) = (AB + C)(AC + B) into both the sum-of-products and product-of-sums forms. Obtain the truth table and express the function in both canonical forms: sum-of-minterms and product-of-Maxterms.

  Explain what is the byte stored at address

Using the table, what is the byte stored at address 2F? Using the table, what is the byte stored at address 33?

  Model a discrete-time system

To understand di erent signal models To be able to model a discrete-time system and design simple signal processing algorithms.

  What is the probability that it destroys the target

A bombing target is in the center of a circle with a radius of 1 mile. A bomb falls at a randomly selected point inside that circle. If the bomb destroys everything within mile of its landing point, what is the probability that it destroys the tar..

  Estimate the total amount of gas needed to cook your meal

How does the situation change if you heat the water on a gas stove? What inefficiencies are avoided, and what are introduced? Estimate (rough estimates are fine, but state your assumptions clearly) the total amount of gas needed to cook your meal

  Find impulse response sequence y due to impulse sequence

Given the following difference equation with the input-output relationship of a certain initially relaxed system (all initialconditions are zero),  y(n) - 0.7 y(n-1) + 0.1y(n-2) = x(n) + x(n-1)

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd