Project

General

Profile

Actions

Feature #9774

closed

Case expression/value type casting

Added by Mikhail Lebedev over 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
High
Assignee:
Target version:
Start date:
07/26/2019
Due date:
% Done:

100%

Estimated time:
Published in build:
0.1.2-beta-190909

Description

There can be a situation when an expression in a case and its possible values have different types. For example, vcegar/zaher/zdlx_impl.v_for_pred.v :

...
wire [7:0] concat_rep50_3;
...
wire [7:0] concat_rep50_4;
...
case (ID_EX_EXCTRL[4:3])
  concat_rep50_3:
    ALUCtrl =  3'b010;
  concat_rep50_4:
    ALUCtrl =  0;
endcase

This situation may lead to an incompatible types error in some tools. Type casting should be performed.

Actions #1

Updated by Sergey Smolov over 5 years ago

  • Target version set to 0.1
Actions #2

Updated by Sergey Smolov over 5 years ago

  • Status changed from New to Open
Actions #3

Updated by Sergey Smolov over 5 years ago

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

Fixed in b73ba05f

Actions #4

Updated by Sergey Smolov about 5 years ago

  • Status changed from Resolved to Verified
Actions #5

Updated by Sergey Smolov about 5 years ago

  • Status changed from Verified to Closed
  • Published in build set to 0.1.2-beta-190909
Actions

Also available in: Atom PDF