Skip to content
Preston Brazzle edited this page Nov 30, 2023 · 4 revisions

Building RTSim

TODO

Running RTSim

Trace Format (9/14)

The format for every trace line in RTSim is as follows:

[Cycle] [Opcode] [Address1] [Opcode2] [Address2] [Data...] [Thread]

Cycle

The issue cycle of the operation.

Opcode

The opcode determines what base operation the trace line represents. The following values are valid opcodes:

  • R (Read)
  • W (Write)
  • P (PIM)
  • T (Transverse Write)
  • S (Shift)

Address1

The address is a 64 bit hex value representing the main address of the operation. In general, addresses are by row. It is interpreted differently depending on the opcode.

  • R: Read address
  • W: Write address
  • P: Base transverse read address, row clone source address
  • T: Write address
  • S: Shift address

Opcode2

Opcode2 gives some additional information to the P, T, and S opcodes:

  • P: AND, OR, XOR, RC (RowClone)
  • T: Write direction, write length
  • S: Shift direction, shift length

Address2

Address2 represents the secondary address for P operations:

  • P: RowClone or PIM destination

Data

The expected data for the operation. In the case of reads and writes, this is a single 512 bit hex value denoting the read or write data respectively. For transverse read operations, the data is [Trd] values that denote the values in each row.

Thread

The thread id of the instruction. This value does not currently have a purpose.

Configuration File Format

TODO

RTSim Usage

TODO

Clone this wiki locally