Entries from 2023-02-01 to 1 month

Reading Notes on Prof. Krste Asanović's Vector PhD Thesis (9. T0-Vector Microprocessor)

people.eecs.berkeley.edu 3.3 T0 Microarchitecture 3.3.2 TSIP TSIP is a port that extends the JTAG scan chain used for debugging 3.3.3 Instruction Fetch and Decode Figure 3.2 shows the pipeline structure of the T0. The fetch and decode stag…

Reading Notes on Prof. Krste Asanović's Vector PhD Thesis (8. T0-Vector Microprocessor)

people.eecs.berkeley.edu 3.3 T0 Microarchitecture Figure 3.1 shows the overall block diagram of the T0. Integer scalar unit MIPS-II 32-bit instruction set Hardware integer multiplier and divider Instruction cache (1kB) Vector unit It has 8…

Reading Notes on Prof. Krste Asanović's Vector PhD Thesis (7. T0-Vector Microprocessor)

people.eecs.berkeley.edu Chapter.3 T0: A Vector Microprocessor T0 (Torrent-0) is the first complete single-chip vector microprocessor. Implementing a vector coprocessor on a commercial R3000 or R4000 core complicates the design of the whol…

Reading "Replay: Unknown Features of the NetBurst Core" for the Replay Queue

I am investigating the Replay Queue used in Intel's NetBurst architecture. I am skimming through the following document. en.thethirdmedia.com This document describes how the pipeline works in the NetBurst architecture. Its most notable fea…

Comparing the Logic Synthesis Results of BOOM and My Own CPU (5. Improving LDQ/STQ Address Information Management)

I want to compare the synthesis results of BOOM and my own CPU and investigate which parts are the bottlenecks. Starting with area. The LDQ/STQ managed address information with separate physical and virtual addresses. I will unify these an…

Comparing the Logic Synthesis Results of BOOM and My Own CPU (4. Analyzing the STQ Area)

I want to compare the synthesis results of BOOM and my own CPU and investigate which parts are the bottlenecks. Starting with area. Reducing the size of the STQ meant that the LDQ side also had to be adjusted because of how the LSU pipelin…

Comparing the Logic Synthesis Results of BOOM and My Own CPU (3. Analyzing the STQ Area)

I want to compare the synthesis results of BOOM and my own CPU and investigate which parts are the bottlenecks. Starting with area. I am continuing to investigate the area of the STQ. The LUT count has dropped to the following. Removing Sn…

Comparing the Logic Synthesis Results of BOOM and My Own CPU (3. Analyzing the STQ Area)

I want to compare the synthesis results of BOOM and my own CPU and investigate the parts that are bottlenecks. Starting with area. I'm still investigating the STQ area. The number of FFs has shrunk to the following. The number of FDCx cell…

Thinking About How Much Would Change if My Own CPU Adopted a Matrix Scheduler

CPU

I'm planning to change the scheduler of my own CPU at some point, and I've been mulling over how to go about it. This is a continuation of that. I'd like to picture the details a bit more. Current implementation The Issue Units are distrib…

Comparing the Logic Synthesis Results of BOOM and My Own CPU (2. Analyzing the STQ Area)

I want to compare the synthesis results of BOOM and my own CPU and investigate the parts that are bottlenecks. Starting with area. The first thing that caught my attention is that the LDQ and STQ are abnormally large. The STQ in particular…

Comparing the Logic Synthesis Results of BOOM and My Own CPU

I want to compare the synthesis results of BOOM and my own CPU and investigate which parts are the bottleneck. Let's start with area. Honestly, I had focused too much on getting things to work functionally and had barely checked area, but …

Reading Notes on Prof. Krste Asanović's Vector PhD Thesis (6. Energy Efficiency)

