Questions tagged [computer-architecture]

Questions about the organization and design of computer hardware.

Filter by
Sorted by
Tagged with
-4
votes
0answers
13 views

Is this PC build good for Programming?

I am planning to build a new budget PC. I request a new quotation from a store and got the following specification. I will mainly use this for Programming and a 1-2 hours game on weekend. ...
1
vote
1answer
30 views

Which part of the CPU is responsible for executing instructions

I was reading about the machine cycle. Everything was clear until I started with the execution of instructions. I know how an ALU and a CU work. I'm also aware of the process of fetching and decoding. ...
0
votes
2answers
69 views

How does a CPU do function calls?

Besides basic instructions for a general-purpose computer (binary arithmetic, move instruction, and jump on condition), it seems you can't implement a universal turing machine (is that even the right ...
0
votes
0answers
16 views

Is there a role of Systems design & architecture in AI?

I want to know if there's a role of systems architecture in AI/ML implementations. I'm a Middleware architect and have a good understanding of systems design. Did a Udacity course in the past on Self ...
0
votes
0answers
73 views

Alu architecture of a Hack Computer

I'm currently studying the ALU architecture (of a Hack computer) and how it works. As part of my assignments, I have been asked the following question: If we want the ALU to compute the function y-1, ...
-1
votes
2answers
76 views

Is it possible to build a computer whose "ALU" is a single NAND gate?

I am not asking about if it is possible to build a computer using only NAND gates, since that question has been asked infinite times. I wonder if it is possible to replace the “ALU” in the cpu of a ...
2
votes
4answers
243 views

Can there be a computer without software (only hardware)?

