Ace4SnoopCluster constructor

Ace4SnoopCluster({
  1. int idWidth = 4,
  2. int addrWidth = 32,
  3. int userWidth = 32,
  4. int dataWidth = 64,
  5. int domainWidth = 1,
  6. bool useBar = true,
})

Constructor.

Implementation

Ace4SnoopCluster({
  int idWidth = 4,
  int addrWidth = 32,
  int userWidth = 32,
  int dataWidth = 64,
  int domainWidth = 1,
  bool useBar = true,
}) {
  acIntf = Ace4AcChannelInterface(
      idWidth: idWidth, // TODO(kimmeljo): split??
      addrWidth: addrWidth,
      userWidth: userWidth, // TODO(kimmeljo): split??
      domainWidth: domainWidth,
      useBar: useBar);
  cdIntf = Ace4CdChannelInterface(
      idWidth: idWidth, userWidth: userWidth, dataWidth: dataWidth);
  crIntf = Ace4CrChannelInterface(idWidth: idWidth, userWidth: userWidth);

  addSubInterface('AC', acIntf);
  addSubInterface('CD', cdIntf);
  addSubInterface('CR', crIntf);
}