Project

General

Profile

Task #6308

Link between ISA specs and MMU specs

Added by Alexander Kamkin over 4 years ago. Updated over 4 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.

History

#1

Updated by Andrei Tatarnikov over 4 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)
#2

Updated by Andrei Tatarnikov over 4 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

#3

Updated by Andrei Tatarnikov over 4 years ago

  • % Done changed from 10 to 30
#4

Updated by Andrei Tatarnikov over 4 years ago

  • % Done changed from 30 to 50

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

#5

Updated by Andrei Tatarnikov over 4 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.

#6

Updated by Andrei Tatarnikov over 4 years ago

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

Done, but needs testing.

#7

Updated by Andrei Tatarnikov over 4 years ago

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

Also available in: Atom PDF