Use the correct line information in crop_to_width()
This was using its own information instead of the input nets information.
This commit is contained in:
parent
5ff8aa701a
commit
f6d1a891a1
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1999-2008 Stephen Williams (steve@icarus.com)
|
* Copyright (c) 1999-2009 Stephen Williams (steve@icarus.com)
|
||||||
*
|
*
|
||||||
* 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
|
||||||
|
|
@ -134,7 +134,7 @@ NetNet*crop_to_width(Design*des, NetNet*net, unsigned wid)
|
||||||
NetNet::WIRE, wid);
|
NetNet::WIRE, wid);
|
||||||
tmp->data_type(net->data_type());
|
tmp->data_type(net->data_type());
|
||||||
tmp->local_flag(true);
|
tmp->local_flag(true);
|
||||||
tmp->set_line(*tmp);
|
tmp->set_line(*net);
|
||||||
connect(ps->pin(0), tmp->pin(0));
|
connect(ps->pin(0), tmp->pin(0));
|
||||||
|
|
||||||
return tmp;
|
return tmp;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue