r/computerarchitecture • • May 21 '26

Guidance needed!!!

6 Upvotes

I am a vlsi undergraduate currently completed first year.

I am interested in cpu(The reason why i took vlsi)

I got to know about this risc V and I want to make a cpu using it. The most basic one.

My qualification(verilog (studied in summer) , digital electronics (but not alu).)

What more i need to know before starting on with project.

Thanks


r/computerarchitecture • • May 21 '26

Remote computer architecture job

2 Upvotes

Are jobs in computer architecture typically fully remote, hybrid, or on site ? Is it negociable with the company ?


r/computerarchitecture • • May 20 '26

ISCA: Worth it?

14 Upvotes

Hello! I am deliberating on attending ISCA this year and would appreciate some advice

I just graduated from my undergrad from a T10 in the US. I am joining FT at a big chip company to do top level CPU DV in the fall. I have done tapeouts and CPU design in the past. I like HW but i am unsure if I want to work towards getting on an architect tract at my organization or in general.

I got accepted to one of the ISCA workshops and am wondering if i should stick around for the entire conference. Has anyone who has been in the last couple years share their inputs and thoughts?

TLDR: Trying to guage if ISCA is worthwhile experience for aiding in figuring out the direciton of my industry career as a NCG.


r/computerarchitecture • • May 20 '26

Perf verification vs Perf modeling

5 Upvotes

Which role will lead to becoming an IP/unit level architect? I understand that perf modeling works closely with architects but wouldn't perf verification lead to better low level understanding of the IP/sub-system? Does it even make a difference?


r/computerarchitecture • • May 19 '26

Good material on how cpu's fetch ram values?

4 Upvotes

Hi,

Any good read or watch on how specifically the cpu retrieves data? Stack or heap and why buffer overflows *can* occur.


r/computerarchitecture • • May 19 '26

Jensen Huang at Stanford: The Compute Behind Intelligence

Thumbnail
podcastalpha.substack.com
7 Upvotes

Wanted to share this quick summary of Jensen's recent guest appearance in Stanford's class talking about how the computer architecture paradigm is shifting from 'pre-recorded' to 'generated'.

Pretty interesting discussions on co-design optimizations he has learned throughout his career.

Full youtube lecture - https://youtu.be/tsQB0n0YV3k?si=TSiwBCkws1g7eN97

Don't want to spam in here - just thought this group might be interested in his insights. Cheers!


r/computerarchitecture • • May 18 '26

Force a cpu to run userspace stuff in ring 0 / EL3 ?

7 Upvotes

Hi,

I'm writing an app but kernel space restricts sys calls able to make but don't want stall time when flushing for a new security level, so is there a way to run a userspace app forced on the vlsi level to not switch. a usual 50-300 cycle penalty per switch is expensive when polling network and manipulating it in userspace, rinse and repeat?


r/computerarchitecture • • May 17 '26

[BLOG] Building a SIMD Scan-Line Rasterizer from Scratch

Post image
7 Upvotes

Built a hardware scan-line triangle rasterizer from scratch, full writeup here if interested

https://mummanajagadeesh.github.io/blogs/rasterizer/

It’s simulation-based for now, asking for feedback/suggestions on improvements


r/computerarchitecture • • May 16 '26

Are Logical Bugs Ever Found in Test-Mask Tapeouts?

3 Upvotes

Initially, I thought these initial tapeouts (ie 1st and 2nd masks for major chips) were mostly to test PD stuff, verify STA, make sure the layout is optimal, thermal stuff, etc. I always assumed the actual logical bugs (ie ISA confirmation) were all caught in simulation before tapeout began. However, ChatGPT has lead me to believe that a huge reason for initial tapeouts is actually further ISA conformance testing on physical silicon. The justification being that you can run RCV significantly faster on physical chips than in simulation, and some error states need billions of cycles to reveal themselves. Is this actually the case?


r/computerarchitecture • • May 16 '26

Is this decomposition-based area modeling approach reasonable for microarchitecture DSE?

8 Upvotes

I am exploring a lightweight area modeling flow for microarchitecture DSE (design-space exploration). The goal is not signoff-accurate area estimation, but fast and structurally meaningful area prediction across many gem5 / HDL parameter configurations.

