Skip to content

Commit

Permalink
Added parse.py, constants.py and Makefile modifications to generate .…
Browse files Browse the repository at this point in the history
…yaml files. All files were originally from riscv-opcodes.

Signed-off-by: Afonso Oliveira <Afonso.Oliveira@synopsys.com>
  • Loading branch information
AFOliveira committed Aug 22, 2024
1 parent c2ebc28 commit 4ece3f0
Show file tree
Hide file tree
Showing 4 changed files with 1,222 additions and 0 deletions.
19 changes: 19 additions & 0 deletions ext/auto-instr/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
RATIFIED_EXTENSIONS := "rv*"
UNRATIFIED_EXTENSIONS := "unratified/rv*"

default: yaml_all

.PHONY: yaml_all
yaml_all: yaml_ratified yaml_unratified

.PHONY: yaml_ratified
yaml_ratified:
@python3 parse.py -yaml $(RATIFIED_EXTENSIONS)

.PHONY: yaml_unratified
yaml_unratified:
@python3 parse.py -yaml $(UNRATIFIED_EXTENSIONS)

.PHONY: clean
clean:
rm -rf yaml_output
Binary file not shown.
Loading

0 comments on commit 4ece3f0

Please sign in to comment.