Skip to content

Commit 8a278b4

Browse files
committed
fix whitespace issues
1 parent 5f92e23 commit 8a278b4

5 files changed

Lines changed: 11 additions & 12 deletions

File tree

vunit/vhdl/verification_components/src/apb_master.vhd

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ begin
5757
PROC_MAIN: process
5858
variable request_msg : msg_t;
5959
variable msg_type : msg_type_t;
60-
begin
60+
begin
6161
DISPATCH_LOOP : loop
6262
receive(net, bus_handle.p_bus_handle.p_actor, request_msg);
6363
msg_type := message_type(request_msg);
@@ -133,16 +133,16 @@ begin
133133

134134
elsif msg_type = bus_read_msg then
135135
addr_this_transaction := pop_std_ulogic_vector(request_msg);
136-
136+
137137
psel_o <= '1';
138138
penable_o <= '0';
139139
pwrite_o <= '0';
140140
paddr_o <= addr_this_transaction;
141-
141+
142142
wait until rising_edge(clk);
143143
penable_o <= '1';
144144
wait until (pready_i and penable_o) = '1' and rising_edge(clk);
145-
145+
146146
reply_msg := new_msg;
147147
push_std_ulogic_vector(reply_msg, prdata_i);
148148
reply(net, request_msg, reply_msg);

vunit/vhdl/verification_components/src/apb_master_pkg.vhd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ package apb_master_pkg is
6666
constant bus_handle : apb_master_t;
6767
constant address : std_logic_vector;
6868
variable data : inout std_logic_vector);
69-
69+
7070
procedure read_bus(signal net : inout network_t;
7171
constant bus_handle : apb_master_t;
7272
constant address : natural;
@@ -78,7 +78,7 @@ package apb_master_pkg is
7878
constant address : std_logic_vector;
7979
constant expected : std_logic_vector;
8080
constant msg : string := "");
81-
81+
8282
procedure check_bus(signal net : inout network_t;
8383
constant bus_handle : apb_master_t;
8484
constant address : natural;
@@ -225,7 +225,7 @@ package body apb_master_pkg is
225225
begin
226226
check_bus(net, bus_handle.p_bus_handle, address, expected, msg);
227227
end procedure;
228-
228+
229229
-- Blocking: Wait until a read from address equals the value using
230230
-- std_match If timeout is reached error with msg
231231
procedure wait_until_read_equals(

vunit/vhdl/verification_components/src/apb_slave.vhd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ entity apb_slave is
3333
end entity;
3434

3535
architecture a of apb_slave is
36-
36+
3737
begin
3838

3939
PROC_MAIN: process
@@ -77,7 +77,7 @@ begin
7777

7878
if penable_i = '0' then
7979
failure(bus_handle.p_logger, "penable_i must be active in the ACCESS phase.");
80-
end if;
80+
end if;
8181
end loop;
8282
end process;
8383

vunit/vhdl/verification_components/src/apb_slave_pkg.vhd

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,5 +73,4 @@ package body apb_slave_pkg is
7373
p_ready_high_probability => ready_high_probability
7474
);
7575
end;
76-
7776
end package body;

vunit/vhdl/verification_components/test/tb_apb_master.vhd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ begin
137137

138138
U_DUT_MASTER: entity work.apb_master
139139
generic map (
140-
bus_handle => bus_handle
140+
bus_handle => bus_handle
141141
)
142142
port map (
143143
clk => clk,
@@ -153,7 +153,7 @@ begin
153153

154154
U_DUT_SLAVE: entity work.apb_slave
155155
generic map (
156-
bus_handle => slave_handle
156+
bus_handle => slave_handle
157157
)
158158
port map (
159159
clk => clk,

0 commit comments

Comments
 (0)