Sunflower Full-System Hardware Emulator and Physical System Simulator for Sensor-Driven Systems. Built-in architecture modeling of Hitachi SH (j-core), RISC-V, and more.
The constants in the enum should be named based on the coding conventions (e.g., kSunflowerInstructionLatencyIndexIF) to make their use left confusing, since the pipeline structure (P) also has fields called IF, ID, etc.)
The constants in the enum should be named based on the coding conventions (e.g.,
kSunflowerInstructionLatencyIndexIF
) to make their use left confusing, since the pipeline structure (P
) also has fields calledIF
,ID
, etc.)https://github.com/physical-computation/sunflower-simulator/blob/e414503efde31eeec176b375a8522353f14d2165/sim/mextern.h#L46