]> git.nickg.me.uk Git - nvc.git/commit
vhpi: Rework size calculation
authorSean Anderson <seanga2@gmail.com>
Mon, 29 May 2023 20:11:56 +0000 (16:11 -0400)
committerNick Gasson <nick@nickg.me.uk>
Sun, 4 Jun 2023 22:00:34 +0000 (22:00 +0000)
commit2052a42fe56e4e11e004c3d9a650fb8bd2508a72
tree3b7a63cbe768489b197bd4ce9504d2d8d4211e25
parent35231fb728384c5f388b5e930faecd43d6f1aceb
vhpi: Rework size calculation

IndexedNames represent a subset of the elements in a signal. Their size
is dependent on their type. In preparation for adding IndexedName
support, rework the size calculation to be based on the type of the
object instead of the width of the backing signal.
src/vhpi/vhpi-model.c