Skip to content

Instantly share code, notes, and snippets.

@lucasgrelaud
Last active March 29, 2020 13:25
Show Gist options
  • Save lucasgrelaud/34ee00d6058e335180882dad257fc232 to your computer and use it in GitHub Desktop.
Save lucasgrelaud/34ee00d6058e335180882dad257fc232 to your computer and use it in GitHub Desktop.
Boilterplate for VHDL IP
-------------------------------------------------------------------------------
-- Title : Arithmetic Logic Unit
-- Project : PROCESSEUR MONO-CYCLE: SIMULATION VHDL
-------------------------------------------------------------------------------
-- File : arithmetic_logic_unit.vhd
-- Author : Lucas GRELAUD <[email protected]>
-- Company : ESIEA (Student)
-- Created : 2022-03-29
-- Standard : VHDL'93
-------------------------------------------------------------------------------
-- Description: Simple ALU design for a 32 bit processor.
-------------------------------------------------------------------------------
LIBRARY ieee;
USE ieee.std_logic_1164.ALL;
Entity Name is
Generic (
-- generic params,
-- generic params
);
Port (
-- port,
-- port
);
end Name;
Architecture RTL of Name is
-- constant;
-- signal;
-- signal-
begin
-- RTL instructions
ProcessName: process(Input1, Input2) -- The sensibility list should have all input
-- variables
begin
--process instructions
end ProcessName;
end RTL;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment