Skip to content

Commit

Permalink
RTL: Add a recipe to regenerate the intercon
Browse files Browse the repository at this point in the history
  • Loading branch information
josuah committed Feb 19, 2024
1 parent 28a5fd5 commit c9c1bba
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions RTL/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ LITEX_SOC_PY += python/litex_top_som.py

all: litex.overlay litex.conf

-include config.mk

setup: litex/litex_setup.py
$(PYTHON) -m pip install meson ninja
mkdir -p litex
Expand Down Expand Up @@ -38,6 +40,9 @@ gateware: $(LITEX_SOC_PY)
cd litex && $(PYTHON) ../python/litex_top_som.py
cp litex/build/som/gateware/som.v src

wishbone src/wb_intercon.v: src/wb_intercon.cfg
python ip/wb_intercon/sw/wb_intercon_gen src/wb_intercon.cfg src/wb_intercon.v

litex litex.overlay litex.conf: gateware
$(PYTHON) python/litex_json2dts_zephyr.py --dts=litex.overlay --config=litex.conf litex/build/csr.som.json

Expand Down

0 comments on commit c9c1bba

Please sign in to comment.