⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vpack.h

📁 fpga设计评估软件
💻 H
字号:
#define MAXLUT 7        /* Maximum number of inputs per LUT */#define HASHSIZE 4095#define NAMELENGTH 16   /* Length of the name stored for each net */ #define DEBUG 1         /* Echoes input & checks error conditions *//*#define VERBOSE 1*/   /* Prints all sorts of intermediate data */#define NO_CLUSTER -1#define NEVER_CLUSTER -2#define NOT_VALID -10000  /* Marks gains that aren't valid */                          /* Ensure no gain can ever be this negative! */#define UNDEFINED -1    #define DRIVER 0     /* Is a pin driving a net or in the fanout? */#define RECEIVER 1#define OPEN -1      /* Pin is unconnected. */enum block_types {INPAD = -2, OUTPAD, LUT, LATCH, EMPTY, LUT_AND_LATCH};enum e_cluster_seed {TIMING, MAX_INPUTS};struct hash_nets {char *name; int index; int count;    struct hash_nets *next;}; /* count is the number of pins on this net so far. */struct s_net {char *name; int num_pins; int *pins;};/* name:  ASCII net name for informative annotations in the output.  * * num_pins:  Number of pins on this net.                            * * pins[]: Array containing the blocks to which the pins of this net * *         connect.  Output in pins[0], inputs in other entries.     */struct s_block {char *name; enum block_types type; int num_nets;                int nets[MAXLUT+2];}; /* name:  Taken from the net which it drives.                        * * type:  LUT, INPAD, OUTPAD or LATCH.                               * * num_nets:  number of nets connected to this block.                * * nets[]:  List of nets connected to this block.  Net[0] is the     * *          output, others are inputs, except for OUTPAD.  OUTPADs   * *          only have an input, so this input is in net[0].          */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -