Project

General

Profile

Actions

Task #6308

closed

Link between ISA specs and MMU specs

Added by Alexander Kamkin about 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
High
Assignee:
Andrei Tatarnikov
Category:
MMU Plugin
Target version:
Start date:
10/06/2015
Due date:
10/09/2015
% Done:

100%

Estimated time:
Detected in build:
svn
Published in build:
2.3.6

Description

There should be possibility to access registers specified in nML.
Syntax to be discussed.

Actions #1

Updated by Andrei Tatarnikov about 9 years ago

  • Status changed from New to Open
  • % Done changed from 0 to 10

Grammar rules: r5275.

Syntax looks like this:

let ZERO = 0

// Data is read from a register directly
extern EXTERN_0 = GPR[ZERO]
extern EXTERN_1 = GPR[1]

// Data is read using an addressing mode
extern EXTERN_2 = REG(ZERO)
extern EXTERN_3 = REG(1)
Actions #2

Updated by Andrei Tatarnikov about 9 years ago

r5328 - MmuTreeWalker: stub for newExtern
r5335, r5336 r5339 - Sharing data between translators (via TranslatorContext)
r5340 - Started support in MmuTranslator
r5344, r5345 - simulator class to access external variables
r5348 - External variables are integrated into IR

Actions #3

Updated by Andrei Tatarnikov about 9 years ago

  • % Done changed from 10 to 30
Actions #4

Updated by Andrei Tatarnikov about 9 years ago

  • % Done changed from 30 to 50

r5350, r5351 - MMU Model: Support for extern variables in simulator

Actions #5

Updated by Andrei Tatarnikov about 9 years ago

  • % Done changed from 50 to 60

r5354 - MMU Spec: basic support, REQUIRES FIXES.
r5355 - IntegerVariable was made redefinable.
r5356 - MmuExternVariable: FIX to make it possible for value to be updated.
r5357 = (Fix) STBSegment: external variables are placed into Function.

Actions #6

Updated by Andrei Tatarnikov about 9 years ago

  • Status changed from Open to Resolved
  • % Done changed from 60 to 100

Done, but needs testing.

Actions #7

Updated by Andrei Tatarnikov about 9 years ago

  • Status changed from Resolved to Closed
  • Published in build set to 2.3.6
Actions

Also available in: Atom PDF