blob: b7e526461ef96abf40a064d91a95fe4d00f2fb29 [file] [log] [blame]
// Automatically edited by removePhraseFromMultipleFiles.pl
// iptguser Thu Aug 25 16:08:57 EDT 2011
// `suppress_faults;`enable_portfaults\n
// `ifdef TETRAMAX;`endif\n
// `ifdef functional;`timescale
// `ifndef dont_change_delay_mode;`endif\n
// `ifndef dont_change_delay_mode;`else\n
// `ifndef dont_change_delay_mode;`endif\n
// `endif;\n
// `disable_portfaults;`nosuppress_faults
// Automatically modified by replacePGwithIfDef.pl
// iptguser Thu Aug 25 14:39:13 EDT 2011
`celldefine
`timescale 1ns / 1ps
module scs8ms_ha_4 (
output COUT,
output SUM,
input A,
input B
`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
`ifdef functional
`else
reg csi_notifier;
specify
(A +=> COUT) = (0:0:0,0:0:0);
(B +=> COUT) = (0:0:0,0:0:0);
if ((!B)) (A +=> SUM) = (0:0:0,0:0:0);
if ((B)) (A -=> SUM) = (0:0:0,0:0:0);
if ((!A)) (B +=> SUM) = (0:0:0,0:0:0);
if ((A)) (B -=> SUM) = (0:0:0,0:0:0);
endspecify
`endif
and ( UDP_IN_COUT , A , B ) ;
`ifdef SC_USE_PG_PIN
scs8ms_pg_U_VPWR_VGND (UDP_OUT_COUT, UDP_IN_COUT, vpwr, vgnd) ;
buf (COUT, UDP_OUT_COUT) ;
`else
buf ( COUT , UDP_IN_COUT ) ;
`endif
xor ( UDP_IN_SUM , B , A ) ;
`ifdef SC_USE_PG_PIN
scs8ms_pg_U_VPWR_VGND (UDP_OUT_SUM, UDP_IN_SUM, vpwr, vgnd) ;
buf (SUM, UDP_OUT_SUM) ;
`else
buf ( SUM , UDP_IN_SUM ) ;
`endif
endmodule
`endcelldefine