Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Feedback on vhdl

Status
Not open for further replies.

tasos69

Technical User
Aug 9, 2008
1
I am new in vhdl.I wand to do a Feedback on vhdl.
I have p1i as input and p1o as output and a signal tp,and i wand to send the output to the input.

signal tp: STD_LOGIC_VECTOR (1 DOWNTO 0);

--...---

p1i: in STD_LOGIC_VECTOR (1 DOWNTO 0);
p1o: out STD_LOGIC_VECTOR (1 DOWNTO 0);

--other code...---

p1o<=tp;
tp<=p1i;

The result that i have in output at wave for pi0 is 0X(zero and X).

Somone can help me.
 
tasos69,

Make sure tp is also a std_logic_vector 1 downto 0.

Why not just loop trough P1i to P1o (p1o <= p1i) altohough it would be better to clock it if possible.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top