mirror of
https://github.com/steveicarus/iverilog.git
synced 2026-08-22 05:47:31 +02:00
Use the port that has already been fetched.
This patch reuses the port that has already been fetched vs fetching it again.
This commit is contained in:
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2001-2008 Stephen Williams ([email protected])
|
* Copyright (c) 2001-2009 Stephen Williams ([email protected])
|
||||||
*
|
*
|
||||||
* This source code is free software; you can redistribute it
|
* This source code is free software; you can redistribute it
|
||||||
* and/or modify it in source code form under the terms of the GNU
|
* 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 ))
|
if (input_[port] .eeq( bit ))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
input_[ptr.port()] = bit;
|
input_[port] = bit;
|
||||||
if (net_ == 0) {
|
if (net_ == 0) {
|
||||||
net_ = ptr.ptr();
|
net_ = ptr.ptr();
|
||||||
schedule_generic(this, 0, false);
|
schedule_generic(this, 0, false);
|
||||||
|
|||||||
Reference in New Issue
Block a user