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:
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.
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?
|