make all vector-size related integer params in $mem sim model signed
authorClifford Wolf <clifford@clifford.at>
Sun, 5 Apr 2015 15:26:53 +0000 (17:26 +0200)
committerClifford Wolf <clifford@clifford.at>
Sun, 5 Apr 2015 15:26:53 +0000 (17:26 +0200)
commit95944eb69e45837516ff9c0cba54f77ab89af754
tree20dabb0609e67176b85461f5d78350506d76eb99
parent706631225e9ef0d2954c4bef51aaa2817e0f5e86
make all vector-size related integer params in $mem sim model signed

this fixes iverilog crashes such as the following:
warning: verinum::as_long() truncated 32 bits to 31, returns 2147483647
draw_net_input.c:711: Error: malloc() ran out of memory.
techlibs/common/simlib.v