blob: 08d64dfc23d41aea2ace4df8bfc9c0e01c388047 [file] [log] [blame]
// Automatically edited by removePhraseFromMultipleFiles.pl
// iptguser Tue Aug 23 13:13:20 EDT 2011
// \`suppress_faults;^\n
// \`ifdef TETRAMAX;^\n
// \`ifdef functional;\`else
// \`delay_mode_path;^\n
// \`disable_portfaults;\`nosuppress_faults
// Automatically modified by replacePGwithIfDef.pl
// iptguser Tue Aug 23 12:32:34 EDT 2011
`celldefine
`timescale 1ns / 1ps
module scs8hd_dfrbp_2 (
output Q,
output QN,
input CLK,
input D,
input RESETB
`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
wire buf_Q;
wire reset;
`ifdef functional
not ( reset , RESETB ) ;
`ifdef SC_USE_PG_PIN
scs8hd_pg_U_DF_P_R_NO_pg #0.001 ( buf_Q , D , CLK , reset , , vpwr , vgnd ) ;
`else
scs8hd_pg_U_DF_P_R #0.001 ( buf_Q , D , CLK , reset ) ;
`endif
`else
reg notifier ;
wire D_delayed;
wire RESETB_delayed;
wire CLK_delayed;
not ( reset , RESETB_delayed ) ;
scs8hd_pg_U_DF_P_R_NO_pg ( buf_Q , D_delayed , CLK_delayed , reset , notifier , vpwr , vgnd ) ;
wire AWAKE;
wire COND0;
wire COND1;
assign COND0 = ( AWAKE && ( RESETB_delayed === 1'b1 ) ) ;
assign COND1 = ( AWAKE && ( RESETB === 1'b1 ) ) ;
specify
( negedge RESETB => ( Q +: RESETB ) ) = 0:0:0 ; // delay is tris
( negedge RESETB => ( QN -: RESETB ) ) = 0:0:0 ; // delay is tris
( posedge CLK => ( Q : CLK ) ) = ( 0:0:0 , 0:0:0 ) ; // delays are tris , tfall
( posedge CLK => ( QN : CLK ) ) = ( 0:0:0 , 0:0:0 ) ; // delays are tris , tfall
$recrem ( posedge RESETB , posedge CLK , 0:0:0 , 0:0:0 , notifier , AWAKE , AWAKE , RESETB_delayed , CLK_delayed ) ;
$setuphold ( posedge CLK , posedge D , 0:0:0 , 0:0:0 , notifier , COND0 , COND0 , CLK_delayed , D_delayed ) ;
$setuphold ( posedge CLK , negedge D , 0:0:0 , 0:0:0 , notifier , COND0 , COND0 , CLK_delayed , D_delayed ) ;
$width ( posedge CLK &&& COND1 , 1.0:1.0:1.0 , 0 , notifier ) ;
$width ( negedge CLK &&& COND1 , 1.0:1.0:1.0 , 0 , notifier ) ;
$width ( negedge RESETB &&& AWAKE , 1.0:1.0:1.0 , 0 , notifier ) ;
endspecify
`endif
buf ( Q , buf_Q ) ;
not ( QN , buf_Q ) ;
endmodule
`endcelldefine