vhdlpp: Fixed the range boundaries order.
This commit is contained in:
parent
2e9c3555cb
commit
96a0a84e6c
|
|
@ -265,8 +265,8 @@ void VTypeArray::evaluate_ranges(ScopeBase*scope) {
|
|||
}
|
||||
}
|
||||
|
||||
VTypeRange::VTypeRange(const VType*base, int64_t end_val, int64_t start_val)
|
||||
: base_(base), end_(end_val), start_(start_val)
|
||||
VTypeRange::VTypeRange(const VType*base, int64_t start_val, int64_t end_val)
|
||||
: base_(base), start_(start_val), end_(end_val)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -283,7 +283,7 @@ class VTypeRange : public VType {
|
|||
|
||||
private:
|
||||
const VType*base_;
|
||||
int64_t end_, start_;
|
||||
int64_t start_, end_;
|
||||
};
|
||||
|
||||
class VTypeEnum : public VType {
|
||||
|
|
|
|||
Loading…
Reference in New Issue