From 53c8e7cd18b546c11da6aadbd5e216a4074e4f11 Mon Sep 17 00:00:00 2001 From: Farhad Modaresi Date: Sat, 1 Apr 2023 14:00:34 +0330 Subject: [PATCH 1/3] make macro docs update v1.2.8 has some updates to the make macro makefile, thus the command in the documentation wouldn't work --- docs/source/basic_usage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/basic_usage.md b/docs/source/basic_usage.md index 7550137fe..15832bea4 100644 --- a/docs/source/basic_usage.md +++ b/docs/source/basic_usage.md @@ -43,7 +43,7 @@ $OPENRAM\_HOME/options.py To run macros, it is suggested to use, for example: ``` cd OpenRAM/macros -make example_config_scn4m_subm +make example_config_scn4m_subm.ok ``` * Common arguments: From e2ad1c72a0e6dc1b151ce5db60c54516d36c1444 Mon Sep 17 00:00:00 2001 From: sfmth Date: Sat, 1 Apr 2023 20:20:12 +0330 Subject: [PATCH 2/3] fixed macros makefile --- macros/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/macros/Makefile b/macros/Makefile index e555f3a05..d6261446b 100644 --- a/macros/Makefile +++ b/macros/Makefile @@ -76,12 +76,12 @@ rom: $(WORKING_ROM_STAMPS) sram: $(WORKING_SRAM_STAMPS) .PHONY: sram -%.ok: sram_configs/%.py +%: sram_configs/%.py @echo "Building $*" @mkdir -p $* @python3 -u $(SRAM_COMPILER) $(OPENRAM_OPTS) -o $* -p $(MACRO_DIR)/$* $(MACRO_DIR)/$< && touch $@ -%.ok: rom_configs/%.py +%: rom_configs/%.py @echo "Building $*" @mkdir -p $* @python3 -u $(ROM_COMPILER) $(OPENRAM_OPTS) -o $* -p $(MACRO_DIR)/$* $(MACRO_DIR)/$< && touch $@ From ee5229309d21c9db4eedd1ac3d4f90f8ad178c45 Mon Sep 17 00:00:00 2001 From: sfmth Date: Sat, 1 Apr 2023 20:22:12 +0330 Subject: [PATCH 3/3] revert docs update --- docs/source/basic_usage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/basic_usage.md b/docs/source/basic_usage.md index 15832bea4..7550137fe 100644 --- a/docs/source/basic_usage.md +++ b/docs/source/basic_usage.md @@ -43,7 +43,7 @@ $OPENRAM\_HOME/options.py To run macros, it is suggested to use, for example: ``` cd OpenRAM/macros -make example_config_scn4m_subm.ok +make example_config_scn4m_subm ``` * Common arguments: