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

  How the switch is closed instantaneously

A Vs equals 1V source impedance 25ohms is connected by a switch to a 50-ohms lossless air transmission line 1 m long, terminated in a load of 30-ohms. At time t=0s, the switch is closed instantaneously to launch a step voltage down the line.

  Indicate on drawing the direction of the induced magnetic

What is the rate at which the electric field between the plates is changing?

  What values of kp and ki will makes to happen

Describe the type of response that would exist if the values of Kp and Ki placed the roots on the boundaries determined in part 1. Note consider each boundaries may exhibit a different performance

  Determine current per array system and gradient angle

Hard to find all the information, Just want to ask for people who can give some good webside which can provide all the informationat at lease price,maximum output power, voltage, and current per module; short circuit current; dimension; weight; ma..

  When the failure is defined as a decline of strength

Let S measure the time-dependent strength of a material under test and So is the initial strength as measured at the beginning of test. Prior tests and evaluations have suggested that the following stress-time relationship appears to work.

  Design a 4-bit register with 2 control inputs s1 and s0

Design a 4-bit register with 2 control inputs s1 and s0; 4data inputs I3,I2,I1 and I0; and 4 data outputs Q3,Q2,Q1 and Q1. When s1s0=00, the register maintain its value. When s1s0=01, the register loads I3...I0. When s1s0=10, the register clears i..

  Find per-unit impedance of the transformer on system base

A Y-connected synchronous generator rated 100 MVA, 13.2 kV has a rated impedance of R = 5% and XS = 80% per-unit. It is connected to a j10Ω transmission line through a 13.8/120 kV, 100 MVA, Δ-Y transformer with a rated impedance of R = 2% and..

  Why the vrms of rcl circuit connect with ac increasing

In RCL circuit connect with A.C. voltage, Inductor and capacitor increase thier voltage. For example Circuit connect with 230 V A.C. Voltage and frequency 4.96Hz. Inductor and capacitor's Vrms value become 1400V.

  Determine the magnitudes

If F= 30° and the resultant force acting on the gusset plate is directed along the positive x axis, determine the magnitudes of F2 and the resultant force.

  What are active, reactive, apparent and complex power

What are Active, Reactive, Apparent and Complex Power. ?? (include explanation with formuls )

  A unit all for uranium has orthorombic symmetry with ab

a unit all for uranium has orthorombic symmetry with ab and c lattice parameters of 0.286 0.587 and 0.495 nm.

  Design a 10-to-4 encoder with inputs in the1-out-of-10 code

Design a 10-to-4 encoder with inputs in the1-out-of-10 code and outputs in a code like normal BCD except thatinput lines 8 and 9 are encoded into "E" and"F", respectively.

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