| // Automatically modified by replacePGwithIfDef.pl |
| // iptguser Thu Aug 18 13:10:16 EDT 2011 |
| |
| // Automatically edited by removePhraseFromMultipleFiles.pl |
| // iptguser Mon Aug 8 14:40:00 EDT 2011 |
| // \`suppress_faults;^\n |
| // \`ifdef TETRAMAX;^\n |
| // \`ifdef functional;\`else |
| // \`delay_mode_path;^\n |
| // \`disable_portfaults;\`nosuppress_faults |
| |
| `celldefine |
| `timescale 1ns / 1ps |
| |
| module scs8lp_dfbbn_1 ( |
| output Q, |
| output QN, |
| input D, |
| input CLKN, |
| input SETB, |
| 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 reset; |
| wire set; |
| wire clk; |
| wire buf_Q; |
| wire CLKN_delayed; |
| wire RESETB_delayed; |
| wire SETB_delayed; |
| |
| `ifdef functional |
| not ( reset , RESETB ) ; |
| not ( set , SETB ) ; |
| not ( clk , CLKN ) ; |
| `ifdef SC_USE_PG_PIN |
| scs8lpa_U_DFB_SETDOM_NO_pg #0.001 ( buf_Q , set , reset , clk , D , , vpwr , vgnd ) ; |
| `else |
| scs8lpa_U_DFB_SETDOM #0.001 ( buf_Q , set , reset , clk , D ) ; |
| `endif |
| `else |
| reg notifier ; |
| |
| not ( reset , RESETB_delayed ) ; |
| not ( set , SETB_delayed ) ; |
| not ( clk , CLKN_delayed ) ; |
| scs8lpa_U_DFB_SETDOM_NO_pg ( buf_Q , set , reset , clk , D_delayed , notifier , vpwr , vgnd ) ; |
| |
| wire AWAKE; |
| wire COND0; |
| wire COND1; |
| wire CONDB; |
| assign AWAKE = ( vpwr === 1'b1 ) ; |
| assign COND0 = ( AWAKE && ( RESETB_delayed === 1'b1 ) ) ; |
| assign COND1 = ( AWAKE && ( SETB_delayed === 1'b1 ) ) ; |
| assign CONDB = ( COND0 & COND1 ) ; |
| specify |
| ( negedge RESETB => ( Q +: RESETB ) ) = 0:0:0 ; // delay is tfall |
| ( negedge RESETB => ( QN -: RESETB ) ) = 0:0:0 ; // delay is tris |
| |
| ( SETB => ( Q -: SETB ) ) = ( 0:0:0 , 0:0:0 ) ; // delay is tris , tfall |
| ( SETB => ( QN +: SETB ) ) = ( 0:0:0 , 0:0:0 ) ; // delay is tris , tfall |
| |
| ( negedge CLKN => ( Q +: D ) ) = ( 0:0:0 , 0:0:0 ) ; // delays are tris , tfall |
| ( negedge CLKN => ( QN -: D ) ) = ( 0:0:0 , 0:0:0 ) ; // delays are tris , tfall |
| |
| $recrem ( posedge SETB , negedge CLKN , 0:0:0 , 0:0:0 , notifier , COND0 , COND0 , SETB_delayed , CLKN_delayed ) ; |
| $recrem ( posedge RESETB , negedge CLKN , 0:0:0 , 0:0:0 , notifier , COND1 , COND1 , RESETB_delayed , CLKN_delayed ) ; |
| |
| $setuphold ( negedge CLKN , posedge D , 0:0:0 , 0:0:0 , notifier , CONDB , CONDB , CLKN_delayed , D_delayed ) ; |
| $setuphold ( negedge CLKN , negedge D , 0:0:0 , 0:0:0 , notifier , CONDB , CONDB , CLKN_delayed , D_delayed ) ; |
| |
| $hold ( posedge SETB &&& AWAKE , posedge RESETB &&& AWAKE , 3.0:3.0:3.0 , notifier ) ; //arbitrary , uncharacterized value to |
| //flag possible state error |
| $hold ( posedge RESETB &&& AWAKE , posedge SETB &&& AWAKE , 3.0:3.0:3.0 , notifier ) ; //arbitrary , uncharacterized value to |
| //flag possible state error |
| |
| $width ( negedge CLKN &&& CONDB , 1.0:1.0:1.0 , 0 , notifier ) ; |
| $width ( posedge CLKN &&& CONDB , 1.0:1.0:1.0 , 0 , notifier ) ; |
| $width ( negedge SETB &&& AWAKE , 1.0:1.0:1.0 , 0 , notifier ) ; |
| $width ( posedge SETB &&& AWAKE , 1.0:1.0:1.0 , 0 , notifier ) ; |
| $width ( negedge RESETB &&& AWAKE , 1.0:1.0:1.0 , 0 , notifier ) ; |
| $width ( posedge RESETB &&& AWAKE , 1.0:1.0:1.0 , 0 , notifier ) ; |
| |
| endspecify |
| |
| |
| `endif |
| buf ( Q , buf_Q ) ; |
| not ( QN , buf_Q ) ; |
| |
| |
| endmodule |
| `endcelldefine |