Home -- Hierarchy -- Packages -- Entities -- Instantiations -- Sources |
Defined in VHDL/ioport.vhd
Author: John E. Kent
Version: 1.2 from 30 May 2010
Implements a dual 8 bit bidirectional I/O port
library ieee | |
use ieee.std_logic_1164.all | |
use ieee.std_logic_unsigned.all |
ioport_read ( addr, porta_ddr, portb_ddr, porta_data, portb_data, porta_io, portb_io ) | ||||
ioport_write ( clk, rst, addr, cs, rw, data_in, porta_data, portb_data, porta_ddr, portb_ddr ) | ||||
Write I/O ports | ||||
porta_direction ( porta_data, porta_ddr ) | ||||
direction control port a | ||||
portb_direction ( portb_data, portb_ddr ) | ||||
direction control port b |