From 6b17dcc5870a9868de68e942e2a182dec9984040 Mon Sep 17 00:00:00 2001 From: Stephen Williams Date: Mon, 12 Oct 2009 22:01:56 -0700 Subject: [PATCH] Get drive of pull-ups right. The drive for a pullup comes from ivl_nexus_pt_drive1. Get this wrong and a pullup turns into a HiZ. --- tgt-vvp/draw_net_input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tgt-vvp/draw_net_input.c b/tgt-vvp/draw_net_input.c index 17f6f6240..03609b017 100644 --- a/tgt-vvp/draw_net_input.c +++ b/tgt-vvp/draw_net_input.c @@ -305,7 +305,7 @@ static char* draw_net_input_drive(ivl_nexus_t nex, ivl_nexus_ptr_t nptr) result = malloc(result_len); char*dp = result; - val[0] = "01234567"[ivl_nexus_ptr_drive0(nptr)]; + val[0] = "01234567"[ivl_nexus_ptr_drive1(nptr)]; val[1] = val[0]; val[2] = '1'; val[3] = 0;