mirror of
https://github.com/openhwgroup/cve2.git
synced 2025-04-22 04:57:25 -04:00
Add an ICacheECC parameter to ICache formal flow
Satisfyingly the formal checks go through with no changes.
This commit is contained in:
parent
49c9113d03
commit
4a20bc4e0d
2 changed files with 10 additions and 3 deletions
|
@ -4,17 +4,22 @@
|
|||
|
||||
# A simple wrapper around fusesoc to make it a bit easier to run the formal flow
|
||||
|
||||
# Whether to use ECC (0 for disabled; 1 for enabled)
|
||||
ECC := 0
|
||||
|
||||
core-name := lowrisc:fpv:ibex_icache_fpv
|
||||
vlnv := $(subst :,_,$(core-name))
|
||||
build-root := $(abspath ../../build/$(vlnv))
|
||||
|
||||
fusesoc-run := cd ../..; fusesoc --cores-root=. run
|
||||
fusesoc-params := --ICacheECC=$(ECC)
|
||||
|
||||
fusesoc-run := fusesoc --cores-root=../.. run --build-root=$(build-root)
|
||||
|
||||
.PHONY: all prove lint
|
||||
all: prove
|
||||
|
||||
prove:
|
||||
fusesoc --cores-root=../.. run --build-root=$(build-root) $(core-name)
|
||||
$(fusesoc-run) $(core-name) $(fusesoc-params)
|
||||
|
||||
lint:
|
||||
mypy --strict sv2v_in_place.py
|
||||
|
|
|
@ -51,10 +51,12 @@ parameters:
|
|||
|
||||
targets:
|
||||
default:
|
||||
parameters:
|
||||
- ICacheECC
|
||||
hooks:
|
||||
pre_build:
|
||||
- sv2v_in_place
|
||||
filesets:
|
||||
- all
|
||||
toplevel: tb
|
||||
toplevel: ibex_icache
|
||||
default_tool: symbiyosys
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue