-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
94046fc
commit b7cef2f
Showing
8 changed files
with
47 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,13 +15,6 @@ packages: | |
- common_cells | ||
- common_verification | ||
- tech_cells_generic | ||
axi_mem_if: | ||
revision: 3567273b4f67bd57a81a2a503394a49641bae53a | ||
version: 0.2.1 | ||
source: | ||
Git: [email protected]:pulp-platform/axi_mem_if.git | ||
dependencies: | ||
- axi | ||
axi_stream: | ||
revision: 54891ff40455ca94a37641b9da4604647878cc07 | ||
version: 0.1.1 | ||
|
@@ -45,7 +38,7 @@ packages: | |
dependencies: [] | ||
idma: | ||
revision: a80fcace92b1562e7cd76c8615298b5623ba74d2 | ||
version: null | ||
version: 0.6.0-beta | ||
source: | ||
Git: [email protected]:pulp-platform/iDMA.git | ||
dependencies: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,12 +16,11 @@ package: | |
|
||
dependencies: | ||
axi : { git: "[email protected]:pulp-platform/axi.git", version: 0.39.1 } | ||
axi_mem_if : { git: [email protected]:pulp-platform/axi_mem_if.git, version: 0.2.1 } | ||
axi_stream: { git: "[email protected]:pulp-platform/axi_stream.git", rev: "54891ff" } # branch: main | ||
common_verification : { git: "https://github.com/pulp-platform/common_verification.git", version: 0.2.3 } | ||
register_interface : { git: "https://github.com/pulp-platform/register_interface.git", version: 0.4.2 } | ||
common_cells: { git: "https://github.com/pulp-platform/common_cells.git", version: 1.32.0 } | ||
idma: { git: "[email protected]:pulp-platform/iDMA.git", rev: "a80fcac" } # branch: cl/idma-eth | ||
idma: { git: "[email protected]:pulp-platform/iDMA.git", rev: "a80fcac" } # branch: main | ||
|
||
sources: | ||
# Source files grouped in levels. Files in level 0 have no dependencies on files in this | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
// Copyright 2023 ETH Zurich and University of Bologna. | ||
// Copyright 2024 ETH Zurich and University of Bologna. | ||
// Solderpad Hardware License, Version 0.51, see LICENSE for details. | ||
// SPDX-License-Identifier: SHL-0.51 | ||
|
||
// | ||
// Chaoqun Liang <[email protected]> | ||
|
||
`include "axi_stream/assign.svh" | ||
`include "axi_stream/typedef.svh" | ||
|
@@ -13,13 +14,13 @@ | |
package eth_idma_pkg; | ||
|
||
/// Ethernet reg typedefs | ||
parameter int AW_REGBUS = 32; | ||
localparam int DW_REGBUS = 32; | ||
localparam int unsigned STRB_WIDTH = DW_REGBUS/8; | ||
parameter int unsigned AwRegbus = 32; | ||
localparam int unsigned DwRegbus = 32; | ||
localparam int unsigned StrbWidth = DwRegbus/8; | ||
|
||
typedef logic [AW_REGBUS-1:0] reg_bus_addr_t; | ||
typedef logic [DW_REGBUS-1:0] reg_bus_data_t; | ||
typedef logic [STRB_WIDTH-1:0] reg_bus_strb_t; | ||
typedef logic [AwRegbus-1:0] reg_bus_addr_t; | ||
typedef logic [DwRegbus-1:0] reg_bus_data_t; | ||
typedef logic [StrbWidth-1:0] reg_bus_strb_t; | ||
|
||
`REG_BUS_TYPEDEF_ALL(reg_bus, reg_bus_addr_t, reg_bus_data_t, reg_bus_strb_t) | ||
|
||
|
@@ -29,13 +30,13 @@ package eth_idma_pkg; | |
parameter int unsigned AxiIdWidth = 5; | ||
parameter int unsigned TFLenWidth = 32; | ||
|
||
localparam int unsigned StrbWidth = DataWidth / 8; | ||
localparam int unsigned AxiStrbWidth = DataWidth / 8; | ||
localparam int unsigned OffsetWidth = $clog2(StrbWidth); | ||
|
||
typedef logic [AddrWidth-1:0] addr_t; | ||
typedef logic [AxiIdWidth-1:0] id_t; | ||
typedef logic [UserWidth-1:0] user_t; | ||
typedef logic [StrbWidth-1:0] strb_t; | ||
typedef logic [AxiStrbWidth-1:0] strb_t; | ||
typedef logic [DataWidth-1:0] data_t; | ||
typedef logic [TFLenWidth-1:0] tf_len_t; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
// See LICENSE for license details. | ||
|
||
// Copyright 2023 ETH Zurich and University of Bologna. | ||
// Solderpad Hardware License, Version 0.51, see LICENSE for details. | ||
// SPDX-License-Identifier: SHL-0.51 | ||
// | ||
// Authors: | ||
// - Jonathan Kimmitt <[email protected]> | ||
// - Thiemo Zaugg <[email protected]> | ||
// - chaoqun Liang <[email protected]> | ||
|
||
module framing_top #( | ||
/// AXI Stream in request struct | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters