blob: a3594b61923b0acebf623784a993f4179cc2a0eb [file] [log] [blame]
// Copyright lowRISC contributors.
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
package prim_alert_pkg;
typedef struct packed {
logic alert_p;
logic alert_n;
} alert_tx_t;
typedef struct packed {
logic ping_p;
logic ping_n;
logic ack_p;
logic ack_n;
} alert_rx_t;
parameter alert_tx_t ALERT_TX_DEFAULT = '{alert_p: 1'b0,
alert_n: 1'b1};
parameter alert_rx_t ALERT_RX_DEFAULT = '{ping_p: 1'b0,
ping_n: 1'b1,
ack_p: 1'b0,
ack_n: 1'b1};
endpackage : prim_alert_pkg