// 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 |