first commit

This commit is contained in:
2025-02-10 20:28:13 +01:00
commit e2ef356f15
170 changed files with 4884 additions and 0 deletions
+40
View File
@@ -0,0 +1,40 @@
## Default .gitignore for VHDPlus Projects
## Ignore generated vhdl files, files generated by compiling with quartus
Generated/
incremental_db/
output_files/
db/
## MacOS
.DS_Store
## ModelSim
Modelsim/
## Quartus specific.
## *.qsf
## *.qpf
## ISSP
Libraries/.qsys_edit
## NIOS
*.map
*.objdump
*.elf
*.flash
*.sopcinfo
## Clangd
.clangd/
.cache/
obj/
mem_init/
## BSP Libraries
**/Software/**/generated_bsp/
**/Software/**/compile_commands.json
## Python
*__pycache__*
@@ -0,0 +1,7 @@
<Project>
<ItemGroup>
<File Include="design.vhd" />
<File Include="testbench.vhd" />
</ItemGroup>
<PropertyGroup />
</Project>
+17
View File
@@ -0,0 +1,17 @@
-- Code your design here
library IEEE;
use IEEE.std_logic_1164.all;
entity log is
port (inp : in std_logic;
C : out std_logic);
end log;
architecture behavior of log is
signal A,B : std_logic;
begin
A <= NOT inp after 1 ns;
B <= A NAND '1' after 1 ns;
C <= A AND B after 1 ns;
end behavior;
+25
View File
@@ -0,0 +1,25 @@
-- Code your testbench here
library IEEE;
use IEEE.std_logic_1164.all;
entity testbench is
-- empty
end testbench;
architecture tb of testbench is
component log is
port (inp : in std_logic;
C : out std_logic);
end component;
signal inp_in, C_in : std_logic;
begin
DUT: log port map(
inp => inp_in,
C => C_in
);
inp_in <= '1', '0' after 10 ns, '1' after 20 ns;
end tb;
+8
View File
@@ -0,0 +1,8 @@
# auto-generated
[Libraries]
work.files = [
]
[libraries.work]
files = [
]
# auto-generated-end