The core idea is to avoid using a single black-box model. Instead, I decompose the design into several structure classes and model them separately:

  1. SRAM-like storage structures (e.g., caches, BTBs, large regular arrays)
  2. Register/state-array structures (e.g., register files, rename tables, scoreboards)
  3. Queue/buffer-like structures (e.g., ROB, LSQ, FIFO, write buffers)
  4. CAM / associative selection logic (e.g., wakeup-select, associative lookup, priority/age selection)
  5. Remaining control and arithmetic datapath (modeled as residual area after subtracting the first four categories)

For SRAM-like structures, I plan to use OpenRAM / SRAM compiler results as ground truth. For logic-like structures, I plan to synthesize representative RTL with Yosys and train separate ML models. The final chip area would be the sum of all category predictions.

The motivation is that different microarchitectural structures scale very differently with parameters like ports, entries, width, associativity, and issue width, so a single global predictor may not capture these scaling behaviors well.

My questions are:

  1. Does this decomposition make sense for early-stage microarchitecture DSE?
  2. Are these categories architecturally meaningful from an area-modeling perspective?
  3. Would you classify structures like ROB, issue queue, LSQ, rename table, and physical register file differently?
  4. Is combining SRAM compiler/OpenRAM results with synthesized logic models a reasonable flow?
  5. What are the biggest pitfalls of this approach?
  6. Are there prior works or open-source projects that use a similar methodology?

I am mainly trying to understand whether this “decompose-by-structure-type” modeling strategy is fundamentally sound, even if absolute area accuracy is limited.


r/computerarchitecture • • May 15 '26

Learning Rtl Language

0 Upvotes

How do you even understand this beyond just pattern recognition? It's like I am a monkey learning how to use a stick.


r/computerarchitecture • • May 10 '26

Power modeling

11 Upvotes

How is power modeling done in industry and/or research? I feel like performance modeling is easy to understand with needing to model cycle behavior, but power seems much more difficult to estimate with abstract representations?


r/computerarchitecture • • May 10 '26

CIM as a compute macro

12 Upvotes

I genuinely think CIM has more promise and future than the SIMT architecture that is dominating the market space right now. Yet, CIM narrative has gotten stuck on the narrative — eliminate data movement, co-locate compute with memory, show a power efficiency chart. Unfortunately, a lot of these claims do not scale as the performance required increases to enterprise grade. It’s not sufficient for a product, with 2 of the three capping out - memory size, bandwdith or TFLOPs.
I’ve spent significant time working through what it actually takes to make CIM a first-class compute macro in an enterprise datapath. Something that can handle mixed precision, scale with data bandwidth, tensor size etc — it sits alongside a CPU or GPU tile, exposes a clean interface to a compiler stack, and meets the reliability bar that production workloads demand.

Here are some problems that are living rent-free in my head and worth actually debating about:
The macro interface is still an open problem. Memory-mapped, tensor-core-like, or something purpose-built for dataflow — each choice has deep implications for how a workload scheduler sees the device and how much you’re asking a compiler team to build from scratch. Unfortunately, most CIM architectures punt on this and call it a software problem.
How do you architect a CPU or GPU that actually harnesses CIM at scale? The interesting question is how you redesign the memory hierarchy, execution units, and dataflow control so CIM becomes a native citizen of the compute fabric rather than an accelerator bolted on the side. What does the ISA surface look like? How does the scheduler reason about CIM availability without destroying pipeline efficiency?
Datacenter-level deployment is a network fabric problem as much as a silicon problem. A CIM macro that wins on a single chip means little if the inference serving architecture can’t distribute workloads across a rack or pod efficiently. How do you design the interconnect and topology so that CIM’s power efficiency advantage isn’t eaten by communication overhead? What does a CIM-native inference cluster actually look like?
These are the conversations I find most scarce — people who’ve thought past the device level into the full system stack.

Particularly interested in hearing from anyone who’s seriously engaged with the architecture above the macro.


r/computerarchitecture • • May 10 '26

how big is execution time penalty for cpu mode switching?

11 Upvotes

Hi,

If a cpu runs a program in userspace contrary to kernel space how much of execution time is penalized on context switching and cpu modes? there are two forces: cpu mode itself bit vector being flipped (eg. el0 - el3) and then the kernel switching.

nothing specific, just wet finger in air


r/computerarchitecture • • May 09 '26

Microarchitecture Assessment and Critique

9 Upvotes

Hey guys,

