[][src]Module gf::mc::pipeline

CPU pipeline model.

We model the pipeline as consisting of three stages: fetch (FetchUnit), decode (DecodeUnit), and execute (ExecuteUnit). For each CPU step (i.e. attempt to execute one instruction bundle) the following happens:

Regardless of the individual stage outcomes, the next CPU step is restarted from the fetch stage.

Structs

Pipeline

Model pipeline.

TokenizerDecodeUnit

Tokenizer-based implementation of DecodeUnit.

Enums

DecodeError

Error returned from DecodeUnit.

Traits

DecodeUnit

A model implementation of a CPU decode unit.

ExecuteUnit

A model implementation of a CPU execute unit.

FetchUnit

A model implementation of a CPU fetch unit.