Can there be a computer without software (only hardware) which can produce meaningful output? "Software" would be for example an operating system (whether in the level of "firmware&...
0
votes
2answers
43 views
0
votes
1answer
21 views

What are the width of data/control/address bus for a 32-bit CPU?

Are they exactly 32bits for a 32-bit CPU?
1
vote
0answers
30 views

How can DRAM memory speeds be improved?

What are some ways with which we can improve the speed of dynamic RAMs?
0
votes
0answers
11 views

What are the chances of fusing a quantum computer and a parallel computer and what potential dangers/ benefits does it bring?

From my EPQ research I came to know that quantum computers require certain conditions to function optimally such as: low temperature so that electrons do not get disturbed etc. I've also read a book ...
0
votes
1answer
31 views

Where does tag directory is stored

I am studying direct mapping in cache. I understood the concepts like dividing into blocks and lines , tag directory etc. When solving numerical problems of finding main memory size or tag directory ...
-3
votes
1answer
23 views

8085 microprocessor connection of CPU data bus with RAM data bus

What would happen if the CPU data-bus bit 2 is connected to the RAM data-bit 5 and CPU data-bus bit 5 is connected to RAM data bit 2? Assume the rest of the connections are all right – explain.
1
vote
1answer
35 views

Do number of registers and width of register have to be the same?

I am studying Computer Architecture with MIPS-32. The example system has 32 registers with each register having a width of 32 bit. If I would want 128 registers instead of 32 registers, would I have ...
20
votes
9answers
4k views

Would it be wrong to say that the processor (and hardware) is the implementation of an interpreter for machine language?

The question is basically in the title. I know that a computers hardware is of course some physical object, where as the interpreter is some abstract thing that does something abstract with the code ...
0
votes
1answer
45 views

What determines bus speed?

I would like to know what determines bus speed in a CPU. I know about bus width, that all makes sense, but since electrical pulses travel at light speed I don't understand why bus speed is measured ...
0
votes
1answer
36 views

What does 'single sequential computer' mean?

I'm from a non-technical background. (Mentioning this for the convenience of explanation w.r.t intelligibility) Book Name - "Introduction to Algorithms" Authors - Thomas H. Cormen, Charles E....
0
votes
1answer
29 views

Confusion regarding calculation of estimated memory access time in a system containing only a cache and main memory for simplicity

Let us consider a system having cache and main memory. Now suppose we are asked to find the average memory access time. Let $h$ be the hit ratio for the cache, $t_c$ be the cache access time, $t_m$ be ...
1
vote
2answers
162 views

Will we ever move towards 128 bit architecture?

Will the IBM PC ever move towards 128 bit architecture? Is that even possible or is the 64 bit architecture we have now the ceiling?
0
votes
1answer
26 views

Why does this branch data hazard happen during the instruction decode stage?

Suppose I have the following MIPS code on a CPU with forwarding enabled: ...
0
votes
0answers
16 views

Question about GPU workload dispatch and interconnect

there are very few materials about GPU architectures and how each of the GPU cores is connected in the SoC. I am quite confused on how in general the GPU cores are usually connected together, is it ...
1
vote
0answers
28 views

system architecture or software architecture

I was trying to get started with a small project but I quickly realized I had to do more research on the subject. Suppose, when creating a site, in production, there's a certain structure how the ...
0
votes
2answers
112 views

Where is actually ASCII is stored in computer?

I am learning some basics in computer. In that in ASCII I read if 65 is A . When we pressing key A what is happening next? Is the electric signal is passing as on & off & reaching to decimal ...
1
vote
0answers
28 views

Number of stall cycles when there is only EX/MEM pipeline registers or only MEM/WB pipeline register

I am working on a problem which is related to The processor. The problem is the problem 4.12 in the book whose title is "Computer Organization and Design". The problem has the assumption as ...
0
votes
1answer
73 views

What does it mean for a computer to be general-purpose?

There is a lot of Turing machine out there. Most of them are purpose-specific. What make universal Turing machine universal? How do we know or prove if a computer is universal? Edited: Is ...
1
vote
2answers
192 views

What kind of binary compatibility is present for 2 processors sharing an Instruction Set?

Consider Intel x86 and AMD x86 Processors. As I understand, since they use the same Instruction Set, in theory an application compiled for Intel x86 processor would run without any modification on ...
0
votes
0answers
19 views

Bus Bandwidth Calculations

I cannot understand this question and the model answer for it and I wonder if anyone here is able to help me. Question: ...
0
votes
2answers
40 views

In what stage is next PC address available or known to the processor?

Assuming you know the meaning of pipelining in Computer architecture & organization. When is the next PC address or jump address available or known to the processor? In this lecture, https://youtu....
1
vote
1answer
146 views

Memory Address Lines

I am reading a text book by David Tarnoff and there is something I do not understand, the section is on CPU and memory. The book states that the number of address lines going into a memory device ...
4
votes
2answers
213 views

Why did finite-state controller with datapath win?

I just finished watching the 1986 SICP lectures, and the concepts are rolling around in my head. My question: why is "finite-state controller with datapath" the implementation of computer ...
0
votes
1answer
33 views

What would happen if while making a connection between memory and CPU, the address lines get's interchanged

While making a circuit connection between Micro Processor and Memory Chips, the Address Lines A0 and A1 got interchanged. Means A0 of address bus got connected wrongly with A1 of Memory chip and A1 of ...
2
votes
1answer
48 views

How does software prefetching work with in order processors?

From prof. Onut Mutlu's slides on prefetching, this example has been shown as software prefetching: ...
0
votes
0answers
22 views

logic and communication technicalities between computer components

Concerning modern computers communicating with each other it is my understanding that computers are reading patterns in current flow and interpreting those patterns of current flow as ours 1's and 0's....
1
vote
3answers
107 views

Cache coherence is worthless and does nothing?

When you perform a write on a multi-cpu system, relevant cache flushes are done to ensure that the other cpus see the change immediately. BUT That write was issued from an independent thread on a ...
5
votes
1answer
58 views

Understanding IBM370 Relaxed Memory Consistency

In the report "Shared Memory Consistency Models: A Tutorial" (https://www.hpl.hp.com/techreports/Compaq-DEC/WRL-95-7.pdf), the authors explain the difference between IBM370, Total Store ...
0
votes
1answer
22 views

Average Access time in caches

I know that the average access time for systems with level 1 caches is: Average Access Time = Hit time + (Miss Rate x Miss Penalty) How can this be generalized for n level caches?
1
vote
1answer
52 views

Assembly Language Step By Step: Why deviate from the norm and design computers where the presence of voltage encodes a 0 bit?

That the presence of voltage across a switch encodes 12 is purely arbitrary... Jeff Duntemann's book mentions: We could as well have said that the lack of voltage indicates a binary 1 and vice versa (...
2
votes
1answer
54 views

Why does CLRS refer to the disk parts as pages rather than blocks?

I recently decided to review the B-tree chapter (chapter 18, p 486 in 3ed) in Introduction Algorithms, and found that they call pages what I always referred to as blocks or clusters: In order to ...
0
votes
1answer
86 views

How much faster is the ideal machine without the memory structural hazard versus the machine with the hazard?

I am learning computer architecture and organization. I have the following doubt. Given below is a question along with its solution as seen in number 5 of some homework assignment solutions. But I ...
0
votes
0answers
34 views

What is the maximum memory address space that microprocessor can access directly if a 16-bit memory module is interfaced with a 32-bit microprocessor?

The Complete question is as follows : Consider a single-address 32-bit microprocessor with 32-bit address bus and 32-bit data bus. Its instructions composed of 1-byte opcode and 3-byte operand address....
1
vote
1answer
127 views

What is a forwarded clock?

I'm reading the overview book of the Intel QuickPath Interconnect and it says there: The physical connectivity of each interconnect link is made up of twenty differential signal pairs plus a ...
0
votes
0answers
30 views

Identifying problem in MIPS pipeline datapath

I'm having trouble identifying a problem in this pipelined datapath. After executing an add instruction, there are 5 subsequent R-type instructions executed. However, we are assuming no data hazard, ...
1
vote
1answer
101 views

How to determine the bits of the address used to access the cache?

Given a non-associative, direct-mapped cache and its cache capacity, block size, and address size, how would I go about determining what bits of the address are used to access to cache? Is there a ...
2
votes
2answers
88 views

Interrupt enabling and disabling

While reading about interrupt mechanism, I understood that there is an IRQ signal line on the bus by which an I/O interface raise an interrupt request. There is an INTA signal line using which the ...
0
votes
0answers
10 views

Finding Worst and Best Case Hit Rate of a Cache Given Code

I'm doing some practice problems to study and came across this one: Consider a 8-way set associative cache with 64 B blocks, and 64 total blocks as part ofa 16 bit physical address. Imagine we use the ...
0
votes
2answers
84 views

Why is programmed I/O not suitable for high-speed data transfer?

I am learning about computer architecture and organization. I have read that programmed I/O is not suitable for high-speed data transfer because it does not support synchronous mode of data ...
1
vote
1answer
37 views

Can synchronous data transfer be used for transferring large data in case of computer architecture and organization?

I am learning computer architecture and organization. I have this confusion, can synchronous data transfer be used for transferring large data in case of computer architecture and organization? I ...
1
vote
0answers
28 views

Transactional memory

I would like to understand what role does Transactional memory plays in memory organization, I know that To allow for more efficient parallel programming with higher performance, processor implements ...
1
vote
0answers
29 views

How does virtual and physical memory affect cache structure?

Working with a question that states: Consider a hypothetical machine in which physical address space is of 512 words and virtual address space is of 2048 words. The page size is 8 words. What is ...
2
votes
3answers
77 views

Speed of a microprocessor

I was just wondering why are are new generation microprocessors faster at the same clock speed as the old ones. For instance a 2.66Ghz dual core i5 is faster than the a device with clock speed of 2....

1
2 3 4 5
21