|
From: Maciej S. <mac...@ce...> - 2014-12-19 10:22:30
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi Steve, I have prepared a set of patches to extend the functionality related to unpacked arrays [1] along with tests [2]. If I have not missed anything, now I should be able to continue my work on vhdlpp. Casting between dynamic arrays and vectors currently is realized with Icarus-specific VPI functions ($ivl_darray_metho$[from/to]_vec). Ideally, it should be done using type casting, as it was proposed earlier, but I would rather implement it a bit later. I had some doubts if it is enough to simply add a case statement to support dynamic arrays of logic type [3]. The output vvp code uses %store/dar/vec4 and %load/dar/vec4, so I assume it should be fine. Regards, Orson 1. https://github.com/steveicarus/iverilog/pull/50 2. https://github.com/orsonmmz/ivtest/tree/darray_test 3. https://github.com/orsonmmz/iverilog/commit/aed69f2c6bc3e8c6b9289e5cfde824fd1b3653b9 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJUk/xcAAoJEBRwGu1hpbJ1zy4H/i15Tn4s7AvPbAk7wIov6fG3 UKLfnqHPt7WCk+RyOwiXdHEkDE512q6n7YaDsLt+Merar/u7A3UBRCAYbRMZbmvF GNymbf/Bv9xasur64B6SYKZ08pdQzlJR4W9dLVt8zBU9wIcVLAEM0Zi4TlUjagwG qJRO3clHdxdu6Juirbux7PJQ4Dj6d+fT6sqS3bav3+pCriSkwhQMEreGM6EWnuen lqnjtI8MYkrUPEwWmoJSgAGStUYXtmQFtojpIe7XjGLkfJoGb680YmWeppk+X0MP b3nuJJJHUNLp72jV6r2mIttTOUvaz3m9UxAcJQz0e+ojkZQAR92s88Z4SJ5C0tM= =hYcm -----END PGP SIGNATURE----- |