From 517b4e3248c700a97f98b66296acee778c799f68 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. (cherry picked from commit 6b17dcc5870a9868de68e942e2a182dec9984040) --- 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 299382b2c..b7e5135f5 100644 --- a/tgt-vvp/draw_net_input.c +++ b/tgt-vvp/draw_net_input.c @@ -303,7 +303,7 @@ static char* draw_net_input_drive(ivl_nexus_t nex, ivl_nexus_ptr_t nptr) char*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;