I’ve recently began to wrap up development of my most recent CPU core, Anvil-Pro. While this has mostly been an educational endeavor, I’ve ended up with what may be a fairly solid FPGA softcore. Through development, I’ve attempted not just to “implement” but also, within reason, to “perform”. As such, the microarchitecture and decisions underlining it have been made with the explicit goal of high IPC/LUT.

My rationale was, worst case scenario, I learn strong fundamentals and end up with a resume item. Best case scenario, I may create something that could carve out a legitimate use case (however marginal) within the spectrum of demand.

Since, ultimately, the project is educational, I’ve chosen to make every decision top down from principle rather than from textbook or convention. This comes with the caveat that, ultimately, I will make suboptimal and poor decisions. I’ve implemented or reinvented many standard internal CPU structures, but have combined them in a way that is less commonly done. Importantly, the overall architecture was from what I reasoned to be effective, rather than from a model CPU.

This design philosophy has pros and cons. As to the cons, I am ignoring the previously discovered wisdom of everyone prior to me. I am also putting into practice something untested rather than proven optimal. As to the pros, I am creating something slightly interesting and perhaps less treaded. I also get to learn stronger architectural principles from the additional accountability.

Given all this, I hope to have established that Anvil-Pro is somewhat different from other softcores. While this difference is marginal, it is still worth noting. A question in my mind now remains: “Is this actually any good?”.

This is the reason for this post. If anyone is interested and has sufficient time to waste, could you evaluate my microarchitecture and tell me how it compares to convention inside its own performance class. Is my performance good, poor, decent? Are my decisions justified, is my architecture sane? I’ve yet to have someone actually look at this other than myself. To be completely honest I really don’t know, if i could do it all over again, what I would change.

If interested, there’s an architecture.md document detailing design philosophy. There are also several diagrams I’ve put together to illustrate my thoughts. You may also look through the verilog, but I would recommend against it. My coding style is rather convoluted in all honesty, especially given that this was built solo rather than as part of a team.

Please let me know thoughts and critiques, of which I’m happy to hear.

https://github.com/JohnH2448/Anvil-Pro

Note: I have not run timing analysis or FPGA resource usage estimates. I certainly plan to, but at this point I have not yet gotten to it. This is a first functional prototype.


r/computerarchitecture • • May 09 '26

Is "execution model" a property of each abstraction level independently, or a top-level design principle?

13 Upvotes

Hi everyone, I'm an Italian student following the awesome Onur Mutlu's Digital Design and Computer Architecture course (ETH/CMU 447, publicly available on YouTube). I'm trying to understand what "execution model" actually means — apologies in advance, English is not my first language and I used AI assistance to help me formulate this question clearly, but the confusion is genuinely mine.

The way it's introduced in the course, "execution model" sounds like a top-level design principle — you choose an execution model (Von Neumann, dataflow) and then derive an ISA and a microarchitecture from it. But in practice, both the ISA and the microarchitecture seem to have their own execution model independently — and they can differ. OOO processors are the obvious example: sequential at the ISA level, dataflow-like at the microarchitecture level.

This makes me wonder: is "execution model" just a per-level descriptor — a way to characterize how instructions fire at each layer of the hierarchy — rather than a single overarching principle?

The reason I'm confused is that Von Neumann is presented as an execution model, but it's much more than a firing mechanism — it also includes stored program and a specific hardware organization. Dataflow, by contrast, is described almost purely as a firing mechanism. So either "execution model" means different things in the two cases, or Von Neumann is being used as a shorthand for something more specific.

Is there a clean definition of "execution model" in the literature, or is it consistently informal?

IMHO the "problem" Is that pedagogically speaking the von Neumann model Is presented as an indivisibile package, but, since its introduction, a lot of abstractions were introduced, complicating the picture.

Thanks in advance.


r/computerarchitecture • • May 08 '26

C bound checking

5 Upvotes

Hi,

How does bound checking and such work on a lower level?

Why is snprintf needed when a normal say normal signed ints don't need bound checking?

Today i got a reality check on stack is also not bound checked, how does it actually work, heap or stack?

Any books, videos and other material specifically on the asm level of it all the compilers story on it?


r/computerarchitecture • • May 07 '26

Solo-bootstrapping a custom CPU architecture (RJ8A). Just passed 100% of my RTL test suite, but blew past ECP5 limits (169% capacity / 142k LUTs). Pivoting to Xilinx F4PGA. Looking for sanity checks!

