Abstract Factory
Instantiates families of related components based on generics.
✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Abstract Factory
ARCANUM SCHOOL: Silicon Golemancy // Component Forge
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// VHDL PATTERN //
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.NUMERIC_STD.ALL;
-- The incantation for Abstract Factory
-- Carving logic gates into the physical plane via Silicon Golemancy
entity abstract_factory_pkg is
Port ( clk : in STD_LOGIC;
rst : in STD_LOGIC;
aether_in : in STD_LOGIC_VECTOR (31 downto 0);
aether_out : out STD_LOGIC_VECTOR (31 downto 0));
end abstract_factory_pkg;
architecture Physical of abstract_factory_pkg is
begin
process(clk, rst)
begin
if rst = '1' then
aether_out <= (others => '0');
elsif rising_edge(clk) then
aether_out <= not aether_in;
end if;
end process;
end Physical;
The Abstract Factory Pattern in VHDL
Instantiates families of related components based on generics.
In the art of Silicon Golemancy, we do not merely execute instructions sequentially; we manifest logic directly into the physical substrate.
Runic Tags:
#vhdl
#creational
#silicon-golemancy