[skip ci] update some docs, merge VLSI_RTL and VLSI_BB into one
This commit is contained in:
committed by
abejgonzalez
parent
b02c44a0f3
commit
a6342ced21
@@ -20,7 +20,7 @@ This example gives a suggested file structure and build system. The ``vlsi/`` fo
|
|||||||
|
|
||||||
* ``env.yml``
|
* ``env.yml``
|
||||||
|
|
||||||
* A template file for tool environment configuration. Fill in the install and license server paths for your environment.
|
* A template file for tool environment configuration. Fill in the install and license server paths for your environment. For SLICE and BWRC affiliates, example environment configs are found `here <https://github.com/ucb-bar/hammer/tree/master/e2e/env>`__.
|
||||||
|
|
||||||
* ``example-vlsi``
|
* ``example-vlsi``
|
||||||
|
|
||||||
@@ -28,7 +28,7 @@ This example gives a suggested file structure and build system. The ``vlsi/`` fo
|
|||||||
|
|
||||||
* ``example-asap7.yml``, ``example-tools.yml``
|
* ``example-asap7.yml``, ``example-tools.yml``
|
||||||
|
|
||||||
* Hammer IR for this tutorial.
|
* Hammer IR for this tutorial. For SLICE and BWRC affiliates, an example ASAP7 config is found `here <https://github.com/ucb-bar/hammer/tree/master/e2e/pdks>`__.
|
||||||
|
|
||||||
* ``example-design.yml``, ``example-sky130.yml``, ``example-tech.yml``
|
* ``example-design.yml``, ``example-sky130.yml``, ``example-tech.yml``
|
||||||
|
|
||||||
@@ -38,9 +38,9 @@ This example gives a suggested file structure and build system. The ``vlsi/`` fo
|
|||||||
|
|
||||||
* All of the elaborated Chisel and FIRRTL.
|
* All of the elaborated Chisel and FIRRTL.
|
||||||
|
|
||||||
* ``hammer``, ``hammer-<vendor>-plugins``, ``hammer-<tech>-plugin``
|
* ``hammer-<vendor>-plugins``
|
||||||
|
|
||||||
* Core, tool, tech repositories.
|
* Tool plugin repositories.
|
||||||
|
|
||||||
* ``view_gds.py``
|
* ``view_gds.py``
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ This example gives a suggested file structure and build system. The ``vlsi/`` fo
|
|||||||
|
|
||||||
* ``env.yml``
|
* ``env.yml``
|
||||||
|
|
||||||
* A template file for tool environment configuration. Fill in the install and license server paths for your environment.
|
* A template file for tool environment configuration. Fill in the install and license server paths for your environment. For SLICE and BWRC affiliates, example environment configs are found `here <https://github.com/ucb-bar/hammer/tree/master/e2e/env>`__.
|
||||||
|
|
||||||
* ``example-vlsi-sky130``
|
* ``example-vlsi-sky130``
|
||||||
|
|
||||||
@@ -28,7 +28,7 @@ This example gives a suggested file structure and build system. The ``vlsi/`` fo
|
|||||||
|
|
||||||
* ``example-sky130.yml``, ``example-tools.yml``, ``example-designs/sky130-commercial.yml``
|
* ``example-sky130.yml``, ``example-tools.yml``, ``example-designs/sky130-commercial.yml``
|
||||||
|
|
||||||
* Hammer IR for this tutorial.
|
* Hammer IR for this tutorial. For SLICE and BWRC affiliates, an example ASAP7 config is found `here <https://github.com/ucb-bar/hammer/tree/master/e2e/pdks>`__.
|
||||||
|
|
||||||
* ``example-design.yml``, ``example-asap7.yml``, ``example-tech.yml``
|
* ``example-design.yml``, ``example-asap7.yml``, ``example-tech.yml``
|
||||||
|
|
||||||
@@ -38,9 +38,9 @@ This example gives a suggested file structure and build system. The ``vlsi/`` fo
|
|||||||
|
|
||||||
* All of the elaborated Chisel and FIRRTL.
|
* All of the elaborated Chisel and FIRRTL.
|
||||||
|
|
||||||
* ``hammer``, ``hammer-<vendor>-plugins``, ``hammer-<tech>-plugin``
|
* ``hammer-<vendor>-plugins``
|
||||||
|
|
||||||
* Core, tool, tech repositories.
|
* Tool plugin repositories.
|
||||||
|
|
||||||
Prerequisites
|
Prerequisites
|
||||||
-------------
|
-------------
|
||||||
|
|||||||
@@ -18,13 +18,17 @@ This example gives a suggested file structure and build system. The ``vlsi/`` fo
|
|||||||
* Hammer output directory. Can be changed with the ``OBJ_DIR`` variable.
|
* Hammer output directory. Can be changed with the ``OBJ_DIR`` variable.
|
||||||
* Will contain subdirectories such as ``syn-rundir`` and ``par-rundir`` and the ``inputs.yml`` denoting the top module and input Verilog files.
|
* Will contain subdirectories such as ``syn-rundir`` and ``par-rundir`` and the ``inputs.yml`` denoting the top module and input Verilog files.
|
||||||
|
|
||||||
|
* ``env.yml``
|
||||||
|
|
||||||
|
* A template file for tool environment configuration. Fill in the install and license server paths for your environment. For SLICE and BWRC affiliates, example environment configs are found `here <https://github.com/ucb-bar/hammer/tree/master/e2e/env>`__.
|
||||||
|
|
||||||
* ``example-vlsi-sky130``
|
* ``example-vlsi-sky130``
|
||||||
|
|
||||||
* Entry point to Hammer. Contains example placeholders for hooks.
|
* Entry point to Hammer. Contains example placeholders for hooks.
|
||||||
|
|
||||||
* ``example-sky130.yml``, ``example-openroad.yml``, ``example-designs/sky130-openroad.yml``
|
* ``example-sky130.yml``, ``example-openroad.yml``, ``example-designs/sky130-openroad.yml``
|
||||||
|
|
||||||
* Hammer IR for this tutorial.
|
* Hammer IR for this tutorial. For SLICE and BWRC affiliates, an example ASAP7 config is found `here <https://github.com/ucb-bar/hammer/tree/master/e2e/pdks>`__.
|
||||||
|
|
||||||
* ``example-design.yml``, ``example-asap7.yml``, ``example-tech.yml``
|
* ``example-design.yml``, ``example-asap7.yml``, ``example-tech.yml``
|
||||||
|
|
||||||
@@ -34,9 +38,9 @@ This example gives a suggested file structure and build system. The ``vlsi/`` fo
|
|||||||
|
|
||||||
* All of the elaborated Chisel and FIRRTL.
|
* All of the elaborated Chisel and FIRRTL.
|
||||||
|
|
||||||
* ``hammer``, ``hammer/src/hammer-vlsi/<syn-par-drc-lvs>/<tool>``, ``hammer/src/hammer-vlsi/technology/<tech>``
|
* ``hammer-<vendor>-plugins``
|
||||||
|
|
||||||
* Core repository, and open-source tool and technology plugins.
|
* Tool plugin repositories not used for this tutorial (they are provided in the hammer-vlsi package).
|
||||||
|
|
||||||
Prerequisites
|
Prerequisites
|
||||||
-------------
|
-------------
|
||||||
|
|||||||
Submodule fpga/fpga-shells updated: 474ad19113...f1187f21a0
Submodule generators/boom updated: 98487c68cc...9e4269088e
Submodule generators/constellation updated: 55b1899a3b...b93fde3e28
Submodule generators/cva6 updated: 737fd83b82...31fd9cdf80
Submodule generators/fft-generator updated: a31bd038dd...40357f00a8
Submodule generators/gemmini updated: 74251dc61f...6f57972db9
Submodule generators/hwacha updated: e1be8e2a41...b0795a3aaf
Submodule generators/ibex updated: 5a512227d8...a5214d0a0a
Submodule generators/icenet updated: fb23840eab...e14c1e8c54
Submodule generators/riscv-sodor updated: 9265d02d3c...510dea7407
Submodule generators/rocket-chip updated: 3b5fb3c043...44b0b82492
Submodule generators/sha3 updated: 98089ba372...88ada85a84
Submodule generators/sifive-blocks updated: 4273925fdd...e8adf0e3ef
Submodule generators/sifive-cache updated: 850e12154c...2e47c707e0
Submodule generators/testchipip updated: 2906d503cf...70cdc3f020
Submodule sims/firesim updated: 9d3462ed13...8176b657ee
Submodule toolchains/riscv-tools/riscv-tests updated: a6ab6ae600...c84daca882
Submodule tools/barstools updated: b71c31e66e...df3232f7d9
Submodule tools/dsptools updated: 5b1e733596...a1809fbae9
Submodule tools/rocket-dsp-utils updated: 46d6ed7798...4448e06138
@@ -57,11 +57,14 @@ endif
|
|||||||
#########################################################################################
|
#########################################################################################
|
||||||
ifneq ($(CUSTOM_VLOG), )
|
ifneq ($(CUSTOM_VLOG), )
|
||||||
VLSI_RTL = $(CUSTOM_VLOG)
|
VLSI_RTL = $(CUSTOM_VLOG)
|
||||||
VLSI_BB =
|
|
||||||
else
|
else
|
||||||
VLSI_RTL = $(shell cat $(TOP_MODS_FILELIST)) $(TOP_SMEMS_FILE)
|
# This one-liner does a few things. Line-by-line:
|
||||||
# TODO: have MFC split top & harness blackboxes
|
# 1. concatenates the .top.f and .bb.f files and uniquifies them
|
||||||
VLSI_BB = $(build_dir)/EICG_wrapper.v $(TOP_BB_MODS_FILELIST)
|
# 2. removes all harness blackboxes with DPI calls (SimJTAG, etc.)
|
||||||
|
# 3. append EICG_wrapper.v and the compiled memories
|
||||||
|
VLSI_RTL = $(shell cat $(TOP_MODS_FILELIST) $(BB_MODS_FILELIST) | sort | uniq | \
|
||||||
|
rev | sed -E 's/cc(.*)/c\1/g' | uniq -s 1 | sed '/c\./d' | rev) \
|
||||||
|
$(build_dir)/EICG_wrapper.v $(TOP_SMEMS_FILE)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
.PHONY: default
|
.PHONY: default
|
||||||
@@ -222,12 +225,12 @@ ifeq ($(CUSTOM_VLOG), )
|
|||||||
GENERATED_CONFS += $(SRAM_CONF)
|
GENERATED_CONFS += $(SRAM_CONF)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(SYN_CONF): $(VLSI_RTL) $(VLSI_BB)
|
$(SYN_CONF): $(VLSI_RTL)
|
||||||
mkdir -p $(dir $@)
|
mkdir -p $(dir $@)
|
||||||
echo "synthesis.inputs:" >> $@
|
echo "synthesis.inputs:" >> $@
|
||||||
echo " top_module: $(VLSI_TOP)" >> $@
|
echo " top_module: $(VLSI_TOP)" >> $@
|
||||||
echo " input_files:" >> $@
|
echo " input_files:" >> $@
|
||||||
for x in $(VLSI_RTL) $(VLSI_BB); do \
|
for x in $(VLSI_RTL); do \
|
||||||
echo ' - "'$$x'"' >> $@; \
|
echo ' - "'$$x'"' >> $@; \
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user