- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i see Verilog can
DT <= QQ ^ TT; but in vhdl is not the case. How to translate Verilog above to VHDL LIBRARY ieee; USE ieee.std_logic_1164.all; ENTITY TFF3 IS PORT ( TT, CC : IN STD_LOGIC; QQ : OUT STD_LOGIC); END TFF3; ARCHITECTURE Structurala OF TFF3 IS SIGNAL DT : STD_LOGIC; component DFF3 PORT ( Data, Clock : IN STD_LOGIC; DQQ : OUT STD_LOGIC); end component; BEGIN DT <= QQ or TT; Stage1:DFF3 port map (Data => DT, Clock => CC, DQQ => QQ); END Structurala;Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The VHDL equivalent of ^ is XOR rather than OR.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page