@@ -101,16 +101,16 @@ package body bus_master_pkg is
101101 procedure write_bus(signal net : inout network_t;
102102 constant bus_handle : bus_master_t;
103103 constant address : std_logic_vector ;
104- constant burstsize : positive ;
104+ constant burst_length : positive ;
105105 constant burstdata : queue_t) is
106106 variable request_msg : msg_t := new_msg(bus_burst_write_msg);
107107 variable full_address : std_logic_vector (bus_handle.p_address_length- 1 downto 0 ) := (others => '0' );
108108 variable full_data : std_logic_vector (bus_handle.p_data_length- 1 downto 0 ) := (others => '0' );
109109 begin
110110 full_address(address'length - 1 downto 0 ) := address;
111111 push_std_ulogic_vector(request_msg, full_address);
112- push_integer(request_msg, burstsize );
113- for i in 0 to burstsize - 1 loop
112+ push_integer(request_msg, burst_length );
113+ for i in 0 to burst_length - 1 loop
114114 full_data(bus_handle.p_data_length- 1 downto 0 ) := pop(burstdata);
115115 push_std_ulogic_vector(request_msg, full_data);
116116 end loop ;
@@ -120,10 +120,10 @@ package body bus_master_pkg is
120120 procedure write_bus(signal net : inout network_t;
121121 constant bus_handle : bus_master_t;
122122 constant address : natural ;
123- constant burstsize : positive ;
123+ constant burst_length : positive ;
124124 constant burstdata : queue_t) is
125125 begin
126- write_bus(net, bus_handle, to_address(bus_handle, address), burstsize , burstdata);
126+ write_bus(net, bus_handle, to_address(bus_handle, address), burst_length , burstdata);
127127 end procedure ;
128128
129129 procedure check_bus(signal net : inout network_t;
@@ -191,25 +191,25 @@ package body bus_master_pkg is
191191 procedure read_bus(signal net : inout network_t;
192192 constant bus_handle : bus_master_t;
193193 constant address : std_logic_vector ;
194- constant burstsize : positive ;
194+ constant burst_length : positive ;
195195 variable reference : inout bus_reference_t) is
196196 variable full_address : std_logic_vector (bus_handle.p_address_length- 1 downto 0 ) := (others => '0' );
197197 alias request_msg : msg_t is reference;
198198 begin
199199 request_msg := new_msg(bus_burst_read_msg);
200200 full_address(address'length - 1 downto 0 ) := address;
201201 push_std_ulogic_vector(request_msg, full_address);
202- push_integer(request_msg, burstsize );
202+ push_integer(request_msg, burst_length );
203203 send(net, bus_handle.p_actor, request_msg);
204204 end procedure ;
205205
206206 procedure read_bus(signal net : inout network_t;
207207 constant bus_handle : bus_master_t;
208208 constant address : natural ;
209- constant burstsize : positive ;
209+ constant burst_length : positive ;
210210 variable reference : inout bus_reference_t) is
211211 begin
212- read_bus(net, bus_handle, to_address(bus_handle, address), burstsize , reference);
212+ read_bus(net, bus_handle, to_address(bus_handle, address), burst_length , reference);
213213 end procedure ;
214214
215215 -- Await read bus reply
@@ -232,11 +232,11 @@ package body bus_master_pkg is
232232 variable reply_msg : msg_t;
233233 alias request_msg : msg_t is reference;
234234 variable data : std_logic_vector (bus_handle.p_data_length- 1 downto 0 );
235- variable burstsize : positive ;
235+ variable burst_length : positive ;
236236 begin
237237 receive_reply(net, request_msg, reply_msg);
238- burstsize := pop_integer(reply_msg);
239- for i in 0 to burstsize - 1 loop
238+ burst_length := pop_integer(reply_msg);
239+ for i in 0 to burst_length - 1 loop
240240 data := pop_std_ulogic_vector(reply_msg)(data'range );
241241 push(burstdata, data);
242242 end loop ;
@@ -267,21 +267,21 @@ package body bus_master_pkg is
267267 procedure read_bus(signal net : inout network_t;
268268 constant bus_handle : bus_master_t;
269269 constant address : std_logic_vector ;
270- constant burstsize : positive ;
270+ constant burst_length : positive ;
271271 constant burstdata : queue_t) is
272272 variable reference : bus_reference_t;
273273 begin
274- read_bus(net, bus_handle, address, burstsize , reference);
274+ read_bus(net, bus_handle, address, burst_length , reference);
275275 await_read_bus_reply(net, bus_handle, burstdata, reference);
276276 end procedure ;
277277
278278 procedure read_bus(signal net : inout network_t;
279279 constant bus_handle : bus_master_t;
280280 constant address : natural ;
281- constant burstsize : positive ;
281+ constant burst_length : positive ;
282282 constant burstdata : queue_t) is
283283 begin
284- read_bus(net, bus_handle, to_address(bus_handle, address), burstsize , burstdata);
284+ read_bus(net, bus_handle, to_address(bus_handle, address), burst_length , burstdata);
285285 end procedure ;
286286
287287 procedure wait_until_read_equals(
0 commit comments