Hi Julius:

In order to run the or1ksim test suite against ORPSoCV2, I wanted to support these 2 NOP codes:

   NOP_GET_TICKS      /* JPB: Get # ticks running */
   NOP_GET_PS         /* JPB: Get picosecs/cycle */

At least one test case (dhry) uses them. This is the related SystemC code for NOP_GET_TICKS:

  accessor->setGpr(11, (uint32_t) cycle_count&0xffffffff);
  accessor->setGpr(12, (uint32_t) (cycle_count >> 32) & 0xffffffff);

What is the best way to access that kind of information in ORPSoCV2's Verilog test bench? Does the test bench maintain the number of clock ticks somewhere?

Thanks,
  Ruben
_______________________________________________
OpenRISC mailing list
[email protected]
http://lists.openrisc.net/listinfo/openrisc

Reply via email to