Fix for br963 - vvp qpop instructions need to call thr_check_addr.

This commit is contained in:
Martin Whitaker 2014-11-02 15:36:52 +00:00
parent f171161822
commit c2e53f0d63
1 changed files with 2 additions and 0 deletions

View File

@ -4879,6 +4879,7 @@ bool of_QPOP_B(vthread_t thr, vvp_code_t cp)
{
unsigned bit = cp->bit_idx[0];
unsigned wid = cp->bit_idx[1];
thr_check_addr(thr, bit+wid-1);
vvp_net_t*net = cp->net;
vvp_fun_signal_object*obj = dynamic_cast<vvp_fun_signal_object*> (net->fun);
@ -4903,6 +4904,7 @@ bool of_QPOP_F(vthread_t thr, vvp_code_t cp)
{
unsigned bit = cp->bit_idx[0];
unsigned wid = cp->bit_idx[1];
thr_check_addr(thr, bit+wid-1);
vvp_net_t*net = cp->net;
vvp_fun_signal_object*obj = dynamic_cast<vvp_fun_signal_object*> (net->fun);