people.eecs.berkeley.edu 2. Background and Motivation (continued) Energy Efficiency Metrics for energy consumption ETR: Energy to Throughput Ratio (ETR) is an appropriate measure of the energy efficiency of low-power processors (lower is b…

Reading Notes on Prof. Krste Asanović's Vector PhD Thesis (5. Memory Performance)

people.eecs.berkeley.edu 2. Background and Motivation (continued) 2.5 Memory System It is important to balance arithmetic throughput against sufficient memory system bandwidth. 2.5.1 The STREAM benchmark shows that superscalar microprocess…

Reading Notes on Prof. Krste Asanović's Vector PhD Thesis (4. Scalar Processor Performance)

people.eecs.berkeley.edu 2. Background and Motivation (continued) 2.4 Scalar Performance Microprocessor integer performance has increased by more than 100x over a decade. That is, it has improved by about 60% per year. However, the perform…

Working Through DIGITAL ELECTRONICS NOTES (11. Sequential Circuits)

Let's work through the following digital circuit questions. Continued. lancamentomerlo.my.canva.site Q: Design a state machine that recognizes 10110. A: The above is the correct answer, but the way to think about it is as follows: State A:…

Reading Notes on Prof. Krste Asanović's Vector PhD Thesis (3. Background and Motivation)

people.eecs.berkeley.edu 2. Background and Motivation (continued) Advantages of a vector ISA Reduced instruction bandwidth Simplicity from the N operations being independent Each element can be handled as a lane Dependency checking can be …

Reading Notes on Prof. Krste Asanović's Vector PhD Thesis (2. Background and Motivation)

people.eecs.berkeley.edu 2. Background and Motivation Why did vector processors fall out of favor? Microprocessor performance improved surprisingly well. Superscalar out-of-order execution is very effective. It extracts instruction-level p…

Reading Notes on Prof. Krste Asanović's Vector PhD Thesis

people.eecs.berkeley.edu Research on vector instructions, moving from supercomputers to microprocessors Implemented a microprocessor called T0 (Torrent-0). While issuing a single vector instruction, it can perform more than 24 operations p…

Working Through DIGITAL ELECTRONICS NOTES (10. Sequential Circuits)

Let's work through the following digital circuit questions. Continued. lancamentomerlo.my.canva.site Q: What is the difference between a synchronous counter and an asynchronous counter? A: A counter is a sequential circuit that repeatedly …

Working Through DIGITAL ELECTRONICS NOTES (9. Sequential Circuits)

I'm continuing with the following digital circuit problems. lancamentomerlo.my.canva.site Q: What is the difference between a synchronous circuit and an asynchronous circuit? A: A synchronous sequential circuit changes its state and output…

Working Through DIGITAL ELECTRONICS NOTES (8. Combinational Circuits)

I'm continuing with the following digital circuit problems. lancamentomerlo.my.canva.site Q: Use binary addition to compute the 9's complement of a BCD digit. A: The computation itself is $9-d$. Since $-d$ is computed as the two's compleme…

Working Through DIGITAL ELECTRONICS NOTES (7. Combinational Circuits)

I'm continuing with the following digital circuit problems. lancamentomerlo.my.canva.site Q: What is the difference between an encoder and a multiplexer? A: An encoder is similar to a multiplexer, but a multiplexer produces a 1-bit output …

The Chipyard 1.8.1 Installation Procedure Has Changed Quite a Lot

When I tried to generate a Chisel design with Chipyard for the first time in a while, I found that the environment had changed considerably since Version 1.8.1. chipyard.readthedocs.io I was surprised to find that the Dockerfile no longer …

Differences in the PLIC Interface Across Configurations in Chipyard

I want to check various PLIC implementations, so I'm looking at the configurations generated by Chipyard. Single-core RocketChip configuration. The interrupt injection interface auto_int_in_0 is only 1 bit. The output is 2 bits, auto_int_o…

Working Through DIGITAL ELECTRONICS NOTES (6. Combinational Circuits)

I'm continuing with the following digital circuit problems. lancamentomerlo.my.canva.site Q: What is the difference between a combinational circuit and a sequential circuit? A: A circuit whose output at any instant depends only on the inpu…

Working Through DIGITAL ELECTRONICS NOTES (5. Gates)

I'm continuing with the following digital circuit problems. lancamentomerlo.my.canva.site A B R 0 0 0 0 1 1 1 0 1 1 1 0 Q: What is the typical role of an XOR gate in data communication? A: XOR gates are used for parity detection, CRC, ECC,…

Writing Test Cases for the RISC-V PLIC and Building a Lockstep Verification Environment with Spike

https://msyksphinz-en.hatenablog.com/entry/2023/01/23/040000msyksphinz-en.hatenablog.com https://msyksphinz-en.hatenablog.com/entry/2023/01/24/040000msyksphinz-en.hatenablog.com https://msyksphinz-en.hatenablog.com/entry/2023/01/29/040000m…

Working Through DIGITAL ELECTRONICS NOTES (4. AND / OR Logic)

https://msyksphinz-en.hatenablog.com/entry/2023/01/21/040000msyksphinz-en.hatenablog.com https://msyksphinz-en.hatenablog.com/entry/2023/01/27/040000msyksphinz-en.hatenablog.com https://msyksphinz-en.hatenablog.com/entry/2023/01/28/040000m…