Questions tagged [computer-architecture]
Questions about the organization and design of computer hardware.
1,163 questions
0 votes
1 answer
20 views
Cache Mapping Question
My question is, how can I get the line number just by dividing the number by the cache line size(64)? For example, let's take 510, 510 in binary is 000000000(00111)111110 , so 00111 is show the line ...
0 votes
0 answers
34 views
How is it possible to implement a zero-address instructions Von Neumann CPU?
The idea is to combine these two principles together. If we use zero-address instructions in a CPU, this implies having a stack memory. However, the idea of Von Neumann architecture is to store both ...
-4 votes
0 answers
54 views
Clean-out of redundant code, towards holographic computation
I am attempting to formalize this structural lattice math; Mathematical Formalism Let $\Lambda$ be a finite cubic lattice of size $N \times N \times N$ with periodic boundary conditions, isomorphic to ...
0 votes
2 answers
69 views
On a micro-architectural level, why is using a temporary variable faster than using XOR to swap two variables?
I've done some very basic bench marking for the following: ...
0 votes
0 answers
27 views
velocity single cycle vs multicycle datapath
In a mock exam for my CS course in computer architecture there is the question: "explain why the multicycle datapath is faster than the single cycle datapath." The TA wrote the answer: "...
1 vote
2 answers
85 views
Can you have a RAM array interpret code by it self or does a control unit need to exist?
I have read Charles Petzold's Code: The Hidden Language of Computer Hardware and Software. On page 200 and onwards he introduces two RAM arrays called code and data. The code RAM array have ...
0 votes
1 answer
69 views
Using block size, associativity and cache size to find the length of offset and index
From my understanding: A block is the size of the smallest unit stored by the cache (normally a collection of words due to spatial locality). The block size is the number of bytes per block. A set is ...
0 votes
0 answers
62 views
Possible Error in Tanenbaum - Structured Computer Organization
In sec 2.1.6 where he talks about Processor Level Parallelism, he mentions an example of Nvidia Fermi GPU. Modern graphics processing units (GPUs) heavily rely on SIMD processing to provide massive ...
4 votes
3 answers
211 views
Recommended study resources for Computer Architecture: RTL, Basic Computer Design, Microprogrammed Control, and CPU design
I'm currently studying Computer Architecture / Computer Organization, and I'm struggling to find resources to understand a few specific topics. These are the four areas I’m focusing on: Register ...
0 votes
0 answers
42 views
Data Hazards and Stalls with Forwarding in a Pipelined CPU (MIPS-like Pipeline)
I am currently studying pipelined CPU architectures, specifically focusing on data hazards and forwarding. I have a question regarding stalls in a 5-stage pipeline with forwarding. Consider the ...
4 votes
7 answers
5k views
Arguments for 128-bit processors now (or even a 96-bit)
If one asks why we have not evolved to 128-bit processors, there is a whole set of discussions seemingly from the glass half empty crowd as to why we would not need such massive CPU data addressing ...
1 vote
1 answer
164 views
Should "16MB × 64-bit DRAM" be interpreted as Mega-Bytes or Mega-Words?
In a DRAM architecture problem, I’m given: DRAM: 16MB × 64-bit DRAM chip: 512KB × 4-bit My professor repeatedly referred to these as Mega-Bytes and Kilo-Bytes, but ...
2 votes
1 answer
100 views
Question about data path dependencies in a program
I cannot understand solution to the problem 5.5 in "Computer Systems: Programmers Perspective". I this chapter it cover microarchitecture based optimizations and data path dependency. As a ...
1 vote
1 answer
89 views
General-Purpose Electronic Analog Computer Example?
I'm curious as to whether there are any functional examples of or research about General-Purpose Analog Computers out there at the moment. So any computing system that can: store pure analog values ...
1 vote
1 answer
93 views
How does processor differentiate from signed and unsigned integers overflow and carry
since unsigned and signed integers uses same components to compute then how does the overflow and carry flags are set?