Entries from 2025-03-01 to 1 month
A note for my own work: here is a summary of how to build qemu-riscv64, which is needed to run SPEC2017. git clone https://github.com/qemu/qemu cd qemu git co v9.2.3 mkdir build cd build ../configure --target-list=riscv64-softmmu,riscv64-l…
I want to set up an environment where I can compile and run SPEC2017, a CPU benchmark suite. I'll figure it out as I go along: Preparing a Docker Environment To keep the environment isolated, I prepared a dedicated Docker environment: the …
Let me briefly summarize the memory dependency algorithm in a cycle-accurate simulator. Memory dependencies, such as ST A -> LD A, record dependencies between memory addresses and use them in the cycle calculation. github.com void MemoryDe…
developer.arm.com https://msyksphinz-en.hatenablog.com/entry/2025/03/05/040000msyksphinz-en.hatenablog.com Cache Stashing (continued) The DataPull Mechanism The DataPull mechanism is a way of implying a Read request through a Snoop respons…
developer.arm.com https://msyksphinz-en.hatenablog.com/entry/2025/03/05/040000msyksphinz-en.hatenablog.com Cache Stashing (continued) Transactions That Write Data When a Requester writes new data and the target needs to stash that data, it…
developer.arm.com https://msyksphinz-en.hatenablog.com/entry/2025/03/05/040000msyksphinz-en.hatenablog.com Cache Stashing Cache Stashing is a mechanism for installing data into a specific cache in the system. CHI-B introduced this feature …
developer.arm.com https://msyksphinz-en.hatenablog.com/entry/2025/03/05/040000msyksphinz-en.hatenablog.com DVM Operations Like ACE, CHI supports DVM (Distributed Virtual Memory) operations. A DVM Request carries operations that support the…
developer.arm.com https://msyksphinz-en.hatenablog.com/entry/2025/03/05/040000msyksphinz-en.hatenablog.com Endpoint Order and Request Order CHI transactions are ordered by Endpoint Order and Request Order: Endpoint Order maintains the orde…
developer.arm.com https://msyksphinz-en.hatenablog.com/entry/2025/03/05/040000msyksphinz-en.hatenablog.com Completion Acknowledgement CHI uses completion acknowledgements to maintain the order of the following transactions: Transactions is…
developer.arm.com https://msyksphinz-en.hatenablog.com/entry/2025/03/05/040000msyksphinz-en.hatenablog.com Transaction Flow WriteNoSnp Transaction Flow This section describes the flow of a WriteNoSnp transaction from Request Node 0 to Comp…
developer.arm.com https://msyksphinz-en.hatenablog.com/entry/2025/03/05/040000msyksphinz-en.hatenablog.com Transaction Flow A transaction is the set of messages that the system needs in order to complete a request issued by a node. Use of …
developer.arm.com https://msyksphinz-en.hatenablog.com/entry/2025/03/05/040000msyksphinz-en.hatenablog.com Transaction Flow A transaction is the set of messages that the system needs in order to complete a request issued by a node. Use of …
developer.arm.com https://msyksphinz-en.hatenablog.com/entry/2025/03/05/040000msyksphinz-en.hatenablog.com Flits All protocol messages are sent in the form of flits. A flit is a packetized collection of control fields and identifiers that …
developer.arm.com https://msyksphinz-en.hatenablog.com/entry/2025/03/05/040000msyksphinz-en.hatenablog.com System Address Map Every component in the system is assigned a unique node ID. CHI uses the System Address Map (SAM) to translate ph…
developer.arm.com https://msyksphinz-en.hatenablog.com/entry/2025/03/05/040000msyksphinz-en.hatenablog.com The Coherent Hub Interface (CHI) is an evolution of the ACE (AXI Coherency Extensions) protocol. CHI Protocol Basics: First, I summa…
developer.arm.com The Coherent Hub Interface (CHI) is an evolution of the ACE (AXI Coherency Extensions) protocol. This guide introduces the first three issues of the CHI protocol, gives a general overview of CHI, and describes some of its…
Continuing from the previous post. https://msyksphinz-en.hatenablog.com/entry/2025/03/01/040000msyksphinz-en.hatenablog.com developer.arm.com Next up is unaligned access. AXI allows a transaction to have an unaligned start address. By unal…
First, RERI stands for "RAS Error-record Register Interface". github.com 2.4 Error Record Registers 2.4.1. Control Register (control_i) This register is used to control error reporting by the corresponding error record of the error bank. e…
Continuing from the previous post. https://msyksphinz-en.hatenablog.com/entry/2025/03/01/040000msyksphinz-en.hatenablog.com developer.arm.com Next is the ordering of read transactions. Transactions on the R channel have no ordering restric…
Something caught my attention, so I have been reading an article about AXI ordering. developer.arm.com The article above explains things using a transaction timeline: For writes, A (A0-AL) is transferred and then B (B0, BL) is transferred.…