Questions tagged [computer-architecture]
Computer architecture refers to both the design of a computer's external interfaces (instruction sets) and a computer's internal implementation (microarchitecture). The goal of these design decisions is to optimize speed, power efficiency, size, or cost while satisfying constraints on the rest.
563 questions
-1
votes
5
answers
792
views
What are the disadvantages of CISC architecture?
I took the computer architecture exam today. Our teacher asked a question.
What are the disadvantages of CISC architecture ?
Increases the number of commands while writing the program
Makes ...
2
votes
1
answer
750
views
BJT transistor max switching frequency vs FET in high frequency computer architecture
Why arent BJTs used with RISC architectures to produce very high speed relatively sparse CPUs? My understanding is that BJTs don't have the forward bias gate capacitance requirements of FETs which is ...
0
votes
1
answer
167
views
How does a 32-bit DSP address 2³² values without enough RAM?
A 32-bit CPU in a PC is capable of addressing 2³² individual bytes. How do DSPs and microprocessors handle such a large address space when they have RAMs only in MBs at the most?
0
votes
0
answers
251
views
MU0 register transfer level organization by adding index register
Q. Write the MU0 register transfer level organization by adding index register. Give the control logic for the following instructions and explanations.
LDA S,X ; A:=mem((S)+[X])
STA S,X ; mem((S)+[X])...
1
vote
1
answer
87
views
Linkage pointer in procedure
https://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-004-computation-structures-spring-2017/c12/c12s3/procedures_answers.pdf
I don't understand how the linkage pointer can be the ...
-3
votes
1
answer
1k
views
What is the difference between Computer Organization and Computer Architecture?
I am still not getting a clear picture from any textbooks. Anyone, please elaborate with examples. What does 8086 architecture block diagram refer to?
1
vote
1
answer
114
views
electrification of all transistors
We discussed a topic in the computer organization course. The professor told us that when the computer first turned on, all the transistors on the CPU are instantly electrified. So he said, keeping ...
1
vote
1
answer
164
views
Why do magnetic disks not have multiple heads per disk?
So it seems to me that when trying to improve performance of a external memory device (HDD), the thing that is increased is RPM. Why not have multiple read/write heads per substrate instead of just ...
1
vote
3
answers
1k
views
Why do displays have limited bit-depth?
As far as I am aware,
HDMI 2.1 does support 12-bit 4K 60fps, Also it doesn't use TMDS, rather FRL. Sends upto 48Gbps
GPUs can do calculation in fp32 and from some reference, I think that it can send ...
0
votes
0
answers
170
views
what were the ENIAC's equivalent to the modern CPU's elements?
If a modern CPU contains these elements:
- 3 or more register units
- ALU
- control unit
and the CPU is connected to a RAM composed of several addresses, what ...
3
votes
2
answers
2k
views
What's the relationship between chips, wafers, and dies in a computer?
I have the following question:
If your demand is 50,000 RedDragon chips per month and 25,000
Phoenix chips per month, and your facility can fabricate 70 wafers a month, how
many wafers should you ...
6
votes
1
answer
7k
views
4-bit decrementer using four Half Adders
Like the title mentions, is it possible to design a 4-bit decrementer using just four Half Adders? I know it's possible using 3 Full Adders + 1 Half Adder, but I don't seem to find a way to do that ...
0
votes
0
answers
161
views
What processor architecture is in a 230GMULps KPU design?
While AI products are becoming popular recently, when looking at the "Seeed Studio Grove AI HAT for Edge Computing Artificial Intelligence Board" it mentions a RISC-V, a 230GMULps 16-bit KPU ...
1
vote
0
answers
56
views
How did the arithmetic organ in ENIAC?
I have been reading the book of Goldstine on computers and I was wondering how ENIAC could activate a computation using numbers (the antecedent of the stored program concept).
Goldstine wrote that ...
1
vote
1
answer
293
views
Expression calculated at assembly time
I don't understand the explanation. Doesn't the assembler have to calculate 3 * 4 + 5 so it takes longer to execute? Also since 3 * 4 +5 has more characters why does it not take more storage?
From ...
3
votes
2
answers
142
views
Using boolean algebra, simplify $$y = \bar{s} \cdot \bar{u} + s \cdot \bar{u}+s \cdot u$$
I have the following function, that I want to minimise using boolean algebra:
$$y = \bar{s} \cdot \bar{u} + s \cdot \bar{u}+s \cdot u$$
Here's my attempt:
$$\bar{s} \cdot \bar{u} + s \cdot \bar{u}+s \...
1
vote
1
answer
360
views
DRAM Rank-Level Allocations
I want to do allocations on a specific DRAM rank. The smallest allocation unit in an OS such as Linux is at the page size ...
1
vote
2
answers
708
views
Designing a Combination Lock FSM: Converting State Diagram to Logic Gates
I am trying to design a Synchronous combination lock for my digital logic class. I have the state diagram, as I understand how to draw out the logic which I want to follow. However, I am struggling to ...
1
vote
0
answers
598
views
How to cascade IC 74HC161 correctly?
Currently I have this 4 bit CPU as shown in the schematic diagram below.
What I wish to achieve:
Add one more output register to make the CPU output a total of 8 bits
Show alphabet using the 8 bits ...
2
votes
1
answer
1k
views
How does cache coherency and DMA work together?
I am currently reading about caches and how they are used in Computer Science. The explanation of how the cache is always up to date with the actual memory is understandable as long writing and ...
-2
votes
1
answer
333
views
What is the difference in design between a von Neumann and the Harvard's machines?
Although there are many webpages talkink about the difference between the Aiken (prototype: Harvard Mark I) and von Neumann (prototype: ENIAC) architecture, the actual divergence remain uncertain to ...
1
vote
0
answers
1k
views
DRAM Self-Refresh not the Lowest Power Mode
I have a DDR3L Samsung DRAM on my Laptop. Based on page 23 of its datasheet, IDD6 or the ...
1
vote
0
answers
145
views
DMA SPI performance
I am currently writing an SD card driver for a Microcontroller using SPI and DMA. The SPI has a FIFO that can store 4 data values from the data register which has the capable of storing 32 bit. But it ...
0
votes
2
answers
225
views
What are common ways that modern processors handle data hazards with asynchronous registers
I'm trying to design a processor in VHDL. While the base instruction set is done, I'm having trouble building on top of it.
Specifically, I'm implementing control and status registers (CSRs), which ...
1
vote
1
answer
941
views
Do 64-bit CPUs consume more power than 32-bit ones?
In this lecture about efficient computing for deep learning, the benchmarks show a 3-fold increase in power usage between 8-bit and 32-bit addition operations. Between 8-bit and 32-bit multiplication, ...
0
votes
3
answers
227
views
Why is GPU memory fixed? [closed]
In pretty much all modern computers and mobile devices, the CPU can have varying amounts of memory (either to be configured by the user or fixed at point of assembly). Apart from historical form-...
6
votes
7
answers
7k
views
Why do computer circuits tend to have so many resistors and capacitors? [duplicate]
As someone who has a decent understanding of computer architecture (but not of electrical engineering) I've always wondered why computer circuits tend to have so many resistors, capacitors, and other ...
0
votes
2
answers
2k
views
Computer Instruction Format - Calculating the number of Opcodes
I found the following question on a different site:
A processor has 64 registers and uses 16-bit instruction format. It has two types of instructions: I-type and R-type. Each I-type instruction ...
1
vote
1
answer
5k
views
In Directed-mapped cache, a problem in exercise!
5.2 Caches are important to providing a high-performance memory hierarchy
to processors. Below is a list of 32-bit memory address references, given as word
addresses.
3, 180, 43, 2, 191, 88, ...
-1
votes
1
answer
237
views
A problem dealing with a two-way set-associative cache
This is Problem 13-4 from the book "Logic and Computer Design Fundamentals" by M. Morris Mano and Charles R. Kime. I did the problem. I would like somebody to confirm that my answer is correct or tell ...
1
vote
0
answers
54
views
A Problem dealing with Cache memory on a computer
This is Problem 13-3 from the book "Logic and Computer Design Fundamentals" by M. Morris Mano and Charles R. Kime. I believe I have the answer right for part a and part b. That is, they match the ...
2
votes
5
answers
2k
views
How does a microprocessor control its transistors? [closed]
Or in other words, what is the more fundamental building block of an IC below transistors? When I load a code onto my microprocessor, how (fundamentally, sure some people here could write books about ...
2
votes
2
answers
73
views
What does "Cycle \$\mu\$s" mean in this context?
I'm reading a paper about the architecture of the IBM system/360. There is a diagram which lays out the machine structure and implementation in the storage and control tables there is a metric which I ...
1
vote
1
answer
62
views
Need Help Identifying [closed]
This is a Board off a 8tb WD Hard Drive. I plug in the wrong power and i believe the little thing with the S on it is bad. I do not know what it is call or where i could find another, any help would ...
1
vote
0
answers
72
views
Cache Memory Read and Write Miss/hit policies: details of a real processor
All the references I have checked so far explain the Read Miss,Write Hit/Miss policies at the same level of detail. I understand their concepts but I am looking for more details on their ...
2
votes
1
answer
3k
views
MIPS clock cycle calculation formula
How many clock cycles will take execution of this segment on the simple pipeline without forwarding or bypassing when result of the branch instruction (new PC content) is available after WB stage. ...
0
votes
1
answer
221
views
How does a computer shutdown really work [closed]
I don't know if this is the right place to ask, but i'm asking anyway.
How does a computer shutdown really work?
I want to know the electronics (or physics) behind it. Like, how does a system signal ...
2
votes
2
answers
382
views
Why is a Flush needed in the MSI cache coherency protocol when moving from Modified to Invalid?
While studying the MSI protocol as described in different sources such as:
https://en.wikipedia.org/w/index.php?title=MSI_protocol&oldid=941977299
http://courses.csail.mit.edu/6.888/spring13/...
1
vote
5
answers
314
views
Has a CPU with Highlevel language (C/C++) as machine code ever been designed?
I got a question popping directly from reading Tanenbaum's Structured Computer Organization.
Stating from Chap. 1 Sec. 1.1 :
A machine with C++ or COBOL as its machine language would be complex ...
0
votes
1
answer
2k
views
SRAM and D-flip flop instead of transistor
I have read about the internal structure of SRAM and we need 6 transistors to store 1 bit.
But what bothers me is why can't it be made using D-flip flops instead of going deep to transistor-level. It ...
1
vote
3
answers
1k
views
How does ROM work? [closed]
ROM is a major part of a computer, and even more so in gaming consoles. How exactly do they work, and how can you make them with logic gates/transistors? I'm currently working on many projects, ...
1
vote
3
answers
2k
views
Effect of doubling clock frequency on computer performance
If we double the clock frequency of a CPU, does that translate to a doubling of the CPU performance? Assuming that the number of instructions and CPI are constant, we have an inverse relationship ...
0
votes
1
answer
82
views
I am trying to implement a datapath using sequential logic . Trying to implement this C program
I was thinking of creating three registers , namely X, Y and Z. I initialize x and y to constants of '0', then I make register Z an active low register. I send a constant ' 0 ' to the input line of ...
0
votes
2
answers
163
views
Sequence Detector forced to wait a specific number of bits
So I have this little problem, where I am supposed to build a sequence detector which is forced to wait a specific number of bits before going into the reset state. It's kind of like pin codes work. ...
0
votes
3
answers
177
views
What consumes the most power in a computer
I have a quite basic question:
As far as I understand (correct me if I am wrong), we can summarize a computer by saying it is composed of wiring, transistors and some electronic components like ...
0
votes
3
answers
314
views
Implementing ADD instruction for RiSC-16 processor
I'm trying to implement the RiSC-16 (not RISC) processor documented here using Verilog.
The processor is really simple, however there is a problem when you try to perform ADD instructions ...
0
votes
0
answers
34
views
Does stage Sy of instruction have to wait till all earlier instructions has executed their corresponding stage
I am trying to understand execution of instruction in RISC pipeline.
Can stage Sy of instruction I2 execute before stage Sy of I1? That is, in below example, will it be allowed to run I2's ID in C3 as ...
0
votes
2
answers
216
views
What differentiates Laptops from PCs in terms of power consumption?
Today I as a Computer Scientist stumbled about some strange facts.
Recently, I bought a new Macbook Model 16" inch. Today I tried to stress test it because I wondered if the 96 Watt charging cable ...
1
vote
1
answer
521
views
What is an emulator POD?
Jack Ganssle - The Firmware Handbook States
...
1
vote
1
answer
727
views
Cortex-M3, Code region vs SRAM/RAM
In the ARM Cortex-M3 processor core, the memory map contains: a Code region, SRAM and a RAM. What makes the use of the code region different than the other memories? In addition, what is the nature of ...