Skip to main content

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.

Filter by
Sorted by
Tagged with
-1 votes
1 answer
85 views

Which kinds of embedded platforms can be considered well-suited for acquiring a general taste of interrupts? [closed]

I'm an application programmer without much knowledge in low-level programming. I've set up a basic toolchain for assembly programming with the ATMega328P on an Arduino Uno R3 board. One of my aims is ...
Piovezan's user avatar
  • 133
0 votes
0 answers
1k views

Help with Register File Implementation on Logisim

I'm currently working on an assignment that involves implementing a register file with 2 read ports and 1 write port on Logisim. I've made some progress but I'm struggling with a few questions and ...
mrAnonymous's user avatar
0 votes
0 answers
55 views

How to estimate how bad the wire delay can be when I am designing a chip?

I am currently working on a program involves designing a Neural Network accelerator architecture. I don't have a very deep background in digital circuit, but I know long wires may incur heavy delay ...
Richard Cai's user avatar
0 votes
3 answers
343 views

Need help understanding speedup in parallel computing [closed]

I am currently studying computer architecture and I am having some trouble understanding the concept of speedup in parallel computing. I came across the following statement: "Before the multicore ...
Bryan C's user avatar
  • 17
0 votes
1 answer
64 views

Designing instruction emulating swap on a MIPS ISA with only 2 registers

In a typical MIPS ISA, you have only 2 working registers. But you have a large number of ALU units. How to design an instruction to emulate swap?
Nidhi's user avatar
  • 87
2 votes
1 answer
1k views

What provides the clock signal in CSI2 interface?

What provides the clock signal for the CSI2 interface used for many cameras? Does the camera provide it or is it the processor the camera is interfacing to?
FourierFlux's user avatar
0 votes
2 answers
193 views

Are there any fields in EE that overlap with Quantum informatics/computing nowadays? [closed]

As I understand it, research in quantum information and computing has traditionally been confined to physics and applied physics/math departments. It seems to me that many of the practical challenges ...
TLDR's user avatar
  • 127
0 votes
1 answer
60 views

A simple question on pipelined MIPS

For branches/jumps the PC is always muxed from the MEM stage. Why don't we mux it from the EX stage itself instead?
Revanth's user avatar
0 votes
0 answers
359 views

Computer architecture: Count of RAM, ROM and I/O interface addressing

I am trying to work through this question and I appreciate any help or hint. Thank you Problem: A computer system uses RAM chips of size 512x8 and ROM chips of size 256x8. The computer system needs 4k ...
Node.JS's user avatar
  • 101
2 votes
1 answer
1k views

How do you fit so many instructions on a 8-bit processor?

I will preface this that it is highly likely that I have misunderstood how Harvard architecture works, but I cannot understand how an 8-bit instruction set, say the ATmega128 for example, can contain ...
Lyndon Alcock's user avatar
0 votes
0 answers
51 views

How different layers of cache connect in hardware?

I had a RISC-V CPU with L1 Instruction Cache and L1 Data Cache, and I want to connect these two L1 Caches to unified L2 Cache. I have the following questions: Does the unified L2 Cache have dual port ...
Johnson_NCKU_EE's user avatar
0 votes
1 answer
85 views

Generating Control Signals via Case statement vs Boolean function

I'm building a RISC-V processor recently, and I've encountered a question when constructing the control unit. That is, what's the difference between generating control signals through: Case statement,...
Calvin Lin's user avatar
1 vote
0 answers
130 views

How to solve pipeline hazards using stalls?

So, I have the following code, which should run on a five-stage pipeline (Fetch, Decode, Execute, Memory, Write). Now, we need only to consider read-after-write data dependencies and find the total ...
Vedanta Mohapatra's user avatar
3 votes
1 answer
234 views

How can memories be implemented efficiently with memory blocks of different sizes?

I am unsure if I am framing the question correctly, but here's what I wanted to ask. Let's say we want to implement a 64 kB memory. We would require a 16-bit address if we have byte-addressable memory....
Vedanta Mohapatra's user avatar
1 vote
0 answers
103 views

SRT division: correcting BSD quotient

I have been reading a lot about the SRT division algorithm lately and I understand that the main idea is that it allows us to skip over addition/subtraction, unlike non-restoring division where we ...
s10101010's user avatar
1 vote
1 answer
231 views

Mitigating structural hazards in register files in processor pipelines

I am reading about structural hazards in pipelined architecture in processors. In classic RISC pipeline one such hazard is when we write and read simultaneously to same register, which may cause ...
Meenie Leis's user avatar
  • 2,782
3 votes
0 answers
372 views

