[UART]
- ctrl is input git-svn-id: http://moon:8086/svn/vhdl/trunk@1241 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
@@ -23,9 +23,9 @@ ENTITY uart IS
|
||||
re : in STD_LOGIC;
|
||||
din : in unsigned(7 downto 0);
|
||||
dout : out unsigned(7 downto 0);
|
||||
ser_rx : in std_logic;
|
||||
ser_rx : in std_logic;
|
||||
ser_tx : out std_logic;
|
||||
ctrl : out ctrl_t;
|
||||
ctrl : in ctrl_t;
|
||||
status : out status_t
|
||||
);
|
||||
END uart;
|
||||
|
||||
@@ -19,7 +19,7 @@ ENTITY uart IS
|
||||
dout : out unsigned(7 downto 0);
|
||||
ser_rx : in std_logic;
|
||||
ser_tx : out std_logic;
|
||||
ctrl : out ctrl_t;
|
||||
ctrl : in ctrl_t;
|
||||
status : out status_t
|
||||
);
|
||||
END uart;
|
||||
@@ -35,6 +35,7 @@ status.rx_present <= '0';
|
||||
ser_tx <= '1';
|
||||
status.tx_complete <= '1';
|
||||
status.tx_empty <= '1';
|
||||
status.tx_full <= '0';
|
||||
|
||||
proc_tx:
|
||||
process(clk)
|
||||
|
||||
@@ -39,7 +39,7 @@ ARCHITECTURE rtl OF uart_wb IS
|
||||
dout : out unsigned(7 downto 0);
|
||||
ser_rx : in std_logic;
|
||||
ser_tx : out std_logic;
|
||||
ctrl : out ctrl_t;
|
||||
ctrl : in ctrl_t;
|
||||
status : out status_t
|
||||
);
|
||||
END COMPONENT;
|
||||
|
||||
@@ -15,9 +15,9 @@ ENTITY uart IS
|
||||
re : in STD_LOGIC;
|
||||
din : in unsigned(7 downto 0);
|
||||
dout : out unsigned(7 downto 0);
|
||||
ser_rx : in std_logic;
|
||||
ser_rx : in std_logic;
|
||||
ser_tx : out std_logic;
|
||||
ctrl : out ctrl_t;
|
||||
ctrl : in ctrl_t;
|
||||
status : out status_t
|
||||
);
|
||||
END uart;
|
||||
|
||||
Reference in New Issue
Block a user