-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pulp CDC constraints fixup on FPGA, remote boot in device-tree, add c…
…va6-sdk subrepo (#261) * fpga: Correct pulp island CDC constraints * fpga: Select mac_addr by env variable * fpga: Add safety+spatz config and correct jtag chain * sdk: Update cva6-sdk with https buildroot dependancy * carfield.mk: Update CI hash
- Loading branch information
Showing
20 changed files
with
392 additions
and
198 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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "sw/deps/cva6-sdk"] | ||
path = sw/deps/cva6-sdk | ||
url = https://github.com/pulp-platform/cva6-sdk.git |
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 |
---|---|---|
|
@@ -44,7 +44,7 @@ include $(CAR_ROOT)/bender-safed.mk | |
###################### | ||
|
||
CAR_NONFREE_REMOTE ?= [email protected]:carfield/carfield-nonfree.git | ||
CAR_NONFREE_COMMIT ?= 54ce7e49 | ||
CAR_NONFREE_COMMIT ?= 59e53134 | ||
|
||
## @section Carfield platform nonfree components | ||
## Clone the non-free verification IP for Carfield. Some components such as CI scripts and ASIC | ||
|
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 |
---|---|---|
@@ -0,0 +1,84 @@ | ||
// Copyright 2022 ETH Zurich and University of Bologna. | ||
// Solderpad Hardware License, Version 0.51, see LICENSE for details. | ||
// SPDX-License-Identifier: SHL-0.51 | ||
// | ||
// Yvan Tortorella <[email protected]> | ||
|
||
package carfield_configuration; | ||
|
||
import cheshire_pkg::*; | ||
/********************* | ||
* AXI Configuration * | ||
********************/ | ||
//L2, port 0 | ||
localparam bit L2Port0Enable = 1; | ||
localparam doub_bt L2Port0Base = 'h78000000; | ||
localparam doub_bt L2Port0Size = 'h00200000; | ||
// L2, port 1 | ||
localparam bit L2Port1Enable = 1; | ||
localparam doub_bt L2Port1Base = L2Port0Base + L2Port0Size; | ||
localparam doub_bt L2Port1Size = L2Port0Size; | ||
// Safety Island | ||
localparam bit SafetyIslandEnable = 1; | ||
localparam doub_bt SafetyIslandBase = 'h60000000; | ||
localparam doub_bt SafetyIslandSize = 'h00800000; | ||
// Ethernet | ||
localparam bit EthernetEnable = 0; | ||
localparam doub_bt EthernetBase = 'h20000000; | ||
localparam doub_bt EthernetSize = 'h00001000; | ||
// Peripherals | ||
localparam bit PeriphEnable = 1; | ||
localparam doub_bt PeriphBase = 'h20001000; | ||
localparam doub_bt PeriphSize = 'h00009000; | ||
// Spatz cluster | ||
localparam bit SpatzClusterEnable = 1; | ||
localparam doub_bt SpatzClusterBase = 'h51000000; | ||
localparam doub_bt SpatzClusterSize = 'h00800000; | ||
// PULP cluster | ||
localparam bit PulpClusterEnable = 0; | ||
localparam doub_bt PulpClusterBase = 'h50000000; | ||
localparam doub_bt PulpClusterSize = 'h00800000; | ||
// Security Island | ||
localparam bit SecurityIslandEnable = 0; | ||
localparam doub_bt SecurityIslandBase = 'h0; | ||
localparam doub_bt SecurityIslandSize = 'h0; | ||
// Mailbox | ||
localparam bit MailboxEnable = 1; | ||
localparam doub_bt MailboxBase = 'h40000000; | ||
localparam doub_bt MailboxSize = 'h00001000; | ||
// Can | ||
localparam bit CanEnable = 0; | ||
localparam doub_bt CanBase = 'h20001000; | ||
localparam doub_bt CanSize = 'h00001000; | ||
// System Timer | ||
localparam doub_bt SystemTimerBase = 'h20004000; | ||
localparam doub_bt SystemTimerSize = 'h00001000; | ||
// System Advanced Timer | ||
localparam doub_bt SystemAdvancedTimerBase = 'h20005000; | ||
localparam doub_bt SystemAdvancedTimerSize = 'h00001000; | ||
// System Watchdog | ||
localparam doub_bt SystemWatchdogBase = 'h20007000; | ||
localparam doub_bt SystemWatchdogSize = 'h00001000; | ||
// Hyperbus Config | ||
localparam doub_bt HyperBusBase = 'h20009000; | ||
localparam doub_bt HyperBusSize = 'h00001000; | ||
/************************ | ||
* RegBus Configuration * | ||
***********************/ | ||
// Platform control registers | ||
localparam doub_bt PcrsBase = 'h20010000; | ||
localparam doub_bt PcrsSize = 'h00001000; | ||
// PLL | ||
localparam bit PllCfgEnable = 1; | ||
localparam doub_bt PllCfgBase = 'h20020000; | ||
localparam doub_bt PllCfgSize = 'h00001000; | ||
// Padframe | ||
localparam bit PadframeCfgEnable = 1; | ||
localparam doub_bt PadframeCfgBase = 'h200A0000; | ||
localparam doub_bt PadframeCfgSize = 'h00001000; | ||
// L2 ECC | ||
localparam bit L2EccCfgEnable = 1; | ||
localparam doub_bt L2EccCfgBase = 'h200B0000; | ||
localparam doub_bt L2EccCfgSize = 'h00001000; | ||
|
||
endpackage |
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
Oops, something went wrong.