Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zvkned: add infrastructure for Zvkned #752

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Makefile.old
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ SAIL_DEFAULT_INST += riscv_insts_vext_fp_red.sail
SAIL_DEFAULT_INST += riscv_insts_zicbom.sail
SAIL_DEFAULT_INST += riscv_insts_zicboz.sail

SAIL_DEFAULT_INST += riscv_insts_zvkned.sail

SAIL_SEQ_INST = $(SAIL_DEFAULT_INST) riscv_jalr_seq.sail
SAIL_RMEM_INST = $(SAIL_DEFAULT_INST) riscv_jalr_rmem.sail riscv_insts_rmem.sail

Expand Down
2 changes: 2 additions & 0 deletions model/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ foreach (xlen IN ITEMS 32 64)
"riscv_insts_zbkx.sail"
"riscv_insts_zicond.sail"
${vext_srcs}
"riscv_insts_zvkned.sail"
"riscv_insts_zicbom.sail"
"riscv_insts_zicboz.sail"
)
Expand Down Expand Up @@ -166,6 +167,7 @@ foreach (xlen IN ITEMS 32 64)
${sail_vm_srcs}
# Shared/common code for the cryptography extension.
"riscv_types_kext.sail"
"riscv_types_zvk.sail"
)

if (variant STREQUAL "rvfi")
Expand Down
3 changes: 3 additions & 0 deletions model/riscv_extensions.sail
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ enum clause extension = Ext_Zksed
// Scalar & Entropy Source Instructions: ShangMi Suite: SM3 Hash Cipher Instructions
enum clause extension = Ext_Zksh

// Vector Instructions: NIST Suite: Vector AES Block Cipher
enum clause extension = Ext_Zvkned

// Floating-Point in Integer Registers (half precision)
enum clause extension = Ext_Zhinx

Expand Down
Loading
Loading