示例#1
0
    /**
     * @brief Calculates the value of ALUz.
     */
    public IEnumerator ComputeALUz()
    {
        ALU.ComputeZ();

        busSystem.StartTransferringData(BusControl.BUS_ROUTE.ALUZ_PSR);
        yield return(new WaitForSeconds(clock.GetSpeed()));

        ALU.SetPSR();
        busSystem.StopTransferringData(BusControl.BUS_ROUTE.ALUZ_PSR);
    }