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
51 FF1_S_EFn <= not S_EFn;
52 FF1_S_HFn <= not S_HFn;
53 FF1_S_FFn <= not S_FFn;
54 FF1_R_EFn <= not R_EFn;
55 FF1_R_HFn <= not R_HFn;
56 FF1_R_FFn <= not R_FFn;
64 if (PCI_CLOCK'event and PCI_CLOCK = '1') then
68 FF2_S_EFn <= FF1_S_EFn;
69 FF2_S_HFn <= FF1_S_HFn;
70 FF2_S_FFn <= FF1_S_FFn;
71 FF2_R_EFn <= FF1_R_EFn;
72 FF2_R_HFn <= FF1_R_HFn;
73 FF2_R_FFn <= FF1_R_FFn;
77 FF2_S_EFn <= FF2_S_EFn;
78 FF2_S_HFn <= FF2_S_HFn;
79 FF2_S_FFn <= FF2_S_FFn;
80 FF2_R_EFn <= FF2_R_EFn;
81 FF2_R_HFn <= FF2_R_HFn;
82 FF2_R_FFn <= FF2_R_FFn;
88 SYNC_FLAG(0) <= FLAG_IN_0;
89 SYNC_FLAG(1) <= FF2_R_EFn;
90 SYNC_FLAG(2) <= FF2_R_HFn;
91 SYNC_FLAG(3) <= FF2_R_FFn;
92 SYNC_FLAG(4) <= FLAG_IN_4;
93 SYNC_FLAG(5) <= FF2_S_EFn;
94 SYNC_FLAG(6) <= FF2_S_HFn;
95 SYNC_FLAG(7) <= FF2_S_FFn;
97 end architecture FLAG_BUS_DESIGN;