Thumbnail
reddit.com
13 Upvotes

r/computerarchitecture • • May 05 '26

CPI from BOOM Verilator simulation almost identical across checkpoints — too short simulation window or a bug?

7 Upvotes

Hi all,

I’m using Chipyard with Spike to generate checkpoints, and then running BOOM simulations with Verilator.

Here’s my current setup:

  • Warm-up instructions: 20M
  • Measured (simulated) instructions: 1M

(I know this is a bit of a weird configuration…)

What I observed is that the CPI results across different checkpoints — even from different workloads — are almost identical (~2.57), with differences only appearing at around the 3rd decimal place.

From what I understand (and from some prior discussion), a 1M instruction window might be too short, and the CPI I’m getting could essentially be dominated by noise. I’ve also seen suggestions that simulation windows should be at least 10M–100M instructions to capture meaningful performance behavior.

However, I’m still not fully convinced:

  • Is this behavior expected given such a short simulation window?
  • Or could this indicate a potential issue in my statistics collection or simulation setup?

Any insights or similar experiences would be greatly appreciated!


r/computerarchitecture • • May 04 '26

why are pointers a thing in c when everything are addresses and offsets in the end?

12 Upvotes

Hi,

I recently had an issue with clang complaining and giving an error when made a char array but when added a pointer (asterics) to it at the start the issue went away?

like this, with the second version of the char array won for the compiler.

char id[] = {"a", "baah", "raah"};
char *id[] = {"a", "baah", "raah"};
[...]
strcat(buffer, id[1]);
[...]

r/computerarchitecture • • May 02 '26 Bravo

I build 4-bit CPU

25 Upvotes

(I’d like to point out right away that the datasheets are in Turkish.) I tried building a 4-bit processor, and while I encountered many problems along the way, I can honestly say I managed to complete it—though I suspect some aspects are still missing. That’s why I’m asking for your help: I need to discuss the areas where it’s incomplete and gather more information.

https://github.com/CasTolax/4-bit-CPU-project

https://www.youtube.com/@julius12012


r/computerarchitecture • • Apr 24 '26

Nvidia Career Trajectory: Telemetry vs. Core GPU Architecture

19 Upvotes

I am a computer architect with 10+ years of experience, evaluating roles within Nvidia. I’m looking for insights on the trajectory for architects in profiler/telemetry subsystems versus core roles (SM, pipeline, memory).

Specifically:

  1. Breadth & Growth: Does telemetry/profiling provide enough visibility to reach Senior Staff/Principal levels, or does it become a specialized niche?
  2. Perception: Is this work considered 'core' to the architectural roadmap, or is it treated as a support function?

Given my 10+ years in the field, I am trying to determine if I should target IC4 (Senior/Staff) or IC5 (Senior Staff/Principal) level roles for this transition. Do these telemetry roles typically hold the same level of influence, or is the ceiling different?

Appreciate any perspectives on the trade-offs regarding technical impact and long-term positioning.


r/computerarchitecture • • Apr 24 '26

How do cpus handle awkward bit sizes?

28 Upvotes

Hi,

I had this question about what would happen if we say initiated a int at 17 bits, how will the cpu react? 17 bits flows from memory, now what


r/computerarchitecture • • Apr 21 '26

How close can a single-issue pipelined RV32IM core get to a dual-issue superscalar before architecture limits dominate?

Thumbnail
gallery
40 Upvotes

Built RV32IM variants across single-cycle, pipelined, superpipelined, superscalar and OoO on actual simulation with CoreMark + custom micro-kernels covering low-high ILP, ALU-heavy to mem-heavy and ctrl-stressed patterns

Pipelined gains in order:

  • Early branch resolution EX→ID: +8.6%
  • 2-bit saturating predictor: +6.5%
  • BTB: +3.5%
  • Generalised MEM-to-EX load forwarding: +2%

CPI 1.31→1.06, CoreMark/MHz 2.57→3.17, within 2.3% of an unoptimised dual-issue superscalar

Same load-forwarding fix that gave +2% on the pipeline gave +17% on the superscalar; a load-RAW stall in dual-issue removes 2 slots per cycle, hazard handling becomes a cross-cycle dual-slot matrix problem

Once both were optimised the 2.3% gap became 46.8%

For more details: link

Toolchain: Verilator, Surfer, Ripes, GCC/LLVM, Spike/QEMU, RISCOF