Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] Small problem with bidirectional ports in a code

Status
Not open for further replies.

jihadmoussa

Newbie level 5
Joined
Sep 28, 2010
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,342
Hi

I have problem with bidirectional port.
when I compile the following code I got an error message:
" string literal has a character 'z' not in the enumeration type"

signal dat : inout std_logic_vector(3 downto 0);
signal s_dat_is_output : std_logic;
signal s_dat :std_logic_vector(3 downto 0);

dat <= s_dat when s_dat_is_output='1' else "zzzz";

Please can you help me dealing with inout ports.

---------- Post added at 11:43 ---------- Previous post was at 11:28 ----------

Thank you every one the problem was with capital Z
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top