Skip to content

Commit

Permalink
fix: files affected by 'length' being renamed to 'len'
Browse files Browse the repository at this point in the history
  • Loading branch information
umarcor committed Apr 25, 2019
1 parent 2a50af8 commit 4227e70
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions vunit/vhdl/logging/src/file_pkg.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ end package;

package body file_pkg is

constant next_id : integer_vector_ptr_t := new_integer_vector_ptr(length => 1, value => 0);
constant next_id : integer_vector_ptr_t := new_integer_vector_ptr(len => 1, value => 0);

constant id_idx : natural := 0;
constant open_idx : natural := 1;
Expand Down Expand Up @@ -153,7 +153,7 @@ package body file_pkg is
id := get(next_id, 0);
set(next_id, 0, id + 1);

file_id.p_data := new_integer_vector_ptr(length => file_id_length);
file_id.p_data := new_integer_vector_ptr(len => file_id_length);
set(file_id.p_data, id_idx, id);
set(file_id.p_data, name_idx, to_integer(new_string_ptr(file_name)));
else
Expand Down
2 changes: 1 addition & 1 deletion vunit/vhdl/logging/src/logger_pkg-body.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ package body logger_pkg is

if log_level_filter = null_ptr then
-- Only show valid log levels by default
log_level_filter := new_integer_vector_ptr(length => n_log_levels, value => log_level_invisible);
log_level_filter := new_integer_vector_ptr(len => n_log_levels, value => log_level_invisible);
for log_level in log_level_t'low to log_level_t'high loop
if is_valid(log_level) then
set(log_level_filter, log_level_t'pos(log_level), log_level_visible);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ package body axi_slave_private_pkg is
p_axi_slave_type := axi_slave_type;
p_data_size := data'length/8;
p_max_id := max_id;
p_id_indexes := new_integer_vector_ptr(length => max_id+1, value => 0);
p_id_indexes := new_integer_vector_ptr(len => max_id+1, value => 0);
p_burst_queue_max_length := axi_slave.p_initial_address_fifo_depth;
p_burst_queue := new_queue;
p_burst_queue_length := 0;
Expand Down

0 comments on commit 4227e70

Please sign in to comment.