TDBSSTA2X4.v
1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
// VERSION:4.00 DATE:00/02/15 OPENCAD Verilog LIBRARY
`timescale 1ps / 1ps
`celldefine
`ifdef verifault
`suppress_faults
`enable_portfaults
`endif
module TDBSSTA2X4 ( BSCON, H01, H02, H03, H04, H05 );
input H01;
input H02;
input H03;
input H04;
input H05;
output BSCON;
buf ( _H01, H01 );
buf ( _H02, H02 );
buf ( _H03, H03 );
buf ( _H04, H04 );
buf ( _H05, H05 );
not ( _G001, _H03 );
and ( _G002, _H01, _H02 );
and ( _G003, _H01, _G001 );
and ( _G004, _H02, _H03 );
or ( _G005, _G002, _G003, _G004 );
not ( _G006, _H05 );
and ( _G007, _G005, _H04 );
and ( _G008, _G005, _G006 );
and ( _G009, _H04, _H05 );
or ( BSCON, _G007, _G008, _G009 );
specify
specparam DMY_SPC=1;
( H01 *> BSCON ) = ( DMY_SPC, DMY_SPC );
( H02 *> BSCON ) = ( DMY_SPC, DMY_SPC );
( H04 *> BSCON ) = ( DMY_SPC, DMY_SPC );
if ( H03 )
( H03 *> BSCON ) = ( DMY_SPC, DMY_SPC );
if ( !H03 )
( H03 *> BSCON ) = ( DMY_SPC, DMY_SPC );
if ( H05 )
( H05 *> BSCON ) = ( DMY_SPC, DMY_SPC );
if ( !H05 )
( H05 *> BSCON ) = ( DMY_SPC, DMY_SPC );
endspecify
endmodule
`ifdef verifault
`nosuppress_faults
`disable_portfaults
`endif
`endcelldefine