Remove init-fpga scripts and references, init-submodules now also inits-fpga
This commit is contained in:
2
.github/scripts/remote-do-rtl-build.sh
vendored
2
.github/scripts/remote-do-rtl-build.sh
vendored
@@ -16,8 +16,6 @@ source $SCRIPT_DIR/defaults.sh
|
|||||||
|
|
||||||
cd $REMOTE_CHIPYARD_DIR
|
cd $REMOTE_CHIPYARD_DIR
|
||||||
./scripts/init-submodules-no-riscv-tools.sh --force
|
./scripts/init-submodules-no-riscv-tools.sh --force
|
||||||
./scripts/init-fpga.sh
|
|
||||||
|
|
||||||
|
|
||||||
# Constellation can run without espresso, but this improves
|
# Constellation can run without espresso, but this improves
|
||||||
# elaboration time drastically
|
# elaboration time drastically
|
||||||
|
|||||||
@@ -1,18 +1,11 @@
|
|||||||
General Setup and Usage
|
General Setup and Usage
|
||||||
==============================
|
==============================
|
||||||
|
|
||||||
Sources and Submodule Setup
|
Sources
|
||||||
---------------------------
|
---------------------------
|
||||||
|
|
||||||
All FPGA prototyping-related collateral and sources are located in the ``fpga`` top-level Chipyard directory.
|
All FPGA prototyping-related collateral and sources are located in the ``fpga`` top-level Chipyard directory.
|
||||||
This includes the ``fpga-shells`` submodule and the ``src`` directory that hold both Scala, TCL and other collateral.
|
This includes the ``fpga-shells`` submodule and the ``src`` directory that hold both Scala, TCL and other collateral.
|
||||||
However, the ``fpga-shells`` submodule repository is not initialized by default.
|
|
||||||
To initialize the ``fpga-shells`` submodule repository, run the included initialization script from the Chipyard top-level directory:
|
|
||||||
|
|
||||||
.. code-block:: shell
|
|
||||||
|
|
||||||
# in the chipyard top level folder
|
|
||||||
./scripts/init-fpga.sh
|
|
||||||
|
|
||||||
Generating a Bitstream
|
Generating a Bitstream
|
||||||
----------------------
|
----------------------
|
||||||
|
|||||||
@@ -138,7 +138,6 @@ fi
|
|||||||
# initialize all submodules (without the toolchain submodules)
|
# initialize all submodules (without the toolchain submodules)
|
||||||
if run_step "2"; then
|
if run_step "2"; then
|
||||||
$CYDIR/scripts/init-submodules-no-riscv-tools.sh $FORCE_FLAG
|
$CYDIR/scripts/init-submodules-no-riscv-tools.sh $FORCE_FLAG
|
||||||
$CYDIR/scripts/init-fpga.sh $FORCE_FLAG
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# build extra toolchain collateral (i.e. spike, pk, riscv-tests, libgloss)
|
# build extra toolchain collateral (i.e. spike, pk, riscv-tests, libgloss)
|
||||||
|
|||||||
@@ -1,12 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# exit script if any command fails
|
|
||||||
set -e
|
|
||||||
set -o pipefail
|
|
||||||
|
|
||||||
# Enable submodule update for FPGA tools.
|
|
||||||
git config --unset submodule.fpga/fpga-shells.update || :
|
|
||||||
# Initialize local FPGA tools.
|
|
||||||
git submodule update --init --recursive fpga/fpga-shells
|
|
||||||
# Disable submodule update for FPGA tools.
|
|
||||||
git config submodule.fpga/fpga-shells.update none
|
|
||||||
Reference in New Issue
Block a user