What level are you aiming to? For just simple design, I think the easiest way is design RAM first and create a wrapper entity that restricts direction of data flow (that's gonna be OUT port, NOT INOUT).
How can I design Mux/Demux on Bidirectional port? This code doesn't seem right? Any help will be great. Thanks.
yanant
entity MUX_DEMUX is
generic (n : integer);
port (
a : inout std_logic_vector(n-1 downto 0);
b : inout std_logic_vector(n-1 downto 0);
o : inout...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.