Skip to content

Commit

Permalink
New gen_layout commands (riscv-software-src#107)
Browse files Browse the repository at this point in the history
Removed the old perl generator; uses the new python generator in Sparta.

These changes make a few assumptions: 
1. The user is using a newer version of sparta map_v2
2. The path to the clone of map is next to the clone of olympia
  • Loading branch information
klingaard authored and aarongchan committed Nov 17, 2023
1 parent 6b227b8 commit 58ead38
Show file tree
Hide file tree
Showing 13 changed files with 6,118 additions and 10,480 deletions.
8 changes: 5 additions & 3 deletions layouts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
all: small_core.alf medium_core.alf big_core.alf

%_core.alf:
m4 -DARCH_CORE_COMMON=$*_core_column.cmd core.cmd > $*_core.cmd
./gen_alf $*_core.cmd > $*_core.alf
@echo "Generating pipeout for $@"
@(cd ../release; ./olympia -z ../layouts/pipeout -i1 traces/dhry_riscv.zstf > /dev/null)
@./gen_alf.py -d pipeoutlocation.dat -a $*_core.alf
@rm pipeout*

clean:
rm small_core.cmd medium_core.cmd big_core.cmd *.alf
rm -f *.alf pipeout*
Loading

0 comments on commit 58ead38

Please sign in to comment.