test: Add addr_decode from common_cells
// RUN: moore %s -e foo -I ../third-party/common_cells/include ../third-party/common_cells/src/*.sv
module foo;
+ typedef int unsigned addr_t;
+ typedef struct packed {
+ int unsigned idx;
+ addr_t start_addr;
+ addr_t end_addr;
+ } rule_t;
+
+ addr_decode #(.NoIndices(4), .NoRules(4), .addr_t(addr_t), .rule_t(rule_t)) i0 ();
rr_arb_tree #(.NumIn(4)) i0 ();
stream_delay i0 ();
stream_demux #(.N_OUP(4)) i0 ();
