No longer export generic-edif functions.
This commit is contained in:
parent
0ffb613229
commit
3a3e288f6f
|
|
@ -17,7 +17,7 @@
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
||||||
*/
|
*/
|
||||||
#ifdef HAVE_CVS_IDENT
|
#ifdef HAVE_CVS_IDENT
|
||||||
#ident "$Id: d-generic-edif.c,v 1.15 2003/06/24 03:55:00 steve Exp $"
|
#ident "$Id: d-generic-edif.c,v 1.16 2003/07/02 00:48:03 steve Exp $"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
# include "device.h"
|
# include "device.h"
|
||||||
|
|
@ -36,9 +36,9 @@ struct nexus_recall {
|
||||||
};
|
};
|
||||||
static struct nexus_recall*net_list = 0;
|
static struct nexus_recall*net_list = 0;
|
||||||
|
|
||||||
unsigned edif_uref = 0;
|
static unsigned edif_uref = 0;
|
||||||
|
|
||||||
void edif_set_nexus_joint(ivl_nexus_t nex, const char*joint)
|
static void edif_set_nexus_joint(ivl_nexus_t nex, const char*joint)
|
||||||
{
|
{
|
||||||
size_t newlen;
|
size_t newlen;
|
||||||
struct nexus_recall*rec;
|
struct nexus_recall*rec;
|
||||||
|
|
@ -115,7 +115,7 @@ static void show_root_ports_edif(ivl_scope_t root)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void edif_show_header_generic(ivl_design_t des, const char*library)
|
static void edif_show_header_generic(ivl_design_t des, const char*library)
|
||||||
{
|
{
|
||||||
ivl_scope_t root = ivl_design_root(des);
|
ivl_scope_t root = ivl_design_root(des);
|
||||||
|
|
||||||
|
|
@ -262,7 +262,7 @@ static void edif_show_consts(ivl_design_t des)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void edif_show_footer(ivl_design_t des)
|
static void edif_show_footer(ivl_design_t des)
|
||||||
{
|
{
|
||||||
unsigned nref = 0;
|
unsigned nref = 0;
|
||||||
struct nexus_recall*cur;
|
struct nexus_recall*cur;
|
||||||
|
|
@ -387,7 +387,7 @@ static void edif_show_logic(ivl_net_logic_t net)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void edif_show_generic_dff(ivl_lpm_t net)
|
static void edif_show_generic_dff(ivl_lpm_t net)
|
||||||
{
|
{
|
||||||
ivl_nexus_t nex;
|
ivl_nexus_t nex;
|
||||||
char jbuf[1024];
|
char jbuf[1024];
|
||||||
|
|
@ -476,6 +476,9 @@ const struct device_s d_generic_edif = {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* $Log: d-generic-edif.c,v $
|
* $Log: d-generic-edif.c,v $
|
||||||
|
* Revision 1.16 2003/07/02 00:48:03 steve
|
||||||
|
* No longer export generic-edif functions.
|
||||||
|
*
|
||||||
* Revision 1.15 2003/06/24 03:55:00 steve
|
* Revision 1.15 2003/06/24 03:55:00 steve
|
||||||
* Add ivl_synthesis_cell support for virtex2.
|
* Add ivl_synthesis_cell support for virtex2.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
||||||
*/
|
*/
|
||||||
#ifdef HAVE_CVS_IDENT
|
#ifdef HAVE_CVS_IDENT
|
||||||
#ident "$Id: fpga_priv.h,v 1.7 2003/06/24 03:55:00 steve Exp $"
|
#ident "$Id: fpga_priv.h,v 1.8 2003/07/02 00:48:03 steve Exp $"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
# include <stdio.h>
|
# include <stdio.h>
|
||||||
|
|
@ -50,44 +50,12 @@ extern void xnf_mangle_lpm_name(ivl_lpm_t net, char*buf, size_t nbuf);
|
||||||
|
|
||||||
extern const char*xnf_mangle_nexus_name(ivl_nexus_t net);
|
extern const char*xnf_mangle_nexus_name(ivl_nexus_t net);
|
||||||
|
|
||||||
/*
|
|
||||||
* These are generic EDIF functions that EDIF targets use.
|
|
||||||
*
|
|
||||||
* edif_show_header_generic
|
|
||||||
* This function draws the header part of the EDIF file, including
|
|
||||||
* the ports of the module, if there are any. Also include the
|
|
||||||
* library string where the external library would go.
|
|
||||||
*
|
|
||||||
* edif_show_footer
|
|
||||||
* This completes the net items, draws the constant references, then
|
|
||||||
* writes out the final declarations of the EDIF file.
|
|
||||||
*
|
|
||||||
* edif_set_nexus_joint
|
|
||||||
* This stores joint information in the nexus, and save the nexus in
|
|
||||||
* a list the edif_show_footer function later uses that list to draw
|
|
||||||
* all the join records.
|
|
||||||
*
|
|
||||||
* edif_show_generic_dff
|
|
||||||
* The edif DFF is an FDCE. This function draws an FDCE for the lpm
|
|
||||||
* DFF of the design.
|
|
||||||
*
|
|
||||||
* edif_uref
|
|
||||||
* This global variable keeps count of the devices drawn. Since the
|
|
||||||
* EDIF format has very simple names, each device instead has a uref
|
|
||||||
* and a name of the form U%u. A (rename U% "foo") preserves the
|
|
||||||
* real name.
|
|
||||||
*/
|
|
||||||
extern void edif_show_header_generic(ivl_design_t des, const char*library);
|
|
||||||
extern void edif_show_footer(ivl_design_t des);
|
|
||||||
extern void edif_set_nexus_joint(ivl_nexus_t nex, const char*joint);
|
|
||||||
|
|
||||||
extern void edif_show_generic_dff(ivl_lpm_t net);
|
|
||||||
|
|
||||||
extern unsigned edif_uref;
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* $Log: fpga_priv.h,v $
|
* $Log: fpga_priv.h,v $
|
||||||
|
* Revision 1.8 2003/07/02 00:48:03 steve
|
||||||
|
* No longer export generic-edif functions.
|
||||||
|
*
|
||||||
* Revision 1.7 2003/06/24 03:55:00 steve
|
* Revision 1.7 2003/06/24 03:55:00 steve
|
||||||
* Add ivl_synthesis_cell support for virtex2.
|
* Add ivl_synthesis_cell support for virtex2.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue