Closed
Description
Expected Behaviour
When a new VNumber is created using a copy constructor with a new length, the defined_size
value should set to true
.
Current Behaviour
A new VNumber is created with a new size while the defined_size
is false.
Possible Solution
Creating a new VNumber using copy constructor with a new length, the defined_size
should set to true
.
Steps to Reproduce
- Run Odin_II with the following test case:
${VTR_ROOT}/ODIN_II/odin_ii -V
minus_operator.v
Context
Your Environment
- VTR revision used: 8.1.0-dev+00617ff76
- Operating System and version: 20.04.1-Ubuntu SMP
- Compiler version: GNU 9.3.0 on Linux-5.8.0-53-generic x86_64