5 -- capacity is the number of mem_cell composing column
6 -- width is the number of column composing column_xn
10 generic ( size, width : integer);
11 port ( com : in bit_vector(size-1 downto 0);
12 q, nq : inout mux_vector(width-1 downto 0) bus;
14 -- pragma symmetric com
15 -- pragma symmetric q(i) nq(i)
18 architecture structural of column_xn is
20 generic ( capacity : integer);
21 port ( q, nq : inout mux_bit bus;
22 com : in bit_vector(capacity-1 downto 0);
27 loop: for i in width-1 downto 0 generate
30 port map (q(i) ,nq(i) ,com ,vdd ,gnd);