-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
htfab
committed
Sep 30, 2024
1 parent
0ed3d61
commit 6eb37c3
Showing
7 changed files
with
49 additions
and
35 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
*.vcd | ||
runs | ||
tt_submission | ||
src/generated/ | ||
src/user_config.json | ||
src/config_merged.json | ||
test/sim_build | ||
|
This file contains 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
This file contains 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
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
library IEEE; | ||
use IEEE.STD_LOGIC_1164.ALL; | ||
use IEEE.NUMERIC_STD.ALL; | ||
|
||
entity tt_um_example is | ||
port ( | ||
ui_in : in std_logic_vector(7 downto 0); | ||
uo_out : out std_logic_vector(7 downto 0); | ||
uio_in : in std_logic_vector(7 downto 0); | ||
uio_out : out std_logic_vector(7 downto 0); | ||
uio_oe : out std_logic_vector(7 downto 0); | ||
ena : in std_logic; | ||
clk : in std_logic; | ||
rst_n : in std_logic | ||
); | ||
end tt_um_example; | ||
|
||
architecture Behavioral of tt_um_example is | ||
begin | ||
|
||
uo_out <= std_logic_vector(unsigned(ui_in) + unsigned(uio_in)); | ||
uio_out <= "00000000"; | ||
uio_oe <= "00000000"; | ||
|
||
end Behavioral; |
This file contains 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