Professional Documents
Culture Documents
Further Look at Data Handling. Communication and Standards
Further Look at Data Handling. Communication and Standards
Further Look at Data Handling. Communication and Standards
Data Handling,
Communication &
Standards (A further
look)
Rukshan Siriwardhane
Bus Systems
Uni directional
E.g. Address bus
Bi Directional
E.g. Data bus, Control Bus
12/14/2014
Bus Systems
Bus Systems
Bus Arbitration
Bus Arbitration
Question: 1
a) Explain what is meant by bus arbitration.
b) Describe different categories of bus arbitration
12/14/2014
Bus Systems
Distributed using self-detection:
Daisy chain: Uses a grant bus
Similar to centralized arbitration but
control line that is passed down
instead of a central authority
the bus from the highest priority
selecting who gets the bus the
device to the lowest priority
devices themselves determine who
device. Fairness is not ensured
has the highest priority and who gets
and it is possible that low
the bus.
priority devices are starved out
and never allowed to use the
Distributed using collisionbus. Simple but not fair.
detection: Each device is allowed to
make a request for the bus . If the
bus detects any collisions, the device
Centralized parallel: Each
must make another request. (e.g.
device has a request control line
Ethernet)
to the bus and a centralized
arbiter selects who gets the bus.
Bottlenecks can result using
9
this.
Interrupts
Question: 2
Describe using diagrams how an interrupt is serviced in a
computer.
10
Interrupts
Interrupts
Vectored Interrupts
Priority Levels
I/O interrupts that tell the interrupts handler that a request for
attention from an I/O device has been received and also identifies
the device that sent the request.
Polled Interrupts
I/O interrupt that notifies the interrupt handler that a device is
ready to be handled (read or otherwise) but does not indicate
which device. The interrupt controller must poll (send a signal
out to) each device to determine which one made the request.
11
12/14/2014
Computer Peripherals
Characteristics and Operating Principles
http://www.lintech.org/comp-per/index.html
14
13
16
12/14/2014
Digital
Output
ADC
VIN
17
18
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
2.5
1.25
0.625
0.3125
0.156
0.078
0.039
0.0195
Adding the voltages corresponding to each set bit in 0010 1100, we get:
.625 + .156 + .078 = .859 volts
20
12/14/2014
Types of ADCs
22
Flash ADC
Successive approximation converter
Sigma-delta
Read more at:
http://www.eetimes.com/document.asp?doc_id=127697
4
24
12/14/2014
25
26
27
28
12/14/2014
Resolution
refers to number of bits, and with the analog reference, determines
granularity of the signal conversion. Resolution also refers to the output
value representing one LSB.
Settling Time
the time from a change in the input code until the DAC output signal is
generated and remains within specified output range.
30
Differential Input
Refers to the way a signal is wired to a data acquisition
device.
General Purpose Interface Bus (GPIB)
Synonymous with HPIB (for Hewlett-Packard), the standard
bus used for controlling electronic instruments with a
computer. Also called IEEE 488 in reference to defining
ANSI/IEEE standards.
Resolution
The smallest signal increment that can be detected by a data
acquisition system. Resolution can be expressed in bits, in
proportions, or in percent of full scale
RS232
A standard for serial communications found in many data
acquistion systems. This is the most common serial
communication.
31
32
RS485
Another standard for serial communications.
- Not as popular as RS232, supports communication to more than one
device on the bus at a time, supports transmission distances of
approximately 5,000 feet.
12/14/2014
Computer Interfaces
Interface Requirements
To communicate between two different systems
Hardware/Software/Human-Computer
Read: The Best Computer Interfaces: Past,
Present, and Future
http://www.technologyreview.com/news/412880/the-best-computerinterfaces-past-present-and-future/
34
Computer Interfaces
Command line
Computer Interfaces
Command line
35
12/14/2014
Computer Interfaces
GUI Graphical User Interface
The computer displays actions and files using
letters/menus and icons.
To get the computer to do something, the user
selects the words or icons. This requires only
that the user know what s/he wants to do when
face-to-face with it, and an icon can hint at
what the computer will do when activated.
37
Computer Interfaces
Agent-based interface
The software agent is a virtual assistant
Suggests/asks/reminds what to do
Takes commands, executes them, reports back
with results
E.g. Siri in iOS
Read more on Usability:
http://www.usabilitypost.com/2009/04/15/8-characteristics-ofsuccessful-user-interfaces/
38
Computer Interfaces
Computer Interfaces
Programmable Interfaces
Interfaces that can be configured to get the desired
functionality by the user
May be Software or Hardware
Setting up a router, Timer on a pedestal fan
39
40
10
12/14/2014
Firm
Infrequent deadline misses are tolerable, but may degrade the system's
quality of service. The usefulness of a result is zero after its deadline.
Soft
42
X.25
43
44
11
12/14/2014
Token Bus
Token Bus
45
46
47
Modems
A modem (modulator-demodulator) is a device that modulates
an analog carrier signal to encode digital information, and also
demodulates such a carrier signal to decode the transmitted
information. The goal is to produce a signal that can be
transmitted easily and decoded to reproduce the original digital
data. Modems can be used with any means of transmitting
analog signals, from light emitting diodes to radio. The most
familiar example is a voice band modem that turns the digital
data of a personal computer into modulated electrical signals in
the voice frequency range of a telephone channel. These signals
can be transmitted over telephone lines and demodulated by
another modem at the receiver side to recover the digital data.
48
12
12/14/2014
http://developer.juniper.net/shared/jdn/docs/white_papers/JunosSD
K_WhitePaper_JunosOS.pdf
http://computernetworkingnotes.com/comptia-n-plus-studyguide/network-operating-systems.html
49
50
Question 3
a) Convert the following signed decimal numbers to twos
complement numbers
I. 79
II. -1345
III.-67
b) Convert the IEEE 32 bit floating point number
7665000016 to decimal
c) Convert 39887.562510 to IEEE 32-bit floating point
format
Question 4
a) What is meant by
I. Micro-kernal architectures
II. Monolithic kernel architectures
51
52
b)
c)
13
12/14/2014
Question 5
a) What are the phases of Program Compilation? Explain
providing examples.
53
The End
54
14