Entries from 2023-03-01 to 1 month
https://ieeexplore.ieee.org/document/10049118ieeexplore.ieee.org The paper above was published on IEEE Xplore. I didn't know much about recent trends in instruction extensions, so I decided to read it. Continued from the previous article. …
https://ieeexplore.ieee.org/document/10049118ieeexplore.ieee.org The paper above was published on IEEE Xplore. I didn't know much about recent trends in instruction extensions, so I decided to read it. Continued from the previous article. …
LiteX is an integrated environment for semi-automatically generating SoCs, and the SoC generation environment for my own CPU also uses LiteX. github.com Up to the last article, Vivado logic synthesis had finally started running, but it doe…
https://ieeexplore.ieee.org/document/10049118ieeexplore.ieee.org The paper above was published on IEEE Xplore. I didn't know much about recent trends in instruction extensions, so I decided to read it. Key points of this paper: it provides…
LiteX is an integrated environment for semi-automatically generating SoCs, and the SoC generation environment for my own CPU also uses LiteX. github.com Last time, I thought I had built for my own CPU, but it had actually compiled VexRiscv…
LiteX is an integrated environment for semi-automatically generating SoCs, and the SoC generation environment for my own CPU also uses LiteX. github.com Updating the repository might avoid the previous error. I updated the repository and r…
LiteX is an integrated environment for semi-automatically generating SoCs, and the SoC generation environment for my own CPU also uses LiteX. github.com First, I'll try modifying the original make.py. I change the CPU that gets loaded. dif…
I'll use Whisper, Tenstorrent's ISS, to check how the test patterns in riscv_arch_tests behave. The environment is Ubuntu-22.04 LTS. The following packages need to be installed. sudo apt install libboost-dev libboost-program-options-dev gi…
I've decided to try riscv_arch_tests, the RISC-V verification patterns released by Tenstorrent, which I've wanted to try for a long time. I hope that applying them to my own CPU will uncover more bugs. https://github.com/tenstorrent/riscv_…
LLVM 16 has been released. Every time the LLVM version changes, the API specification changes too, which breaks the implementation from my LLVM book. Fixing this is a pain every time. releases.llvm.org This time, I'll start by switching to…
I've decided to try riscv_arch_tests, the RISC-V verification patterns released by Tenstorrent, which I've wanted to try for a long time. I hope that applying them to my own CPU will uncover more bugs. https://github.com/tenstorrent/riscv_…
I've decided to try riscv_arch_tests, the RISC-V verification patterns released by Tenstorrent, which I've wanted to try for a long time. I hope that applying them to my own CPU will uncover more bugs. https://github.com/tenstorrent/riscv_…
I've decided to try riscv_arch_tests, the RISC-V verification patterns released by Tenstorrent, which I've wanted to try for a long time. I hope that applying them to my own CPU will uncover more bugs. https://github.com/tenstorrent/riscv_…
I have wanted to try riscv_arch_tests, the RISC-V verification patterns released by Tenstorrent, for a long time, so I finally decided to give it a go. I plan to apply it to my own CPU, and I'm hoping it will uncover more bugs. https://git…
The April 2023 issue of "Software Design", published by Gijutsu-Hyoron Co., Ltd., features CPUs. I helped out with it a little this time. Overall, it starts with basic CPU topics, then moves on to CPUs starting from logic operations, ISAs,…
LiteX is an integrated environment for semi-automatically generating SoCs, and the SoC generation environment for my own CPU also uses LiteX. github.com There is not much information about the FPGA synthesis environment in LiteX, so I'd li…
This is just a simple note. The performance of my own CPU had dropped, and I was wondering what was wrong, but it seems there was an implementation mistake from the start. There was a logic error in the GShare implementation, so I fixed it…
LiteX is an integrated environment for semi-automatically generating SoCs, and the SoC generation environment for my own CPU also uses LiteX. github.com There is not much information about the FPGA synthesis environment in LiteX, so I'd li…
I run the simulation environment for my own CPU either locally or on a powerful remote server. The powerful servers often lack the required tools, so I built a Docker environment and run things there. However, the simulation script and the…
I'm working on changing the structure of the Issue Unit. Until now the Issue Unit used sequential allocation (a Cyclic Queue), and I'm changing it to a queue where entries can be allocated and freed anywhere. While thinking through the cha…
For RISC-V ISA extensions, the string such as RV64IMAFDC determines which instructions are supported. For example, RV64IMAFDC supports the atomic instructions ("A"), but RV64IMFDC does not. To make this distinction, I added "isa_ext" infor…
I am working on changing the structure of the Issue Unit. Until now the Issue Unit used sequential allocation (a Cyclic Queue), and I am changing it to a queue where entries can be allocated and released from anywhere. At first I simply pi…
I am deciphering the structure of the BOOMv3 Issue Unit to help improve the performance of my own CPU. https://github.com/riscv-boom/riscv-boom/blob/master/src/main/scala/exu/issue-units/issue-unit.scalagithub.com Let's look at the structu…
After reading various papers, I am summarizing the different approaches to CPU instruction scheduling mechanisms. Scheduler: Sits between the front-end pipeline and the back-end pipeline, and is responsible for issuing instructions Wakeup …
I am deciphering the structure of the BOOMv3 Issue Unit to help improve the performance of my own CPU. https://github.com/riscv-boom/riscv-boom/blob/master/src/main/scala/exu/issue-units/issue-unit.scalagithub.com There seem to be several …
I want to compare the synthesis results of BOOM and my own CPU and investigate the parts that are bottlenecks. The instruction buffer has ended up as a fully CAM-based structure, and I want to improve it. I will introduce a RingFIFO and ch…
I am deciphering the structure of the BOOMv3 LSU to help improve the performance of my own CPU. https://github.com/riscv-boom/riscv-boom/blob/master/src/main/scala/lsu/lsu.scalagithub.com Connections between the LSU and other modules. Ther…