Entity: edn_ack_sm
- File: edn_ack_sm.sv
Diagram
Description
Copyright lowRISC contributors. Licensed under the Apache License, Version 2.0, see LICENSE for details. SPDX-License-Identifier: Apache-2.0
Description: interface between a req/ack interface and a fifo
Ports
Port name | Direction | Type | Description |
---|---|---|---|
clk_i | input | ||
rst_ni | input | ||
enable_i | input | ||
req_i | input | ||
ack_o | output | ||
fifo_not_empty_i | input | ||
fifo_pop_o | output | ||
ack_sm_err_o | output |
Signals
Name | Type | Description |
---|---|---|
state_d | state_e | |
state_q | state_e | |
state_raw_q | logic [StateWidth-1:0] |
Constants
Name | Type | Value | Description |
---|---|---|---|
StateWidth | int | 6 | Encoding generated with: $ ./util/design/sparse-fsm-encode.py -d 3 -m 4 -n 6 \ -s 2299232677 --language=sv Hamming distance histogram: 0: -- 1: -- 2: -- 3: |
Types
Name | Type | Description |
---|---|---|
state_e | enum logic [StateWidth-1:0] { Idle = 6'b101101, DataWait = 6'b111010, AckPls = 6'b010110, Error = 6'b001000 } |
Processes
- unnamed: ( )
Type: always_comb
Instantiations
- u_state_regs: prim_flop
Description
This primitive is used to place a size-only constraint on the
flops in order to prevent FSM state encoding optimizations.