| // Automatically modified by replacePGwithIfDef.pl |
| // iptguser Fri Aug 12 15:57:32 EDT 2011 |
| |
| // Automatically edited by removePhraseFromMultipleFiles.pl |
| // iptguser Fri Aug 12 15:57:12 EDT 2011 |
| // `suppress_faults;`enable_portfaults\n |
| // `ifdef TETRAMAX;`endif\n |
| // `ifdef functional;`endif\n |
| // `ifndef dont;`endif\n |
| // `else;`delay_mode_path\n |
| // `endif;\n |
| // `disable_portfaults;`nosuppress_faults\n |
| |
| `celldefine |
| `timescale 1ns / 1ps |
| |
| |
| module scs130hvl_mux2_1 ( |
| output X, |
| |
| input A0, |
| input A1, |
| input S |
| |
| `ifdef SC_USE_PG_PIN |
| , |
| input vpwr, |
| input vgnd, |
| input vpb, |
| input vnb |
| `endif |
| |
| ); |
| |
| `ifdef functional |
| `else |
| `ifdef SC_USE_PG_PIN |
| `else |
| supply1 vpwr; |
| supply0 vgnd; |
| supply1 vpb; |
| supply0 vnb; |
| `endif |
| |
| `endif |
| |
| |
| // modification by BNB, based on SPR13943. need to have |
| // the reg and specify gone when using a functional model. |
| `ifdef functional |
| `else |
| reg csi_notifier; |
| |
| specify |
| if ((!A1&!S)) (A0 +=> X) = (0:0:0,0:0:0); |
| if ((A1&!S)) (A0 +=> X) = (0:0:0,0:0:0); |
| if ((!A0&S)) (A1 +=> X) = (0:0:0,0:0:0); |
| if ((A0&S)) (A1 +=> X) = (0:0:0,0:0:0); |
| if ((!A0&A1)) (S +=> X) = (0:0:0,0:0:0); |
| if ((A0&!A1)) (S -=> X) = (0:0:0,0:0:0); |
| endspecify |
| `endif |
| |
| // aug27,2003 - bnb changed to udp model for muxs |
| |
| scs130hvl_pg_U_MUX_2_1 (UDP_IN_X, A0, A1, S); |
| `ifdef SC_USE_PG_PIN |
| |
| scs130hvl_pg_U_VPWR_VGND (UDP_OUT_X, UDP_IN_X, vpwr, vgnd) ; |
| buf (X, UDP_OUT_X) ; |
| |
| `else |
| buf ( X , UDP_IN_X ) ; |
| `endif |
| endmodule |
| `endcelldefine |