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

  Amplify the signal of a microphone with internal resiatance

What value of emitter resistor would you choose, if: a) You have to amplify the signal of a microphone that has an internal resistance of 100K using a Common Emitter bias configuration b) you have to drive a load of 50 with an Emitter Follower cir..

  Find the pressure loss in the heat exchanger is negligible

steam is condensed on the outside of a heated exchanger tube by pressing air through the inside of the tube. the air enters at 1.2 bars, 20 degree c and a speed of 10 m/s. the air exits at 80 degree c. the steam enters 3 bars, 200 degree c

  Fdtd evaluation of the sar distribution

Finite Difference Time Domain (FDTD) numerical method to develop for me a software program that simulates - evaluates Specific Absorption Rate (SAR) Distribution in a Human Head Near a Mobile Cellular Phone as a student project.

  What is the characteristic frequency of the combination

An inductance of 8 mH is combined in parallel with a capacitance of 1.5 µF. What is the characteristic frequency (Hz) (not radian frequency) of the combination

  Compute the diameter in centimeters of a steel rod an

compute the diameter in centimeters of a steel rod an aluminum rod and a copper rod which can withstand a particular

  Calculates the average of four 16-bit 2s-complement

Write a Verilog model of a circuit that calculates the average of four 16-bit 2s-complement signed numbers, without checking for overflow. Hint: use a shift operation to perform the division by 4.

  What is the actual voltage of the source

what is the actual voltage of the source if the resistance of the meter is 50 kΩ?

  Find the capacitance needed in parallel

An 40-kW induction motor, with a lagging power factor of 0.76, is supplied by a 120-V rms 60-Hz sinusoidal voltage source. Find the capacitance needed in parallel with the motor to raise the power factor to:

  Need an article about star connection

Need an article (+500word) about Star Connection (Y): Three Phase Power, Voltage & Current Values

  Implement design in logicworks and test for functions

Design a finite state machine that has an input (w) and an output(z). The machine is a sequence detector that produces (z =1). when the previous two values of (w) were (00 or 11); otherwise (z = 1). Assume the initial state is unknown past with (z..

  Describe the use of electricity systems in new zealand

Describe the use of electricity systems in New Zealand - Capacity, voltage, frequency, standard and variation

  What is the external applied magnetic field strength

What is the external applied magnetic field strength that must be applied to produce this internal field?

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