mirror of
git://projects.qi-hardware.com/fped.git
synced 2025-04-21 12:27:27 +03:00
Added relaxation of pad overlap checking. Not GUI-settable yet.
- README, fpd.l, fpd.y: added directives "allow touch" and "allow overlap" to make overlap checking more permissive - dump.c (dump_allow, dump): generate "allow" directive - obj.h, obj.c (allow_overlap): added global variable for strictness of overlap checking - overlap.h, overlap.c (overlap, ...), layer.h, layer.c (refine_layers): strictness of overlap checking is passed as an argument - hole.c (check_through_hole), layer.h, layer.c (refine_copper), obj.c (instantiate): updated callers of "overlap" to provide "allow" argument git-svn-id: http://svn.openmoko.org/trunk/eda/fped@5974 99fdad57-331a-0410-800a-d7fa5415bdb3
This commit is contained in:
4
obj.c
4
obj.c
@@ -22,6 +22,7 @@
|
||||
#include "meas.h"
|
||||
#include "inst.h"
|
||||
#include "hole.h"
|
||||
#include "overlap.h"
|
||||
#include "layer.h"
|
||||
#include "delete.h"
|
||||
#include "obj.h"
|
||||
@@ -37,6 +38,7 @@ char *pkg_name = NULL;
|
||||
struct frame *frames = NULL;
|
||||
struct frame *active_frame = NULL;
|
||||
void *instantiation_error = NULL;
|
||||
enum allow_overlap allow_overlap = ao_none;
|
||||
|
||||
|
||||
static struct bitset *frame_set; /* frames visited in "call chain" */
|
||||
@@ -498,7 +500,7 @@ int instantiate(void)
|
||||
if (ok)
|
||||
ok = link_holes();
|
||||
if (ok)
|
||||
ok = refine_layers();
|
||||
ok = refine_layers(allow_overlap);
|
||||
if (ok)
|
||||
ok = instantiate_meas(n_frames);
|
||||
if (ok)
|
||||
|
||||
Reference in New Issue
Block a user