I was catching up on some computer architecture stuff. As in the spring semester we'll be starting it.
I was going through some of the stuff in the Morris Mano book. Some of the questions that were troubling me
are:
1. If suppose we had a memory of 512mb then what will be the size of address and data bus.
My attempt: as 2^9 = 512 so it will be of 9-bits. For the 512mb of memory I assume that there is a 32-bit processor so the data bus will be of 4 bits as 8 x 4 = 32. is this correct?
I get caught up in bits and bytes. How to know if the address bus or data bus will be in bits or bytes, how do you determine that?
2. How can I convert a conditional statement like this If (X=1) then (R1<-R1+R2) else if (Y=1) then (R1<-R1–R3) into register transfer language? Also how to make it's block diagram
My attempt: X: R1<-R1+R2
XY ' : R1<- R1 - R3
I was going through some of the stuff in the Morris Mano book. Some of the questions that were troubling me
are:
1. If suppose we had a memory of 512mb then what will be the size of address and data bus.
My attempt: as 2^9 = 512 so it will be of 9-bits. For the 512mb of memory I assume that there is a 32-bit processor so the data bus will be of 4 bits as 8 x 4 = 32. is this correct?
I get caught up in bits and bytes. How to know if the address bus or data bus will be in bits or bytes, how do you determine that?
2. How can I convert a conditional statement like this If (X=1) then (R1<-R1+R2) else if (Y=1) then (R1<-R1–R3) into register transfer language? Also how to make it's block diagram
My attempt: X: R1<-R1+R2
XY ' : R1<- R1 - R3