TBBSSNB2X4.v 1.17 KB
// VERSION:4.00 DATE:00/02/15 OPENCAD Verilog LIBRARY
`timescale 1ps / 1ps
`celldefine
`ifdef verifault
    `suppress_faults
    `enable_portfaults
`endif
module TBBSSNB2X4 ( BSCON, N02, H01, H02, H03 );
    input H01;
    input H02;
    input H03;
    output BSCON;
    output N02;

    buf ( _H01, H01 );
    not ( _G001, _H01 );
    buf ( _H02, H02 );
    not ( _G002, _H02 );
    buf ( _H03, H03 );
    not ( _G003, _H03 );
    and ( _G010, _G001, _G002 );
    and ( _G011, _G001, _G003 );
    and ( _G012, _G002, _H03 );
    nor ( BSCON, _G010, _G011, _G012 );
    buf ( N02, BSCON );

    specify
        specparam DMY_SPC=1;

        ( H01 *> BSCON ) = ( DMY_SPC, DMY_SPC );
        ( H02 *> BSCON ) = ( DMY_SPC, DMY_SPC );

        ( H01 *> N02 ) = ( DMY_SPC, DMY_SPC );
        ( H02 *> N02 ) = ( DMY_SPC, DMY_SPC );

      if ( H03 )
        ( H03 *> BSCON ) = ( DMY_SPC, DMY_SPC );
      if ( !H03 )
        ( H03 *> BSCON ) = ( DMY_SPC, DMY_SPC );
      if ( H03 )
        ( H03 *> N02 ) = ( DMY_SPC, DMY_SPC );
      if ( !H03 )
        ( H03 *> N02 ) = ( DMY_SPC, DMY_SPC );
    endspecify
endmodule
`ifdef verifault
    `nosuppress_faults
    `disable_portfaults
`endif
`endcelldefine