Tim, Thank you for the response. I understand the first solution, but it is something not readily implementable in my current setup. The second solution doesn't work always because I might want to access packed_array_test[35:32] alone - something that IS possible with a single call to vpi_put_value / vpi_get_value. I was looking to avoid multiple force statements, and also parsing of the 'describe' command output - as they both complicate the overall environment in which the scheme has to work. The input to the Tcl script is just the hierarchical path to the signal and its unrolled packed dimensions - now, it looks like I have to find a way to get the original dimensions of the signal definition from within the Tcl script.
↧