You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Before this commit, instructions were defined by a sequence of Const for fixed fields (e.g. PO/XO) and AnyConst for others (e.g. operands). This approach restricted their use to BMC use-cases, and prevented them from appearing in VCD traces. After this commit, an instruction encoding is defined by a Record. As fields can now be set to arbitrary values, the corresponding InsnSpec will only assert `pfv.stb` if `pfv.insn` matches a valid encoding (i.e. fixed fields have correct values). On the other side, BMC testbenches will drive `pfv.insn` with an AnyConst, and assume `pfv.stb` is high. |
3 years ago | |
---|---|---|
cores/microwatt | 3 years ago | |
power_fv | 3 years ago | |
.gitignore | 3 years ago | |
LICENSE.txt | 3 years ago | |
README.md | 3 years ago | |
poetry.lock | 3 years ago | |
pyproject.toml | 3 years ago |
README.md
power-fv
(TODO)
Prerequisites
- Python 3.8+
- Yosys
- SymbiYosys (sby)
Installation
pip3 install poetry --user
poetry install
See the cores
folder for usage examples.