mirror of
https://github.com/steveicarus/iverilog.git
synced 2026-08-22 13:57:18 +02:00
Add non-blocking EC for arrays and other fixes.
This patch adds non-blocking event control for array words. It also fixes a problem where the word used to put the calculated delay for a non-blocking array assignment was not being released. It also fixes the non-blocking array assignments to correctly handle off the end/beginning part selects.
This commit is contained in:
@@ -124,6 +124,13 @@ struct __vpiArrayVthrA {
|
||||
}
|
||||
};
|
||||
|
||||
/* Get the array word size. This has only been checked for reg arrays. */
|
||||
unsigned get_array_word_size(vvp_array_t array)
|
||||
{
|
||||
assert(array->vals);
|
||||
return array->vals_width;
|
||||
}
|
||||
|
||||
/*
|
||||
* The vpiArrayWord is magic. It is used as the handle to return when
|
||||
* vpi code tries to index or scan an array of variable words. The
|
||||
|
||||
Reference in New Issue
Block a user