Computer Organisation and Design: Difference between revisions

From bibbleWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 12: Line 12:
*LSB Least significant bit  
*LSB Least significant bit  
*MSB Most significant bit
*MSB Most significant bit
==Conversions==
Distributive law was mentioned. You can solve a problem using the order of operations using distributive law.
Given 5(3+4)
Order of operations would be 5(7) = 35
Distributive law would be (5x3)+(5x4) = 15 + 20 = 35
We look at double number below where each value could be solved with
  3x2 or (2 x 2) + (2 x 1) = 6
  6x2 or (2 x 4) + (2 x 2) = 12
12x2 or (2 x 8) + (2 x 4) = 24
<br>
  3 = 2  +  1 = 00000011
  6 = 4  +  2 = 00000110
12 = 8  +  4 = 00001100
24 = 16 +  8 = 00011000
48 = 32 +  16 = 00110000
96 = 64 +  32 = 01100000
192 = 128 + 64 = 11000000

Revision as of 06:29, 25 January 2023

Introduction

This is me looking at theory and documenting what I need to know. Primarily this was driven from my electronics and not IT.

Pulse Trains

  • Non-Periodic pulse trains are digital signals with any pulses over time
  • Periodic pulse trains are pulses in fixed time like a clock signal
    • T=period (seconds/cycle)
    • tw = pulse width
    • frequency = cycles/second or frequency = 1/T
    • duty cycle = % of time period train = 1 or tw /T x 100%

Binary

Lots of talk about binary and how it works. This is a placeholder to remind me we needed to know about this. Good terms were

  • LSB Least significant bit
  • MSB Most significant bit

Conversions

Distributive law was mentioned. You can solve a problem using the order of operations using distributive law.

Given 5(3+4)

Order of operations would be 5(7) = 35
Distributive law would be (5x3)+(5x4) = 15 + 20 = 35

We look at double number below where each value could be solved with

 3x2 or (2 x 2) + (2 x 1) = 6
 6x2 or (2 x 4) + (2 x 2) = 12
12x2 or (2 x 8) + (2 x 4) = 24


 3 = 2  +   1 = 00000011
 6 = 4  +   2 = 00000110
12 = 8  +   4 = 00001100
24 = 16 +   8 = 00011000 
48 = 32 +  16 = 00110000
96 = 64 +  32 = 01100000

192 = 128 + 64 = 11000000