7 use IEEE.std_logic_1164.all;
12 PCI_CLOCK :in std_logic;
14 FLAG_IN_0 :in std_logic;
18 FLAG_IN_4 :in std_logic;
23 SYNC_FLAG :out std_logic_vector (7 downto 0)
27 architecture FLAG_BUS_DESIGN of FLAG_BUS is
30 signal FF1_S_EFn :std_logic;
31 signal FF1_S_HFn :std_logic;
32 signal FF1_S_FFn :std_logic;
33 signal FF1_R_EFn :std_logic;
34 signal FF1_R_HFn :std_logic;
35 signal FF1_R_FFn :std_logic;
37 signal FF2_S_EFn :std_logic;
38 signal FF2_S_HFn :std_logic;
39 signal FF2_S_FFn :std_logic;
40 signal FF2_R_EFn :std_logic;
41 signal FF2_R_HFn :std_logic;
42 signal FF2_R_FFn :std_logic;
49 if (PCI_CLOCK'event and PCI_CLOCK = '1') then
50 FF1_S_EFn <= not S_EFn;
51 FF1_S_HFn <= not S_HFn;
52 FF1_S_FFn <= not S_FFn;
53 FF1_R_EFn <= not R_EFn;
54 FF1_R_HFn <= not R_HFn;
55 FF1_R_FFn <= not R_FFn;
62 if (PCI_CLOCK'event and PCI_CLOCK = '1') then
64 FF2_S_EFn <= FF1_S_EFn;
65 FF2_S_HFn <= FF1_S_HFn;
66 FF2_S_FFn <= FF1_S_FFn;
67 FF2_R_EFn <= FF1_R_EFn;
68 FF2_R_HFn <= FF1_R_HFn;
69 FF2_R_FFn <= FF1_R_FFn;
72 FF2_S_EFn <= FF2_S_EFn;
73 FF2_S_HFn <= FF2_S_HFn;
74 FF2_S_FFn <= FF2_S_FFn;
75 FF2_R_EFn <= FF2_R_EFn;
76 FF2_R_HFn <= FF2_R_HFn;
77 FF2_R_FFn <= FF2_R_FFn;
82 SYNC_FLAG(0) <= FLAG_IN_0;
83 SYNC_FLAG(1) <= FF2_R_EFn;
84 SYNC_FLAG(2) <= FF2_R_HFn;
85 SYNC_FLAG(3) <= FF2_R_FFn;
86 SYNC_FLAG(4) <= FLAG_IN_4;
87 SYNC_FLAG(5) <= FF2_S_EFn;
88 SYNC_FLAG(6) <= FF2_S_HFn;
89 SYNC_FLAG(7) <= FF2_S_FFn;
91 end architecture FLAG_BUS_DESIGN;