Skip to content

Commit a66c732

Browse files
Initial syncmem outputs now 0.
1 parent 08cd550 commit a66c732

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

memory.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ namespace chdl {
4949

5050
struct qnodeimpl : public nodeimpl {
5151
qnodeimpl(memory *mem, unsigned port, unsigned idx):
52-
mem(mem), port(port), idx(idx) {}
52+
mem(mem), port(port), idx(idx), t_cval(0xffff), cval(0) {}
5353

5454
bool eval(cdomain_handle_t cd);
5555

0 commit comments

Comments
 (0)