Sure:

-- a library include
use <name>;

-- an entity with a port definition
entity <name> is
  port (
    <name> : <type>;
  );
end <name>;

-- the main architecture
architecture <name>

  -- a component with a port definition
  component <name>
    port (
      <name> : <type>;
      );
  end component;

  -- a signal definition
  signal <name> : <type>;

  -- a constant definition
  constant <name>: <type> := <value>;

  -- a type defiition
  type <name> is <typedefinition>;
  
  -- a subtype definition
  subtype <name> is <typedefinition>;

-- main body
begin

  -- an instance of a component defined above
  <name> : <component-name>
    port map (
      <name1> => <name2>,
    );

  -- a process with signals (=parameters)
  <process_name>: process(<signals>)
  begin
    -- a if/elsif/end if condition
    if (<condition>) then

    elsif <condition> then

      -- a case clause
      case (<signal>) is

        when <value> =>

        when <value> =>

        when others =>
      end case;
    end if;
  end process;

end <name>; 


-- 
<http://forum.pspad.com/read.php?6,30251,34312>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem