@@ -98,11 +98,11 @@ package body bus_master_pkg is
9898 write_bus(net, bus_handle, to_address(bus_handle, address), data, byte_enable);
9999 end ;
100100
101- procedure write_bus (signal net : inout network_t;
101+ procedure burst_write_bus (signal net : inout network_t;
102102 constant bus_handle : bus_master_t;
103103 constant address : std_logic_vector ;
104104 constant burst_length : positive ;
105- constant burstdata : queue_t) is
105+ constant data : 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' );
@@ -111,19 +111,19 @@ package body bus_master_pkg is
111111 push_std_ulogic_vector(request_msg, full_address);
112112 push_integer(request_msg, burst_length);
113113 for i in 0 to burst_length- 1 loop
114- full_data(bus_handle.p_data_length- 1 downto 0 ) := pop(burstdata );
114+ full_data(bus_handle.p_data_length- 1 downto 0 ) := pop(data );
115115 push_std_ulogic_vector(request_msg, full_data);
116116 end loop ;
117117 send(net, bus_handle.p_actor, request_msg);
118118 end procedure ;
119119
120- procedure write_bus (signal net : inout network_t;
120+ procedure burst_write_bus (signal net : inout network_t;
121121 constant bus_handle : bus_master_t;
122122 constant address : natural ;
123123 constant burst_length : positive ;
124- constant burstdata : queue_t) is
124+ constant data : queue_t) is
125125 begin
126- write_bus (net, bus_handle, to_address(bus_handle, address), burst_length, burstdata );
126+ burst_write_bus (net, bus_handle, to_address(bus_handle, address), burst_length, data );
127127 end procedure ;
128128
129129 procedure check_bus(signal net : inout network_t;
@@ -188,7 +188,7 @@ package body bus_master_pkg is
188188 read_bus(net, bus_handle, to_address(bus_handle, address), reference);
189189 end ;
190190
191- procedure read_bus (signal net : inout network_t;
191+ procedure burst_read_bus (signal net : inout network_t;
192192 constant bus_handle : bus_master_t;
193193 constant address : std_logic_vector ;
194194 constant burst_length : positive ;
@@ -203,13 +203,13 @@ package body bus_master_pkg is
203203 send(net, bus_handle.p_actor, request_msg);
204204 end procedure ;
205205
206- procedure read_bus (signal net : inout network_t;
206+ procedure burst_read_bus (signal net : inout network_t;
207207 constant bus_handle : bus_master_t;
208208 constant address : natural ;
209209 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), burst_length, reference);
212+ burst_read_bus (net, bus_handle, to_address(bus_handle, address), burst_length, reference);
213213 end procedure ;
214214
215215 -- Await read bus reply
@@ -225,20 +225,20 @@ package body bus_master_pkg is
225225 delete(reply_msg);
226226 end procedure ;
227227
228- procedure await_read_bus_reply (signal net : inout network_t;
228+ procedure await_burst_read_bus_reply (signal net : inout network_t;
229229 constant bus_handle : bus_master_t;
230- constant burstdata : queue_t;
230+ constant data : queue_t;
231231 variable reference : inout bus_reference_t) is
232232 variable reply_msg : msg_t;
233233 alias request_msg : msg_t is reference;
234- variable data : std_logic_vector (bus_handle.p_data_length- 1 downto 0 );
234+ variable d : std_logic_vector (bus_handle.p_data_length- 1 downto 0 );
235235 variable burst_length : positive ;
236236 begin
237237 receive_reply(net, request_msg, reply_msg);
238238 burst_length := pop_integer(reply_msg);
239239 for i in 0 to burst_length- 1 loop
240- data := pop_std_ulogic_vector(reply_msg)(data 'range );
241- push(burstdata, data );
240+ d := pop_std_ulogic_vector(reply_msg)(d 'range );
241+ push(data, d );
242242 end loop ;
243243 delete(request_msg);
244244 delete(reply_msg);
@@ -264,24 +264,24 @@ package body bus_master_pkg is
264264 read_bus(net, bus_handle, to_address(bus_handle, address), data);
265265 end ;
266266
267- procedure read_bus (signal net : inout network_t;
267+ procedure burst_read_bus (signal net : inout network_t;
268268 constant bus_handle : bus_master_t;
269269 constant address : std_logic_vector ;
270270 constant burst_length : positive ;
271- constant burstdata : queue_t) is
271+ constant data : queue_t) is
272272 variable reference : bus_reference_t;
273273 begin
274- read_bus (net, bus_handle, address, burst_length, reference);
275- await_read_bus_reply (net, bus_handle, burstdata , reference);
274+ burst_read_bus (net, bus_handle, address, burst_length, reference);
275+ await_burst_read_bus_reply (net, bus_handle, data , reference);
276276 end procedure ;
277277
278- procedure read_bus (signal net : inout network_t;
278+ procedure burst_read_bus (signal net : inout network_t;
279279 constant bus_handle : bus_master_t;
280280 constant address : natural ;
281281 constant burst_length : positive ;
282- constant burstdata : queue_t) is
282+ constant data : queue_t) is
283283 begin
284- read_bus (net, bus_handle, to_address(bus_handle, address), burst_length, burstdata );
284+ burst_read_bus (net, bus_handle, to_address(bus_handle, address), burst_length, data );
285285 end procedure ;
286286
287287 procedure wait_until_read_equals(
0 commit comments