This document discusses memory interleaving, a technique used to increase throughput. It explains the two main formats of memory interleaving: low order and high order interleaving. It also provides examples and references for further reading.
Contribute Materials
Your contribution can guide someone’s learning journey. Share your
documents today.
Running head: IT FUNDAMENTALS IT FUNDAMENTALS Name of the Student Name of the University Author Note
Secure Best Marks with AI Grader
Need help grading? Try our AI Grader for instant feedback on your assignments.
Page1of10 Question 1: Q1.a SignExponentMantissa 00111111010100000000000000000000 Sign bit = 0 (+ve) Exponent – 01111110 = 2^(126-127) Mantissa = 1 + 2^(-1)*1 + 2^(-2)*0 + 2^(-3)*1 + 0 =1.625 Hence, decimal number – 1.625 *.5 = 0.8125 Q1.b i) AD9 in base 16 = 9*16^0 + D*16^1 + A*16^2 = 9 + 13*16 + 10*16^2 = 9 + 208 + 2560 = 2777. Hence, in base 3 = 2777 is divided by 3 in sequence. NumberRemainder after division by 3 27772 9251 3082 1020 341 112 30 11 0 Hence writing remainders in reverse order gives 10210212 in base 3 (Xu, 2018). ii) 451 in base 8 48=1002,58=1012and18=0012
Page2of10 Hence,451 in base 8 = 100101001 in base 2. iii) 123.3 in base 5 = 1x5^2 + 2x5 + 3x5^0 + .3*5^(-1) = 25 + 10 + 3 + 0.6 = 38.6 in base 10 = Rem(6/8) Rem(38/8).Int(0.6*8) Int(0.8*8) Int(0.4*8) =46.463 in base 8 iv) 14.35 base 8 = 4*8^0 + 1*8^1 + 3*8^(-1) + 5*8^(-2) = 12.453125 base 10 Question 2: The Marie program to check whether a number is prime is shown below. It returns 1 if the number is prime otherwise 0. Marie code: / input number and store to variable a Input Store a Load a / load number to accumulator Subt b / subtract b starting from 2 from accumulator Store t / store to t Load b / load content of b to accumulator Subt v / subtract content of v from accumulator Store z / store result to z / main loop
Page3of10 if1, Load z Skipcond 000 Jump if Jump loop2 if, Load t Skipcond 000 Jump loop Jump loop1 loop, Load x Add v Store x Load p Add b Store p Load t Subt b Store t Skipcond 000 Jump loop Load x / output 1 if prime otherwise 0 Load a Subt p Store y
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Page4of10 Output Halt loop1, Load x Load a Store y Output Halt loop2,Halt / variable declaration a, DEC 9 b, DEC 2 v, DEC 1 t, DEC 0 p, DEC 0 z, DEC 0 x, DEC 0 y, DEC 0 one, DEC 1 Testing: Input number = 7 Output=1
Page5of10 Input =17 Output = 1
Page6of10 Input = 20 Output = 0
Secure Best Marks with AI Grader
Need help grading? Try our AI Grader for instant feedback on your assignments.
Page7of10 Question 3: a) Memory interleaving is used for increasing the throughput. The primary motive for memory interleaving is to split the memory in two parts which are independent of each other and can read and write data when requested by user. The two main formats of memory interleaving is low order and high order interleaving. For the case of low order interleaving the contiguous memory locations are horizontally divided through the modules. Thus, for each of the module identification of memory module is performed by the low order bits and for containing the addresses of word the high order bits are used (Antoniadis, Blanchard, Guerraoui & Stainer, 2018). For the case of high order interleaving the module address is contained for each module by high order bits and the address of word inside every module is hold by the module’s low order bits. b) Given the memory size is 32 4k X 8-bit chips. i. High order interleaving address structure and module organization AddressModule 0-64M0 64M-128M1 128M-192M2
Page8of10 192M-256M3 ii. Low order interleaving structure and module organization AddressModule 00 11 22 33 40 51 62 73 80 91
Page9of10 References: Antoniadis, K., Blanchard, P., Guerraoui, R., & Stainer, J. (2018). The entropy of a distributed computation random number generation from memory interleaving. Distributed Computing, 31(5), 389-417. Xu, C. W. (2018). Animating Conversions Between Binary and Decimal. In Learning Java with Games (pp. 511-534). Springer, Cham.