-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #283 from arturum1/if_gen
feat(setup): Use new setup process: Call `iob_cache.py` directly.
- Loading branch information
Showing
3 changed files
with
21 additions
and
11 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 |
---|---|---|
@@ -1,25 +1,26 @@ | ||
CORE := iob_cache | ||
DISABLE_LINT:=1 | ||
include submodules/LIB/setup.mk | ||
|
||
BE_IF ?= "AXI4" | ||
SETUP_ARGS += BE_IF=$(BE_IF) | ||
BE_DATA_W ?= "32" | ||
SETUP_ARGS += BE_DATA_W=$(BE_DATA_W) | ||
|
||
sim-build: clean | ||
clean: | ||
rm -rf ../$(CORE)_V* | ||
make setup BE_IF=$(BE_IF) BE_DATA_W=$(BE_DATA_W) && make -C ../$(CORE)_V*/ sim-build | ||
|
||
sim-run: clean | ||
rm -rf ../$(CORE)_V* | ||
make setup BE_IF=$(BE_IF) BE_DATA_W=$(BE_DATA_W) && make -C ../$(CORE)_V*/ sim-run | ||
setup: | ||
python3 -B ./$(CORE).py BE_IF=$(BE_IF) BE_DATA_W=$(BE_DATA_W) | ||
|
||
sim-build: clean setup | ||
make -C ../$(CORE)_V*/ sim-build | ||
|
||
sim-run: clean setup | ||
make -C ../$(CORE)_V*/ sim-run | ||
|
||
sim-waves: | ||
make -C ../$(CORE)_V*/ sim-waves | ||
|
||
sim-test: clean | ||
rm -rf ../$(CORE)_V* | ||
make setup BE_IF=$(BE_IF) BE_DATA_W=$(BE_DATA_W) && make -C ../$(CORE)_V*/ sim-test | ||
sim-test: clean setup | ||
make -C ../$(CORE)_V*/ sim-test | ||
|
||
|
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
Submodule LIB
updated
4 files
+0 −0 | hardware/modules/iob_shift_reg/iob_shift_reg.py | |
+0 −149 | scripts/bootstrap.py | |
+29 −0 | scripts/iob_module.py | |
+0 −87 | setup.mk |