Skip to content

Commit 33d764c

Browse files
committed
Minor cleanup
1 parent 3de08ff commit 33d764c

File tree

2 files changed

+2
-16
lines changed

2 files changed

+2
-16
lines changed

.ci/Memora.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,6 @@ artifacts:
345345
- src/axi_mcast_mux.sv
346346
- src/axi_mcast_xbar.sv
347347
- test/tb_axi_mcast_xbar.sv
348-
- test/tb_axi_mcast_xbar_pkg.sv
348+
- test/tb_axi_xbar_pkg.sv
349349
outputs:
350350
- build/axi_mcast_xbar-%.tested

src/axi_pkg.sv

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -515,12 +515,10 @@ package axi_pkg;
515515
int unsigned AxiAddrWidth;
516516
/// AXI4+ATOP data field width.
517517
int unsigned AxiDataWidth;
518-
/// The number of address rules defined for routing of the AR transactions.
518+
/// The number of address rules defined for routing of the transactions.
519519
/// Each master port can have multiple rules, should have however at least one.
520520
/// If a transaction can not be routed the xbar will answer with an `axi_pkg::RESP_DECERR`.
521521
int unsigned NoAddrRules;
522-
/// When asserted, the XBAR is configured to support multicast.
523-
bit EnableMulticast;
524522
/// The number of address rules to be considered for multicasting,
525523
/// assumed to be at the start of `addr_map_i`.
526524
int unsigned NoMulticastRules;
@@ -536,25 +534,13 @@ package axi_pkg;
536534
logic [63:0] end_addr;
537535
} xbar_rule_64_t;
538536

539-
/// Commonly used rule types for `axi_xbar` (64-bit addresses).
540-
typedef struct packed {
541-
logic [63:0] addr;
542-
logic [63:0] mask;
543-
} xbar_mask_rule_64_t;
544-
545537
/// Commonly used rule types for `axi_xbar` (32-bit addresses).
546538
typedef struct packed {
547539
int unsigned idx;
548540
logic [31:0] start_addr;
549541
logic [31:0] end_addr;
550542
} xbar_rule_32_t;
551543

552-
/// Commonly used rule types for `axi_xbar` (32-bit addresses).
553-
typedef struct packed {
554-
logic [31:0] addr;
555-
logic [31:0] mask;
556-
} xbar_mask_rule_32_t;
557-
558544
// Return either the argument minus 1 or 0 if 0; useful for IO vector width declaration
559545
function automatic integer unsigned iomsb (input integer unsigned width);
560546
return (width != 32'd0) ? unsigned'(width-1) : 32'd0;

0 commit comments

Comments
 (0)