Closed ishitapvips closed 3 years ago
Hi @ishitapvips , There are two issues here. One is that the solve-failure message is confusing. I'll look more deeply into that. That said, you can resolve the issue by making lr_instr and sc_instr 'rand'. If I understand the constraints correctly, this is the intent. You should change the beginning of the constructor as follows:
Existing code:
@vsc.randobj
class riscv_lr_sc_instr_stream:
def __init__(self):
self.lr_instr = ex()
self.sc_instr = ex()
New code:
@vsc.randobj
class riscv_lr_sc_instr_stream:
def __init__(self):
self.lr_instr = vsc.rand_attr(ex())
self.sc_instr = vsc.rand_attr(ex())
I've made this change locally, and the constraints solve properly.
Best Regards, Matthew
Appreciate the confirmation, @ishitapvips!
Hi,
I was trying to run the below example
For this, I getting the following error,
Can you help me with this? Regards, Ishita