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

📄 pla.h

📁 Implement the step 2 of two-level logic minimization. Our goal is to find the minimum (exact minim
💻 H
字号:
#include <stdio.h>#include <string.h>#include <stdlib.h>#ifndef BPI#define BPI 32#endif#define DASH 3#define ONE  1#define ZERO 2/* define structure type */typedef unsigned int set, *pset;typedef struct cublist {   pset cube;   struct cublist *next;} cublist;typedef struct Pla {   int inputs;          /* number of inputs in this pla */   int wsize;           /* size of each set in 'ints' */   int cubes;           /* number of cubes */   pset *cubarr;        /* cube array */   int *lit;            /* literals of each cube */   int onno;            /* number of on-set terms */   cublist *onset;      /* on-set numbers */} Pla, *pPla;/*define functions */void findcost(pPla func, char *mpath, int *mcost, int *mlit);pPla readpla(FILE *fp);void print_cube(int inputs, pset cube);

⌨️ 快捷键说明

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