How to using JAL in RISCV in this example?

Write a "replace" function that replaces every character in the source string between the first occurrence of character "(" and the first following ")" with character &...
黑旗Vlland's user avatar
3 votes
4 answers
845 views

Is there any difference between a CPU core and a CPU itself?

I was reading this article that explains the difference between a thread and a core and it says the following: ...
penguin99's user avatar
  • 889
7 votes
3 answers
3k views

How are BAR registers handled between end points in PCI Express?

I have a question related to the PCI Express protocol. I managed to understand most of the features of the PCI Express protocol but could not entirely understand the enumeration process. I know the ...
Joseph Star's user avatar
2 votes
1 answer
251 views

Differences in capacitive loads

I'm in school and I am trying to figure out a question for homework. It reads as stated: Version Voltage Clock Rate i. Version 1 1.75V 1.5 GHz Version 2 1.2V 2 GHz ii. Version 1 1.1V 3 GHz ...
Zanius Maximus's user avatar
4 votes
3 answers
2k views

How to do signed 16-bit arithmetic on an 8-bit processor?

For example, to add two 16-bit numbers on my 8 bit machine, I add the low bytes together, then the high bytes together, and then add the carry flag to the high byte of the output. This strategy falls ...
Max Zabarka's user avatar
2 votes
1 answer
569 views

Program counter updating in a single-cycle ARM processor

This picture is from the book Digital Design and Computer Architecture: ARM Edition. It implements the LDR instruction. I have one question: R15 is supposed to be PC+8. In the picture, is R15 ...
user394334's user avatar
17 votes
4 answers
4k views

Why do we need nonlinear electronics for computing?

When I read about photonics, I always see that they can be used for linear transformations (just matrix multiplications), and that this is a limitation that makes them unsuitable for building a ...
croc13's user avatar
  • 173
-2 votes
0 answers
33 views

Implementing functional design of a computer system into physical hardware [duplicate]

I have recently started studying computer organisation and found that in most of the books the design of computer system is not discussed beyond functional design abstraction level (as shown in the ...
partykid's user avatar
  • 359
0 votes
4 answers
203 views

Functional design implementation of computer system into actual physical hardware

I have recently started studying computer organisation and found that in most of the books the design of computer system is not discussed beyond functional design abstraction level (as shown in the ...
partykid's user avatar
  • 359
1 vote
2 answers
2k views

How is sll implemented in MIPS?

I don't understand how MIPS would implement the sll (shift left logical) instruction using the hardware present in its ALU as shown in the diagrams below. Would ...
kene02's user avatar
  • 548
1 vote
1 answer
716 views

Verilog code execution in gate level modeling

The following is Verilog code an SR latch. ...
PG1995's user avatar
  • 245
11 votes
3 answers
3k views

Why do we see one, unified memory address space in ARM Cortex-M core based MCUs even though they have Harvard architecture?

Most of the ARM Cortex-M core based MCUs have Harvard architecture (except for Cortex-M0 and M0+.) The thing I do not understand is that why we see only one memory address space. For example, in tge ...
gvg's user avatar
  • 163
1 vote
1 answer
188 views

What drives an input from 0 to 1 inside of a digital circuit?

Inside of a digital circuit, like a computer, what is acting as the switch that drives the inputs or internal values from 0 to 1, and how does this work? Like in instructions for a computer, how are ...
Michael Bradley's user avatar
0 votes
0 answers
195 views

Do PCI Express devices' interrupts always go through a PIC or an APIC?

My Question is PCI/PCIe interrupt path to CPU is through a PIC or an APIC? https://people.freebsd.org/~jhb/papers/bsdcan/2007/...
Franc's user avatar
  • 93
3 votes
3 answers
625 views

Processor Design: Just how complex is a real CPU datapath?

We're doing a course on Computer Architecture, and the course project involves creating an ARM-based processor. We're supposed to create the processor in stages, and add significant features in each ...
Aniruddha Deb's user avatar
0 votes
1 answer
2k views

How do computer memories interact with each other (registers, cache, RAM, ROM)?

After Googling around for some time, I have managed to get a good understanding what makes these components different, but I've yet to find any clear computer architecture-focused article/thread on ...
EL02's user avatar
  • 103
1 vote
0 answers
337 views

Understanding Forwarding unit

I am new to this subject and am having trouble understanding this topic. Suppose I have the following circuit to control the forwarding of a MIPS pipeline processor: So the forwarding control will be ...
Upgrade 's user avatar
1 vote
1 answer
3k views

How do I assign one of the outputs of a module to the output of a different module?

...
dyntos's user avatar
  • 21
1 vote
1 answer
2k views

What do the diagonal lines in these circuits mean? [duplicate]

What exactly do these diagonal lines represent in these circuits? (I have them circled in red.)
theCursedPirate's user avatar
2 votes
1 answer
286 views

Is it usual design that the addition operation in the arithmetic-logic unit is performed by default as other instructions are executed?

The book But How Do It Know? presents an 8-bit computer architecture in which arithmetic-logic instructions (that is, instructions which are executed by the ALU) have 1 as the most significant bit, ...
Piovezan's user avatar
  • 133
3 votes
4 answers
3k views

How do processor transistor counts keep increasing, without geometric scaling?

Reading into the history of the semiconductor industry and Moore's Law, and looking at the ITRS/IRDS documents, I understand that scaling down and modern node names (7nm, 5nm etc) are now "...
sp4rk's user avatar
  • 31
0 votes
1 answer
153 views

Confusion about IJVM

I was reading the chapter 4 of the book 'Computer Architecture' by Tanenbaum (since my copy is not in English maybe the title of the English version is not exactly that one), however it is the chapter ...
Landau's user avatar
  • 111
0 votes
1 answer
56 views

Does the memory bus span multiple layers on die?

My question is if you take any model desktop CPU such as the ones manufactured by Intel would the design of the memory bus span multiple layers of a single die or would it be contained on a single ...
JoeT's user avatar
  • 11
1 vote
0 answers
41 views

Are coarse-grained reconfigurable architectures a subset of dataflow architecture?

By definition, dataflow architectures consist of large modules in the dataflow path, such as adders and multipliers for integer, floating-point, or fixed-point computation. Hence, are coarse-grained ...
Giovanni's user avatar
0 votes
0 answers
144 views

What is the cost of increasing the number of register names?

Increasing the number of registers in a CPU, has the upside that more values can be kept in registers instead of having to spill to stack. It has some downsides, one of which is that more instruction ...
rwallace's user avatar
  • 563
0 votes
1 answer
138 views

Computers: How signals in the bus can travel in either direction [closed]

I'm reading J. Clark Scott's book But How Do It Know. When he is describing registers and the bus he illustrates this at one point as five registers sequentially parallel-connected to a bus. As you ...
Erik Eriksson's user avatar
0 votes
0 answers
295 views

How does CDB mastering work in Tomasulo's algorithm?

I understand that implementations of Tomasulo's algorithm feature a common data bus (CDB) that each functional unit writes its output to. Each reservation station can listen on the CDB for its ...
A. Kumar's user avatar
0 votes
1 answer
463 views

How does CPU control implement pipeline stall [closed]

The original question was deemed lack of focus. This post is specifically about cpu pipeline stall. How does synchronous microarchitecture implement pipeline stall when a cache miss occurs during ...
Oliver Young's user avatar
2 votes
1 answer
242 views

How does Asynchronous DRAM perform self-timing

The original question was deemed lack of focus. This post is specifically about dram chip. When DRAM controller talks to an asynchronous DRAM, how does DRAM itself know when a write is completed and ...
Oliver Young's user avatar
4 votes
1 answer
2k views

Are processor instruction sets royalty free? (e.g. ARM v9, x86)

I asked a general question on Law SE with one example (ARM) and for that example, I was directed to What exactly does ARM sell to vendors?. I've read that QA that ARM sells actual core designs. I've ...
Martian2020's user avatar
0 votes
2 answers
393 views

Transistors collector input output of other transistor?

I'm new to computer science and trying to learn the basics. Have learnt how to create logical gates using simple components like relays, thanks to nandgame.com. This was easy, boolean functions, have ...
user avatar
0 votes
1 answer
127 views

Can a pin to DDR4 be as thin as household tinfoil? (0.016 mm)

Edit: I think using the term "bus" might be wrong here. A "bus" needs to be large enough to facilitate an entire DDR4 stick's bandwidth to the Northbridge. The connection to each ...
J.Todd's user avatar
  • 223
2 votes
2 answers
2k views

Which bus protocol(s) does a motherboard use to connect to RAM?

I'm trying to learn about the protocols busses use in computer engineering and so far I've learned about the CAN bus protocol, where you can even watch traffic on the busses with wireshark, but this ...
J.Todd's user avatar
  • 223
0 votes
3 answers
269 views

Question about computer engineering circuits (noob question) [closed]

I'm currently self learning computer engineering stuff right now and I was wondering how RAM would work in terms of input and output and I stumbled upon this image I think it's somewhat wrong from ...
Daniel James Dolor's user avatar

1
2
3 4 5
12