Altera_Forum
Honored Contributor
21 years agoHelp using QuartusII
Hi all!!! I've a question that may be simple for someone of you...
Let's suppose that in Quartus II I have to merge 2 wire in a single bus:in1------>|
|--------- out
in2------>| How can I do this in a graphical way??? I remember in Max Plus II it was simple, but I don't know how to do this in Quartus.... http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/dry.gif For the moment I use this code: LIBRARY ieee;
USE ieee.std_logic_1164.all;
ENTITY adaptBus IS
PORT
(
in1 : IN STD_LOGIC;
in2 : IN STD_LOGIC;
out : OUT STD_LOGIC_VECTOR (1 DOWNTO 0)
);
END adaptBus;
ARCHITECTURE SYN OF adaptBus IS
BEGIN
out(0) <= in1;
out(1) <= in2;
END SYN; Thanks, bye! http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/wink.gif