Project

General

Profile

Actions

Feature #9455

open

Запись/Чтение в память в диапазоне <X..Y> (MEM[mem_index]<X..Y>)

Added by Alexander Protsenko about 5 years ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Category:
nML Translator
Target version:
Start date:
01/25/2019
Due date:
% Done:

0%

Estimated time:
Published in build:

Description

Хотелось бы иметь возможность записывать данные в память следующим образом:

      MEM[mem_index]<(tmp_bit_offset + 7)..tmp_bit_offset> = rs2<7..0>;

Сейчас это можно реализовать так:

      tmp_word = MEM[mem_index];
      tmp_word<(tmp_bit_offset + 7)..tmp_bit_offset> = rs2<7..0>;
      MEM[mem_index] = tmp_word;

Actions

Also available in: Atom PDF