forked from VUnit/vunit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix set call that Aldec simulator considers ambiguous
- Loading branch information
Showing
2 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
-- License, v. 2.0. If a copy of the MPL was not distributed with this file, | ||
-- You can obtain one at http://mozilla.org/MPL/2.0/. | ||
-- | ||
-- Copyright (c) 2014, Lars Asplund [email protected] | ||
-- Copyright (c) 2014-2015, Lars Asplund [email protected] | ||
|
||
-- @TODO add explicit check of csv string data | ||
use std.textio.all; | ||
|
@@ -112,8 +112,8 @@ begin | |
|
||
elsif run("Has set 2d") then | ||
arr.init_2d(width => 1, height => 2); | ||
arr.set(0, 0, value => 7); | ||
arr.set(0, 1, value => 11); | ||
arr.set(x => 0, y => 0, value => 7); | ||
arr.set(x => 0, y => 1, value => 11); | ||
|
||
elsif run("Test reshape") then | ||
arr.init(length => 1); | ||
|