Commit f6bfc29e authored by Tao Liu's avatar Tao Liu
Browse files

Fix AMO instruction constraint issue

parent 12af7887
...@@ -20,7 +20,7 @@ class riscv_amo_instr extends riscv_instr; ...@@ -20,7 +20,7 @@ class riscv_amo_instr extends riscv_instr;
rand bit rl; rand bit rl;
constraint aq_rl_c { constraint aq_rl_c {
aq && rl == 0; (aq && rl) == 0;
} }
`uvm_object_utils(riscv_amo_instr) `uvm_object_utils(riscv_amo_instr)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment