This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

What happens to the pipeline of CLA when softreset?

Expert 2710 points

What happens to the pipeline of CLA when softreset? Is it emptied or will the CLA run the commands still in pipeline after softreset command?

  • JHi said:

    What happens to the pipeline of CLA when softreset? Is it emptied or will the CLA run the commands still in pipeline after softreset command?

    If a task is executing it will halt and the associated MIRUN bit will be cleared. All bits within the interrupt enable (MIER) register will also be cleared so that no new tasks start.

  • Lori Heustess said:

    If a task is executing it will halt and the associated MIRUN bit will be cleared. All bits within the interrupt enable (MIER) register will also be cleared so that no new tasks start.

    Yes I know this because this reads in CLA manual, but when I start CLA again in next few cycles are the old commands still in the pipeline or is it empty?

  • JHi said:

    If a task is executing it will halt and the associated MIRUN bit will be cleared. All bits within the interrupt enable (MIER) register will also be cleared so that no new tasks start.

    Yes I know this because this reads in CLA manual, but when I start CLA again in next few cycles are the old commands still in the pipeline or is it empty?

    [/quote]

    Any instruction in the F1, F2, D1 or D2 phases of the pipeline will be dropped.  Everything else completes before the halt.  When you start a new task the fetch begins new.

    I'll make note that this information should be added to the ref guide.

    Regards,

    Lori