Skip to content

Commit

Permalink
Tentative solution to issue ArchC#45: ArchC#45
Browse files Browse the repository at this point in the history
"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.
  • Loading branch information
rjazevedo authored and maxiwell committed May 5, 2017
1 parent 77313fa commit f0b697c
Showing 1 changed file with 374 additions and 363 deletions.
Loading

0 comments on commit f0b697c

Please sign in to comment.