1 | ENTITY sff1_x4 IS |
---|
2 | GENERIC ( |
---|
3 | CONSTANT area : NATURAL := 4500; |
---|
4 | CONSTANT cin_ck : NATURAL := 8; |
---|
5 | CONSTANT cin_i : NATURAL := 8; |
---|
6 | CONSTANT rdown_ck_q : NATURAL := 800; |
---|
7 | CONSTANT rup_ck_q : NATURAL := 890; |
---|
8 | CONSTANT taf_ck_q : NATURAL := 500; |
---|
9 | CONSTANT tar_ck_q : NATURAL := 500; |
---|
10 | CONSTANT thf_i_ck : NATURAL := 0; |
---|
11 | CONSTANT thr_i_ck : NATURAL := 0; |
---|
12 | CONSTANT tsf_i_ck : NATURAL := 585; |
---|
13 | CONSTANT tsr_i_ck : NATURAL := 476; |
---|
14 | CONSTANT transistors : NATURAL := 26 |
---|
15 | ); |
---|
16 | PORT ( |
---|
17 | ck : in BIT; |
---|
18 | i : in BIT; |
---|
19 | q : out BIT; |
---|
20 | vdd : in BIT; |
---|
21 | vss : in BIT |
---|
22 | ); |
---|
23 | END sff1_x4; |
---|
24 | |
---|
25 | ARCHITECTURE VBE OF sff1_x4 IS |
---|
26 | SIGNAL sff_m : REG_BIT REGISTER; |
---|
27 | |
---|
28 | BEGIN |
---|
29 | ASSERT (vdd and not (vss)) |
---|
30 | REPORT "power supply is missing on sff1_x4" |
---|
31 | SEVERITY WARNING; |
---|
32 | |
---|
33 | label0 : BLOCK ((ck and not (ck'STABLE)) = '1') |
---|
34 | BEGIN |
---|
35 | sff_m <= GUARDED i; |
---|
36 | END BLOCK label0; |
---|
37 | |
---|
38 | q <= sff_m after 1700 ps; |
---|
39 | END; |
---|