Use the port that has already been fetched.

This patch reuses the port that has already been fetched vs
fetching it again.
(cherry picked from commit a7741d2bd5)
This commit is contained in:
Cary R 2009-04-07 14:25:36 -07:00 committed by Stephen Williams
parent dfe7279488
commit 6f692e7984
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2001-2008 Stephen Williams (steve@icarus.com)
* Copyright (c) 2001-2009 Stephen Williams (steve@icarus.com)
*
* This source code is free software; you can redistribute it
* and/or modify it in source code form under the terms of the GNU
@ -49,7 +49,7 @@ void vvp_fun_boolean_::recv_vec4(vvp_net_ptr_t ptr, const vvp_vector4_t&bit,
if (input_[port] .eeq( bit ))
return;
input_[ptr.port()] = bit;
input_[port] = bit;
if (net_ == 0) {
net_ = ptr.ptr();
schedule_generic(this, 0, false);