Last active
March 29, 2020 13:25
-
-
Save lucasgrelaud/34ee00d6058e335180882dad257fc232 to your computer and use it in GitHub Desktop.
Boilterplate for VHDL IP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
------------------------------------------------------------------------------- | |
-- 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