Skip to content

Commit

Permalink
Merge pull request #66 from PedroAntunes178/master
Browse files Browse the repository at this point in the history
 Makefile, iob_soc_opencryptolinux.py: pass BOARD to fpga-fw-build; remove unused iob-cache.
  • Loading branch information
PedroAntunes178 authored Dec 13, 2023
2 parents a712afe + 53bd909 commit e0c8143
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ sim-test:

fpga-run:
nix-shell --run 'make clean setup INIT_MEM=$(INIT_MEM) USE_EXTMEM=$(USE_EXTMEM)'
nix-shell --run 'RUN_LINUX=$(RUN_LINUX) make -C ../$(CORE)_V*/ fpga-fw-build'
BOARD=$(BOARD) GRAB_TIMEOUT=$(GRAB_TIMEOUT) make -C ../$(CORE)_V*/ fpga-run
nix-shell --run 'BOARD=$(BOARD) RUN_LINUX=$(RUN_LINUX) make -C ../$(CORE)_V*/ fpga-fw-build'
BOARD=$(BOARD) RUN_LINUX=$(RUN_LINUX) GRAB_TIMEOUT=$(GRAB_TIMEOUT) make -C ../$(CORE)_V*/ fpga-run

fpga-connect:
nix-shell --run 'RUN_LINUX=$(RUN_LINUX) make -C ../$(CORE)_V*/ fpga-fw-build'
nix-shell --run 'BOARD=$(BOARD) RUN_LINUX=$(RUN_LINUX) make -C ../$(CORE)_V*/ fpga-fw-build'
# Should run under 'bash', running with 'fish' as a shell gives an error
BOARD=$(BOARD) GRAB_TIMEOUT=$(GRAB_TIMEOUT) make -C ../$(CORE)_V*/ fpga-run
BOARD=$(BOARD) RUN_LINUX=$(RUN_LINUX) GRAB_TIMEOUT=$(GRAB_TIMEOUT) make -C ../$(CORE)_V*/ fpga-run

fpga-test:
# IOb-SoC-Opencryptolinux always uses external memory
Expand Down
1 change: 1 addition & 0 deletions iob_soc_opencryptolinux.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ def _create_submodules_list(cls, extra_submodules=[]):
if type(cls.submodule_list[i]) == type and cls.submodule_list[i].name in [
"iob_picorv32",
"iob_uart",
"iob_cache",
"axi_interconnect",
]:
cls.submodule_list.pop(i)
Expand Down

0 comments on commit e0c8143

Please sign in to comment.