Project

General

Profile

Bug #4672

[expression] Исчезла поддержка некоторых операций

Added by Alexander Kamkin almost 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
High
Assignee:
Andrei Tatarnikov
Category:
-
Target version:
Start date:
01/20/2014
Due date:
% Done:

100%

Estimated time:
Detected in build:
svn
Platform:
Published in build:
140708

Description

  1. CustomOperation.BVANDR
  2. CustomOperation.BVNANDR
  3. CustomOperation.BVORR
  4. CustomOperation.BVNORR
  5. CustomOperation.BVXORR
  6. CustomOperation.BVXNORR

History

#1

Updated by Andrei Tatarnikov almost 7 years ago

А что эти операции должны делать? Семантика?

#2

Updated by Sergey Smolov over 6 years ago

Выдержка из стандарта языка Verilog 2005:

The unary reduction operators shall perform a bitwise operation on a single operand to produce a single-bit
result. For reduction and, reduction or, and reduction xor operators, the first step of the operation shall apply
the operator between the first bit of the operand and the second.
The second and subsequent steps shall apply the operator between the 1-bit result of the prior step and the
next bit of the operand using the same logic table. For reduction nand, reduction nor, and reduction xnor
operators, the result shall be computed by inverting the result of the reduction and, reduction or, and
reduction xor operation, respectively.

#3

Updated by Andrei Tatarnikov over 6 years ago

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

Идентификаторы для данных операций были добавлены в r355. Реализация будет чуть позже.

#4

Updated by Andrei Tatarnikov over 6 years ago

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

Реализация всех указанных операций есть в r381. Также для данной функциональности создан юнит-тест ReductionCustomOperationsTestCase.

#5

Updated by Andrei Tatarnikov over 6 years ago

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

Also available in: Atom PDF