mirror of
https://github.com/lowRISC/ibex.git
synced 2025-04-19 11:34:45 -04:00
[formal] Remove build infrastructure for instruction cache assertions
This commit is contained in:
parent
ab350c4604
commit
1cdd403564
3 changed files with 4 additions and 57 deletions
|
@ -1,32 +0,0 @@
|
|||
# Copyright lowRISC contributors.
|
||||
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
# 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-params := --ICacheECC=$(ECC)
|
||||
|
||||
# Since we have a hacky hook that runs sv2v in place on fusesoc's
|
||||
# copied source files, we have to generate different build roots for
|
||||
# the two flavours (otherwise bad things will happen if you run make
|
||||
# -j2)
|
||||
mk-build-root = $(abspath ../../build/$(vlnv)/$(1))
|
||||
|
||||
mk-fusesoc-cmd = \
|
||||
fusesoc --cores-root=../.. \
|
||||
run --build-root=$(call mk-build-root,$(1)) \
|
||||
--target=$(1) \
|
||||
$(core-name) $(fusesoc-params)
|
||||
|
||||
.PHONY: all prove cover
|
||||
all: prove cover
|
||||
|
||||
prove cover:
|
||||
$(call mk-fusesoc-cmd,$@)
|
4
formal/icache/README.md
Normal file
4
formal/icache/README.md
Normal file
|
@ -0,0 +1,4 @@
|
|||
# Instruction Cache Assertions
|
||||
|
||||
We currently do not have a way to run these SystemVerilog assertions.
|
||||
However, we keep these files because they will be useful for future work.
|
|
@ -1,25 +0,0 @@
|
|||
# Copyright lowRISC contributors.
|
||||
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
[tasks]
|
||||
prove pf
|
||||
cover cv
|
||||
|
||||
[options]
|
||||
pf: mode prove
|
||||
pf: depth 3
|
||||
|
||||
cv: mode cover
|
||||
cv: depth 32
|
||||
|
||||
[engines]
|
||||
smtbmc boolector
|
||||
|
||||
[script]
|
||||
{{"-sv"|gen_reads}}
|
||||
|
||||
prep -top {{top_level}}
|
||||
|
||||
[files]
|
||||
{{files}}
|
Loading…
Add table
Reference in a new issue