[ArchC/ArchC] f0b697: Tentative solution to issue #45: https://github.co...

8 views
Skip to first unread message

Rodolfo Azevedo

unread,
May 5, 2017, 9:19:23 AM5/5/17
to arch...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/ArchC/ArchC
Commit: f0b697c45484ee830a1da4566a316715143f94b6
https://github.com/ArchC/ArchC/commit/f0b697c45484ee830a1da4566a316715143f94b6
Author: Rodolfo Azevedo <rod...@ic.unicamp.br>
Date: 2017-05-05 (Fri, 05 May 2017)

Changed paths:
M src/acsim/acsim.c

Log Message:
-----------
Tentative solution to issue #45: https://github.com/ArchC/ArchC/issues/45
"id" register in the models must exist

I created a new ArchC register called ac_id and changed all generated code to use it instead of id. In this way, models do not need the id register and the processor id functionality continues to work.

The patch follows all ac_pc activity and create extra lines for ac_id. It also updates the interrupt handler to use ac_id instead of id.

For external use, the getId() method is still valid. So no change in non-ArchC code should be required.


Reply all
Reply to author
Forward
0 new messages