# Copyright 2019-2020 Alain Dargelas
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#    http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Universal Hardware Data Model (UHDM) "assignment" formal description
 
- obj_def: assignment
  - extends: atomic_stmt
  - property: operator
    name: operator
    vpi: vpiOpType
    type: int32_t
    card: 1
  - property: blocking
    name: blocking
    vpi: vpiBlocking
    type: bool
    card: 1
  - group_ref: rhs
    name: rhs
    vpi: vpiRhs
    type: expr_interf_expr_group
    card: 1
  - class_ref: lhs
    name: lhs
    vpi: vpiLhs
    type: expr
    card: 1
  - obj_ref: delay_control
    name: delay control
    vpi: vpiDelayControl
    type: delay_control
    card: 1
  - obj_ref: event_control
    name: event control
    vpi: vpiEventControl
    type: event_control
    card: 1 
  - obj_ref: repeat_control
    name: repeat control
    vpi: vpiRepeatControl
    type: repeat_control
    card: 1