Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

Number of clock ticks required by scheduler

I would like to know as to how to determine the number of clock ticks taken by the eCos scheduler itself for the NIOS II processor?

Is there a standard number or do we have to calculate it using the clock functions?

Thanks in advance.

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Following the eCos mailing list

    To run the tm_basic test, I compiled the tm_basic.cxx file separately.

    Thirst I builded the ecos library with nios2configtool

    Then I created a “tm_basic” application with the NIOSII IDE, I copied the tm_basic.cxx file and created the appropriate makefile then build & run.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi GLecordier,

    Thanks for your response about how to use tm_basic.

    I tried using the same method, I created a NIOS II IDE project incorporating the tm_basic.cxx file and downloaded it after downloading the NIOS II processor using Quartus II 5.0. However, I was not able to see any output on the console.

    Are there any other settings required to be done?

    Thanks in advance.