Specifications
VHDL Quick Reference
VHDL Reference Manual A-7
Library Units
-- PACKAGE DECLARATION
package globals is
-- type,constant, signal ,subprogram declarations
end globals;
-- PACKAGE BODY DECLARATION
package body globals is
-- subprogram definitions
end globals;
-- ENTITY DECLARATION
entity decoder is
port (op : opcodes; r,w : out bit);
end decoder;
-- ARCHITECTURE DECLARATION
architecture first_cut of decoder is
-- type, signal,constant,subprogram declarations
begin
-- concurrent statements
end first_cut;
-- CONFIGURATION DECLARATION
configuration example of decoder is
-- configuration
end example;
-- LIBRARY CLAUSE
-- makes library , but not its contents visible
library utils;
-- USE CLAUSE
use utils.all;
use utils.utils_pkg.all;