Skip to content

Commit bad38bc

Browse files
committed
style(comp): fix VHDL coding style according to VSG
1 parent 536f61a commit bad38bc

27 files changed

Lines changed: 50 additions & 50 deletions

File tree

comp/base/buffers/top/fifo2nfifo.vhd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ begin
268268

269269
write_allow <= WRITE and (not sig_full(conv_integer(BLOCK_ADDR)));
270270
write_addr <= (BLOCK_ADDR & reg_write_addr(conv_integer(BLOCK_ADDR))(ADDR_RANGE))
271-
- addr_fix(conv_integer(BLOCK_ADDR));
271+
- addr_fix(conv_integer(BLOCK_ADDR));
272272

273273
-- block write allow signal
274274
more_flows_field : for j in 0 to FLOWS-1 generate

comp/base/buffers/top/nfifo2fifo.vhd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ begin
244244

245245
read_allow <= READ and PIPE_EN and (not blk_empty(conv_integer(BLOCK_ADDR)));
246246
read_addr <= (BLOCK_ADDR & reg_read_addr(conv_integer(BLOCK_ADDR))(ADDR_RANGE))
247-
- addr_fix(conv_integer(BLOCK_ADDR));
247+
- addr_fix(conv_integer(BLOCK_ADDR));
248248

249249
-- block read allow signal
250250
more_flows_field : for j in 0 to FLOWS-1 generate

comp/base/fifo/asfifo/asfifo.vhd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ begin
121121
--! when reading and both the memory and the output registers are not empty OR
122122
--! when the memory is not empty while the output registers are empty
123123
read_allow <= (RD and NOT empty_signal and NOT reg_empty) or
124-
(NOT empty_signal and reg_empty);
124+
(NOT empty_signal and reg_empty);
125125

126126
FULL <= full_signal;
127127

comp/base/misc/crossbarx/comp/uinstr_splitter/uinstr_splitter.vhd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ begin
150150

151151
-- Buffer B address of last item of the uInstruction
152152
rx_uinstr_b_last_item <= (unsigned(RX_UINSTR_B_COL) & unsigned(RX_UINSTR_B_ITEM))
153-
+resize(unsigned(RX_UINSTR_LEN),log2(BUF_B_COLS*BUF_B_ROWS*ROW_ITEMS))
154-
-1;
153+
+resize(unsigned(RX_UINSTR_LEN),log2(BUF_B_COLS*BUF_B_ROWS*ROW_ITEMS))
154+
-1;
155155

156156
-----------------------------------------------------------------------
157157

comp/mfb_tools/edit/frame_extender/mfb_frame_extender_datamover.vhd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,8 @@ begin
214214

215215
-- control of packet template destination ready
216216
RX_CTRL_DST_RDY <= (TX_MFB_DST_RDY and RX_CTRL_INSERT_VLD and s_fifox_rdy) or
217-
(TX_MFB_DST_RDY and not RX_CTRL_INSERT_VLD) or
218-
(not RX_CTRL_SRC_RDY);
217+
(TX_MFB_DST_RDY and not RX_CTRL_INSERT_VLD) or
218+
(not RX_CTRL_SRC_RDY);
219219

220220
-- control of payload accept
221221
s_last_addr <= unsigned(RX_CTRL_INSERT_MOVE(REGIONS*REGION_SIZE-1));
@@ -224,7 +224,7 @@ begin
224224

225225
-- control of output source ready
226226
s_src_rdy <= (RX_CTRL_SRC_RDY and RX_CTRL_INSERT_VLD and s_fifox_rdy) or
227-
(RX_CTRL_SRC_RDY and not RX_CTRL_INSERT_VLD);
227+
(RX_CTRL_SRC_RDY and not RX_CTRL_INSERT_VLD);
228228

229229
-- =========================================================================
230230
-- 0. REGISTER STAGE

comp/mfb_tools/flow/binder/mfb_binder_input.vhd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,8 +290,8 @@ begin
290290
-- Checks present incomplete frames
291291
incomplete_frame_g : for r in 0 to REGIONS-1 generate
292292
s_inc_frame(r+1) <= (s_mfb_fifo_sof(r) and not s_mfb_fifo_eof(r) and not s_inc_frame(r)) or
293-
(s_mfb_fifo_sof(r) and s_mfb_fifo_eof(r) and s_inc_frame(r)) or
294-
(not s_mfb_fifo_sof(r) and not s_mfb_fifo_eof(r) and s_inc_frame(r));
293+
(s_mfb_fifo_sof(r) and s_mfb_fifo_eof(r) and s_inc_frame(r)) or
294+
(not s_mfb_fifo_sof(r) and not s_mfb_fifo_eof(r) and s_inc_frame(r));
295295
end generate;
296296

297297
-- INCOMPLETE FRAME

comp/mfb_tools/flow/cutter_simple/mfb_cutter_simple.vhd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,8 +293,8 @@ begin
293293

294294
inc_frame_g : for r in 0 to REGIONS-1 generate
295295
s_inc_frame(r+1) <= (s_rx_sof_reg(r) and not s_new_eof_reg_fix(r) and not s_inc_frame(r)) or
296-
(s_rx_sof_reg(r) and s_new_eof_reg_fix(r) and s_inc_frame(r)) or
297-
(not s_rx_sof_reg(r) and not s_new_eof_reg_fix(r) and s_inc_frame(r));
296+
(s_rx_sof_reg(r) and s_new_eof_reg_fix(r) and s_inc_frame(r)) or
297+
(not s_rx_sof_reg(r) and not s_new_eof_reg_fix(r) and s_inc_frame(r));
298298
end generate;
299299

300300
inc_frame_last_reg_p : process (CLK)

comp/mfb_tools/flow/dropper/mfb_dropper.vhd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ begin
133133

134134
inc_pkt_g : for r in 0 to REGIONS-1 generate
135135
s_inc_pkt(r+1) <= (s_sof(r) and not s_eof(r) and not s_inc_pkt(r)) or
136-
(s_sof(r) and s_eof(r) and s_inc_pkt(r)) or
137-
(not s_sof(r) and not s_eof(r) and s_inc_pkt(r));
136+
(s_sof(r) and s_eof(r) and s_inc_pkt(r)) or
137+
(not s_sof(r) and not s_eof(r) and s_inc_pkt(r));
138138
end generate;
139139

140140
inc_pkt_reg_p : process (CLK)

comp/mfb_tools/flow/enabler/enabler.vhd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ begin
255255
begin
256256
for r in 0 to REGIONS-1 loop
257257
s_discarded_frame(r) <= (RX_EOF(r) and not s_eof_fsm(r) and s_valid and not RESET) or
258-
(RX_EOF(r) and RX_SRC_RDY and not s_valid and not RESET);
258+
(RX_EOF(r) and RX_SRC_RDY and not s_valid and not RESET);
259259
end loop;
260260
end process;
261261

comp/mfb_tools/flow/frame_packer/fp_dropper.vhd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ begin
122122

123123
inc_pkt_g : for r in 0 to REGIONS-1 generate
124124
s_inc_pkt(r+1) <= (s_sof(r) and not s_eof(r) and not s_inc_pkt(r)) or
125-
(s_sof(r) and s_eof(r) and s_inc_pkt(r)) or
126-
(not s_sof(r) and not s_eof(r) and s_inc_pkt(r));
125+
(s_sof(r) and s_eof(r) and s_inc_pkt(r)) or
126+
(not s_sof(r) and not s_eof(r) and s_inc_pkt(r));
127127
end generate;
128128

129129
-- Remove register

0 commit comments

Comments
 (0)