|
Package file |
Top Previous Next |
|
The package file, addone_pkg.vhd, looks like this:
library ieee; use ieee.std_logic_1164.all; library diamond; use diamond.chan_pkg.all;
package addone_pkg is component addone is port ( clk : IN std_logic; rst : IN std_logic; ce : IN std_logic; ce_clr : IN std_logic; x_chan_in_0 : IN X_chan_t; y_chan_in_0 : OUT Y_chan_t; y_chan_out_0 : IN Y_chan_t; x_chan_out_0 : OUT X_chan_t ); end component; end addone_pkg; |