Skip to content

Commit

Permalink
axi_cut, axi_multicut: 🎨 Remove superfluous spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaskurth committed Dec 19, 2019
1 parent 44f15e7 commit fc0ed7a
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 36 deletions.
36 changes: 18 additions & 18 deletions src/axi_cut.sv
Original file line number Diff line number Diff line change
Expand Up @@ -177,18 +177,18 @@ module axi_cut_intf #(
// pragma translate_off
`ifndef VERILATOR
initial begin
assert ( ADDR_WIDTH > 0 ) else $fatal(1, "Wrong addr width parameter");
assert ( DATA_WIDTH > 0 ) else $fatal(1, "Wrong data width parameter");
assert ( ID_WIDTH > 0 ) else $fatal(1, "Wrong id width parameter");
assert ( USER_WIDTH > 0 ) else $fatal(1, "Wrong user width parameter");
assert ( in.AXI_ADDR_WIDTH == ADDR_WIDTH) else $fatal(1, "Wrong interface definition");
assert ( in.AXI_DATA_WIDTH == DATA_WIDTH) else $fatal(1, "Wrong interface definition");
assert ( in.AXI_ID_WIDTH == ID_WIDTH ) else $fatal(1, "Wrong interface definition");
assert ( in.AXI_USER_WIDTH == USER_WIDTH) else $fatal(1, "Wrong interface definition");
assert ( out.AXI_ADDR_WIDTH == ADDR_WIDTH) else $fatal(1, "Wrong interface definition");
assert ( out.AXI_DATA_WIDTH == DATA_WIDTH) else $fatal(1, "Wrong interface definition");
assert ( out.AXI_ID_WIDTH == ID_WIDTH ) else $fatal(1, "Wrong interface definition");
assert ( out.AXI_USER_WIDTH == USER_WIDTH) else $fatal(1, "Wrong interface definition");
assert (ADDR_WIDTH > 0) else $fatal(1, "Wrong addr width parameter");
assert (DATA_WIDTH > 0) else $fatal(1, "Wrong data width parameter");
assert (ID_WIDTH > 0) else $fatal(1, "Wrong id width parameter");
assert (USER_WIDTH > 0) else $fatal(1, "Wrong user width parameter");
assert (in.AXI_ADDR_WIDTH == ADDR_WIDTH) else $fatal(1, "Wrong interface definition");
assert (in.AXI_DATA_WIDTH == DATA_WIDTH) else $fatal(1, "Wrong interface definition");
assert (in.AXI_ID_WIDTH == ID_WIDTH) else $fatal(1, "Wrong interface definition");
assert (in.AXI_USER_WIDTH == USER_WIDTH) else $fatal(1, "Wrong interface definition");
assert (out.AXI_ADDR_WIDTH == ADDR_WIDTH) else $fatal(1, "Wrong interface definition");
assert (out.AXI_DATA_WIDTH == DATA_WIDTH) else $fatal(1, "Wrong interface definition");
assert (out.AXI_ID_WIDTH == ID_WIDTH) else $fatal(1, "Wrong interface definition");
assert (out.AXI_USER_WIDTH == USER_WIDTH) else $fatal(1, "Wrong interface definition");
end
`endif
// pragma translate_on
Expand Down Expand Up @@ -245,12 +245,12 @@ module axi_lite_cut_intf #(
// pragma translate_off
`ifndef VERILATOR
initial begin
assert ( ADDR_WIDTH > 0) else $fatal(1, "Wrong addr width parameter");
assert ( DATA_WIDTH > 0) else $fatal(1, "Wrong data width parameter");
assert ( in.AXI_ADDR_WIDTH == ADDR_WIDTH ) else $fatal(1, "Wrong interface definition");
assert ( in.AXI_DATA_WIDTH == DATA_WIDTH ) else $fatal(1, "Wrong interface definition");
assert ( out.AXI_ADDR_WIDTH == ADDR_WIDTH ) else $fatal(1, "Wrong interface definition");
assert ( out.AXI_DATA_WIDTH == DATA_WIDTH ) else $fatal(1, "Wrong interface definition");
assert (ADDR_WIDTH > 0) else $fatal(1, "Wrong addr width parameter");
assert (DATA_WIDTH > 0) else $fatal(1, "Wrong data width parameter");
assert (in.AXI_ADDR_WIDTH == ADDR_WIDTH) else $fatal(1, "Wrong interface definition");
assert (in.AXI_DATA_WIDTH == DATA_WIDTH) else $fatal(1, "Wrong interface definition");
assert (out.AXI_ADDR_WIDTH == ADDR_WIDTH) else $fatal(1, "Wrong interface definition");
assert (out.AXI_DATA_WIDTH == DATA_WIDTH) else $fatal(1, "Wrong interface definition");
end
`endif
// pragma translate_on
Expand Down
36 changes: 18 additions & 18 deletions src/axi_multicut.sv
Original file line number Diff line number Diff line change
Expand Up @@ -148,18 +148,18 @@ module axi_multicut_intf #(
// pragma translate_off
`ifndef VERILATOR
initial begin
assert ( ADDR_WIDTH > 0 ) else $fatal(1, "Wrong addr width parameter");
assert ( DATA_WIDTH > 0 ) else $fatal(1, "Wrong data width parameter");
assert ( ID_WIDTH > 0 ) else $fatal(1, "Wrong id width parameter");
assert ( USER_WIDTH > 0 ) else $fatal(1, "Wrong user width parameter");
assert ( in.AXI_ADDR_WIDTH == ADDR_WIDTH ) else $fatal(1, "Wrong interface definition");
assert ( in.AXI_DATA_WIDTH == DATA_WIDTH ) else $fatal(1, "Wrong interface definition");
assert ( in.AXI_ID_WIDTH == ID_WIDTH ) else $fatal(1, "Wrong interface definition");
assert ( in.AXI_USER_WIDTH == USER_WIDTH ) else $fatal(1, "Wrong interface definition");
assert ( out.AXI_ADDR_WIDTH == ADDR_WIDTH ) else $fatal(1, "Wrong interface definition");
assert ( out.AXI_DATA_WIDTH == DATA_WIDTH ) else $fatal(1, "Wrong interface definition");
assert ( out.AXI_ID_WIDTH == ID_WIDTH ) else $fatal(1, "Wrong interface definition");
assert ( out.AXI_USER_WIDTH == USER_WIDTH ) else $fatal(1, "Wrong interface definition");
assert (ADDR_WIDTH > 0) else $fatal(1, "Wrong addr width parameter");
assert (DATA_WIDTH > 0) else $fatal(1, "Wrong data width parameter");
assert (ID_WIDTH > 0) else $fatal(1, "Wrong id width parameter");
assert (USER_WIDTH > 0) else $fatal(1, "Wrong user width parameter");
assert (in.AXI_ADDR_WIDTH == ADDR_WIDTH) else $fatal(1, "Wrong interface definition");
assert (in.AXI_DATA_WIDTH == DATA_WIDTH) else $fatal(1, "Wrong interface definition");
assert (in.AXI_ID_WIDTH == ID_WIDTH) else $fatal(1, "Wrong interface definition");
assert (in.AXI_USER_WIDTH == USER_WIDTH) else $fatal(1, "Wrong interface definition");
assert (out.AXI_ADDR_WIDTH == ADDR_WIDTH) else $fatal(1, "Wrong interface definition");
assert (out.AXI_DATA_WIDTH == DATA_WIDTH) else $fatal(1, "Wrong interface definition");
assert (out.AXI_ID_WIDTH == ID_WIDTH) else $fatal(1, "Wrong interface definition");
assert (out.AXI_USER_WIDTH == USER_WIDTH) else $fatal(1, "Wrong interface definition");
end
`endif
// pragma translate_on
Expand Down Expand Up @@ -222,12 +222,12 @@ module axi_lite_multicut_intf #(
// pragma translate_off
`ifndef VERILATOR
initial begin
assert ( ADDR_WIDTH > 0 ) else $fatal(1, "Wrong addr width parameter");
assert ( DATA_WIDTH > 0 ) else $fatal(1, "Wrong data width parameter");
assert ( in.AXI_ADDR_WIDTH == ADDR_WIDTH ) else $fatal(1, "Wrong interface definition");
assert ( in.AXI_DATA_WIDTH == DATA_WIDTH ) else $fatal(1, "Wrong interface definition");
assert ( out.AXI_ADDR_WIDTH == ADDR_WIDTH ) else $fatal(1, "Wrong interface definition");
assert ( out.AXI_DATA_WIDTH == DATA_WIDTH ) else $fatal(1, "Wrong interface definition");
assert (ADDR_WIDTH > 0) else $fatal(1, "Wrong addr width parameter");
assert (DATA_WIDTH > 0) else $fatal(1, "Wrong data width parameter");
assert (in.AXI_ADDR_WIDTH == ADDR_WIDTH) else $fatal(1, "Wrong interface definition");
assert (in.AXI_DATA_WIDTH == DATA_WIDTH) else $fatal(1, "Wrong interface definition");
assert (out.AXI_ADDR_WIDTH == ADDR_WIDTH) else $fatal(1, "Wrong interface definition");
assert (out.AXI_DATA_WIDTH == DATA_WIDTH) else $fatal(1, "Wrong interface definition");
end
`endif
// pragma translate_on
Expand Down

0 comments on commit fc0ed7a

Please sign in to comment.