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

📄 class.v

📁 design compile synthesis user guide
💻 V
📖 第 1 页 / 共 2 页
字号:
module ND6P(Z,A,B,C,D,E,F);  input A,B,C,D,E,F;  output Z;  nand (Z,A,B,C,D,E,F);endmodulemodule NR6P(Z,A,B,C,D,E,F);  input A,B,C,D,E,F;  output Z;  nor (Z,A,B,C,D,E,F);endmodulemodule ND8P(Z,A,B,C,D,E,F,G,H);  input A,B,C,D,E,F,G,H;  output Z;  nand (Z,A,B,C,D,E,F,G,H);endmodulemodule NR8P(Z,A,B,C,D,E,F,G,H);  input A,B,C,D,E,F,G,H;  output Z;  nor (Z,A,B,C,D,E,F,G,H);endmodulemodule NR16(Z,I0,I1,I2,I3,I4,I5,I6,I7,I8,I9,I10,I11,I12,I13,I14,I15);  input I0,I1,I2,I3,I4,I5,I6,I7,I8,I9,I10,I11,I12,I13,I14,I15;  output Z;  nor (Z,I0,I1,I2,I3,I4,I5,I6,I7,I8,I9,I10,I11,I12,I13,I14,I15);endmodulemodule NR16P(Z,I0,I1,I2,I3,I4,I5,I6,I7,I8,I9,I10,I11,I12,I13,I14,I15);  input I0,I1,I2,I3,I4,I5,I6,I7,I8,I9,I10,I11,I12,I13,I14,I15;  output Z;  nor (Z,I0,I1,I2,I3,I4,I5,I6,I7,I8,I9,I10,I11,I12,I13,I14,I15);endmodulemodule ENP(Z,A,B);  input A,B;  output Z;  xnor (Z,A,B);endmodulemodule EOP(Z,A,B);  input A,B;  output Z;  xor (Z,A,B);endmodulemodule EO1P(Z,A,B,C,D);  input A,B,C,D;  output Z;  p_eo1 (Z,A,B,C,D);endmodulemodule EON1P(Z,A,B,C,D);  input A,B,C,D;  output Z;  p_eon1 (Z,A,B,C,D);endmodulemodule AO1P(Z,A,B,C,D);  input A,B,C,D;  output Z;  p_ao1(Z,A,B,C,D);endmodulemodule AO3P(Z,A,B,C,D);  input A,B,C,D;  output Z;  p_ao3(Z,A,B,C,D);endmodulemodule MUX21HP(Z,S,A,B);  input S,A,B;  output Z;  p_mux21h (Z,S,A,B);endmodulemodule MUX21L(Z,S,A,B);  input S,A,B;  output Z;  p_mux21l (Z,S,A,B);endmodulemodule MUX21LP(Z,S,A,B);  input S,A,B;  output Z;  p_mux21l (Z,S,A,B);endmoduleprimitive p_mux21l(Z,S,A,B);  input S,A,B;  output Z;  table//  S A B : Z    0 0 ? : 1;    0 1 ? : 0;    1 ? 0 : 1;    1 ? 1 : 0;    x 0 0 : 1;    x 1 1 : 0;  endtableendprimitivemodule MUX31L(Z,A,B,D0,D1,D2);  input A,B,D0,D1,D2;  output Z;  p_mux31l (Z,A,B,D0,D1,D2);endmodulemodule MUX31LP(Z,A,B,D0,D1,D2);  input A,B,D0,D1,D2;  output Z;  p_mux31l (Z,A,B,D0,D1,D2);endmoduleprimitive p_mux31l(Z,A,B,D0,D1,D2);  input A,B,D0,D1,D2;  output Z;  table//  A B D0 D1 D2 : Z    0 0  0  ?  ? : 1;    0 0  1  ?  ? : 0;    1 0  ?  0  ? : 1;    1 0  ?  1  ? : 0;    ? 1  ?  ?  0 : 1;    ? 1  ?  ?  1 : 0;    x 0  0  0  ? : 1;    x 0  1  1  ? : 0;    x x  0  0  0 : 1;    x x  1  1  1 : 0;    0 x  0  ?  0 : 1;    0 x  1  ?  1 : 0;    1 x  ?  0  0 : 1;    1 x  ?  1  1 : 0;  endtableendprimitivemodule MUX21LA(Z,S,SN,A,B);  input S,SN,A,B;  output Z;  p_mux21la (Z,S,SN,A,B);endmoduleprimitive p_mux21la(Z,S,SN,A,B);  input S,SN,A,B;  output Z;  table//  S SN A B : Z    1  0 ? 0 : 1;    1  0 ? 1 : 0;    0  1 0 ? : 1;    0  1 1 ? : 0;    1  1 0 0 : 1;    1  1 1 1 : 0;    1  x 0 0 : 1;    1  x 1 1 : 0;    x  1 0 0 : 1;    x  1 1 1 : 0;  endtableendprimitivemodule AO5(Z,A,B,C);  input A,B,C;  output Z;  p_ao5(Z,A,B,C);endmodulemodule AO5P(Z,A,B,C);  input A,B,C;  output Z;  p_ao5(Z,A,B,C);endmoduleprimitive p_ao5(Z,A,B,C);  input A,B,C;  output Z;  table//  A B C : Z    1 1 ? : 0;    1 ? 1 : 0;    ? 1 1 : 0;    0 0 ? : 1;    0 ? 0 : 1;    ? 0 0 : 1;  endtableendprimitivemodule EN3(Z,A,B,C);  input A,B,C;  output Z;  xnor (Z,A,B,C);endmodulemodule EN3P(Z,A,B,C);  input A,B,C;  output Z;  xnor (Z,A,B,C);endmodulemodule EO3(Z,A,B,C);  input A,B,C;  output Z;  xor (Z,A,B,C);endmodulemodule EO3P(Z,A,B,C);  input A,B,C;  output Z;  xor (Z,A,B,C);endmodulemodule MUX21LAP(Z,S,SN,A,B);  input S,SN,A,B;  output Z;  p_mux21la (Z,S,SN,A,B);endmodulemodule NR4P(Z,A,B,C,D);  input A,B,C,D;  output Z;  nor (Z,A,B,C,D);endmodulemodule FD1(D, CP, Q, QN);  output Q, QN;  input D, CP;  p_dreg #1 (Q,CP,D);  not (QN,Q);endmoduleprimitive p_dreg(q,cp,d);  output q;  reg q;  input cp,d;  table// cp d : present q : next q    r 0 : ? : 0;    r 1 : ? : 1;    f ? : ? : -;    b * : ? : -;    x 0 : 0 : 0;    x 1 : 1 : 1;  endtableendprimitivemodule FD1S(D, CP, TI, TE, Q, QN);  output Q, QN;  input D,CP,TI,TE;  p_dregscan #1 (Q,CP,D,TI,TE);  not (QN,Q);endmoduleprimitive p_dregscan(q,cp,d,ti,te);  output q;  reg q;  input cp,d,ti,te;  table// cp d ti te : present q : next q// normal mode    r 0  ?  0 : ? : 0;    r 1  ?  0 : ? : 1;    f ?  ?  ? : ? : -;    b *  ?  ? : ? : -;    b ?  *  ? : ? : -;    b ?  ?  * : ? : -;    x 0  ?  0 : 0 : 0;    x 1  ?  0 : 1 : 1;// scan mode    r ?  0  1 : ? : 0;    r ?  1  1 : ? : 1;    x ?  0  1 : 0 : 0;    x ?  1  1 : 1 : 1;// scan enable undefined    r 0  0  x : ? : 0;    r 1  1  x : ? : 1;    x 0  0  x : 0 : 0;    x 1  1  x : 1 : 1;  endtableendprimitivemodule FD2(D, CP, Q, QN,CD);  output Q, QN;  input D, CP,CD;  p_dregclear #1 (Q,CP,D,CD);  not (QN,Q);endmoduleprimitive p_dregclear(q,cp,d,cd);  output q;  reg q;  input cp,d,cd;  table// cp d cd : present q : next q// clear mode    ? ?  0 : ? : 0;    b ?  * : 0 : 0;  // EBP changed x to * 5/7/92    r 0  x : ? : 0;// normal mode    r 0  1 : ? : 0;    r 1  1 : ? : 1;    f ?  1 : ? : -;    b *  1 : ? : -;    x 0  1 : 0 : 0;    x 1  1 : 1 : 1;  endtableendprimitivemodule FD2S(D, CP, TI, TE, Q, QN,CD);  output Q, QN;  input D,CP,TI,TE,CD;  p_dregscanclear #1 (Q,CP,D,TI,TE,CD);  not (QN,Q);endmoduleprimitive p_dregscanclear(q,cp,d,ti,te,cd);  output q;  reg q;  input cp,d,ti,te,cd;  table// cp d ti te cd : present q : next q// clear mode    ? ?  ?  ?  0 : ? : 0;    b ?  ?  ?  * : 0 : 0; // EBP changed x to * 5/7/92    r 0  ?  0  x : ? : 0;    r ?  0  1  x : ? : 0;    r 0  0  x  x : ? : 0;// normal mode    r 0  ?  0  1 : ? : 0;    r 1  ?  0  1 : ? : 1;    f ?  ?  ?  1 : ? : -;    b *  ?  ?  1 : ? : -;    b ?  *  ?  1 : ? : -;    b ?  ?  *  1 : ? : -;    x 0  ?  0  1 : 0 : 0;    x 1  ?  0  1 : 1 : 1;// scan mode    r ?  0  1  1 : ? : 0;    r ?  1  1  1 : ? : 1;    x ?  0  1  1 : 0 : 0;    x ?  1  1  1 : 1 : 1;// scan enable undefined    r 0  0  x  1 : ? : 0;    r 1  1  x  1 : ? : 1;    x 0  0  x  1 : 0 : 0;    x 1  1  x  1 : 1 : 1;  endtableendprimitivemodule FD4(D, CP, Q, QN,SD);  output Q, QN;  input D, CP,SD;  not (QN,Q);  p_dregset #1 (Q,CP,D,SD);endmoduleprimitive p_dregset(q,cp,d,sd);  output q;  reg q;  input cp,d,sd;  table// cp d sd : present q : next q// set mode    ? ?  0 : ? : 1;    b ?  * : 1 : 1; // EBP changed x to * 5/7/92    r 1  x : ? : 1;// normal mode    r 0  1 : ? : 0;    r 1  1 : ? : 1;    f ?  1 : ? : -;    b *  1 : ? : -;    x 0  1 : 0 : 0;    x 1  1 : 1 : 1;  endtableendprimitivemodule FD4S(D, CP, TI, TE, Q, QN,SD);  output Q, QN;  input D,CP,TI,TE,SD;  not (QN,Q);  p_dregscanset #1 (Q,CP,D,TI,TE,SD);endmoduleprimitive p_dregscanset(q,cp,d,ti,te,sd);  output q;  reg q;  input cp,d,ti,te,sd;  table// cp d ti te sd : present q : next q// set mode    ? ?  ?  ?  0 : ? : 1;    b ?  ?  ?  * : 1 : 1; // EBP changed x to * 5/7/92    r 1  ?  0  x : ? : 1;    r ?  1  1  x : ? : 1;    r 1  1  x  x : ? : 1;// normal mode    r 0  ?  0  1 : ? : 0;    r 1  ?  0  1 : ? : 1;    f ?  ?  ?  1 : ? : -;    b *  ?  ?  1 : ? : -;    b ?  *  ?  1 : ? : -;    b ?  ?  *  1 : ? : -;    x 0  ?  0  1 : 0 : 0;    x 1  ?  0  1 : 1 : 1;// scan mode    r ?  0  1  1 : ? : 0;    r ?  1  1  1 : ? : 1;    x ?  0  1  1 : 0 : 0;    x ?  1  1  1 : 1 : 1;// scan enable undefined    r 0  0  x  1 : ? : 0;    r 1  1  x  1 : ? : 1;    x 0  0  x  1 : 0 : 0;    x 1  1  x  1 : 1 : 1;  endtableendprimitivemodule B2I(Z1,Z2,A);  input A;  output Z1,Z2;  not (Z1,A);  buf (Z2,A);endmodulemodule B2IP(Z1,Z2,A);  input A;  output Z1,Z2;  not (Z1,A);  buf (Z2,A);endmodulemodule B3I(Z1,Z2,A);  input A;  output Z1,Z2;  not (Z1,A);  buf (Z2,A);endmodulemodule B3IP(Z1,Z2,A);  input A;  output Z1,Z2;  not (Z1,A);  buf (Z2,A);endmodulemodule BTS5(Z,A,E);  input A,E;  output Z;  notif1 (Z,A,E);endmodulemodule LD1(D, G, Q, QN);  output Q, QN;  input D, G;  p_latch #1 (Q,G,D);  not (QN,Q);endmoduleprimitive p_latch(q,g,d);  output q;  reg q;  input g,d;  table//  g d : present q : next q    1 0 : ? : 0;    1 1 : ? : 1;    0 ? : ? : -;    x 0 : 0 : 0;    x 1 : 1 : 1;  endtableendprimitivemodule IBUF1(Z,A);  output Z;  input A;  buf (Z,A);endmodulemodule IBUF2(Z,A);  output Z;  input A;  buf (Z,A);endmodulemodule IBUF3(Z,A);  output Z;  input A;  buf (Z,A);endmodulemodule IBUF4(Z,A);  output Z;  input A;  buf (Z,A);endmodulemodule IBUF5(Z,A);  output Z;  input A;  buf (Z,A);endmodulemodule OBUF1(Z,A);  output Z;  input A;  buf (Z,A);endmodulemodule OBUF2(Z,A);  output Z;  input A;  buf (Z,A);endmodulemodule BIDI (Z,E,A);  input A,E;  output Z;  bufif0 (Z,A,E);endmodule

⌨️ 快捷键说明

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