Bug #4672
closed
[expression] Исчезла поддержка некоторых операций
Added by Alexander Kamkin almost 11 years ago.
Updated over 10 years ago.
Assignee:
Andrei Tatarnikov
Published in build:
140708
Description
- CustomOperation.BVANDR
- CustomOperation.BVNANDR
- CustomOperation.BVORR
- CustomOperation.BVNORR
- CustomOperation.BVXORR
- CustomOperation.BVXNORR
А что эти операции должны делать? Семантика?
Выдержка из стандарта языка 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.
- Status changed from New to Open
- % Done changed from 0 to 20
Идентификаторы для данных операций были добавлены в r355. Реализация будет чуть позже.
- Status changed from Open to Resolved
- % Done changed from 20 to 100
Реализация всех указанных операций есть в r381. Также для данной функциональности создан юнит-тест ReductionCustomOperationsTestCase.
- Status changed from Resolved to Closed
- Published in build set to 140708
Also available in: Atom
PDF