First commit

This commit is contained in:
2026-04-08 20:11:20 +02:00
parent 10fe469c10
commit 79f15536a1
861 changed files with 135610 additions and 0 deletions

22
.gitignore vendored Normal file
View File

@@ -0,0 +1,22 @@
CITISE1.7z
*.aux
*.log
*.out
*.gz
*.tex
*.toc
*.glg
*.glo
*.ist
*.gls

View File

@@ -0,0 +1,5 @@
# This directory is a Syncthing folder marker.
# Do not delete.
folderID: zdqey-gdv84
created: 2025-12-15T19:22:49+01:00

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
Exercices Rnote/Meca.rnote Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
Exercices Rnote/info2.rnote Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View File

@@ -0,0 +1,78 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 28.3.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 362.2 103.6" style="enable-background:new 0 0 362.2 103.6;" xml:space="preserve">
<style type="text/css">
.st0{fill:#424242;}
.st1{fill:#00538C;}
.st2{fill:#D2251C;enable-background:new ;}
.st3{fill:#7DAE13;}
.st4{fill:#658B12;}
.st5{fill:#004674;}
.st6{fill:#C6080A;}
.st7{fill:#FFFFFF;}
</style>
<path id="Tracé_1" class="st0" d="M155.3,16.7h-6.6l-2,3.5h6.3L155.3,16.7z"/>
<path id="Tracé_2" class="st0" d="M197.4,16.7h-6.6l-2,3.5h6.3L197.4,16.7z"/>
<path id="Tracé_3" class="st0" d="M131.3,54c-3.7,0-5.3-1.5-5.3-5.2V26.9h9.8v-4H126v-9.6h-4.5v9.6H116v4h5.4V49
c0,6.1,3.1,9.2,9.3,9.2c1.6,0,3.1-0.2,4.7-0.6l0.4-0.1v-4.3l-0.6,0.2C133.9,53.8,132.6,54,131.3,54z"/>
<path id="Tracé_4" class="st0" d="M192.5,22.3c-14.4,0-15.6,14.3-15.6,18.6c0,15,10.3,17.2,16.5,17.2c3.9,0.1,7.9-0.7,11.5-2.2
l0.3-0.1v-4.7l-0.7,0.4c-3.4,1.6-7.1,2.4-10.8,2.3c-7,0-12.3-3.6-12.3-11.1h25.5h0.5v-0.5c0.1-0.6,0.1-1.2,0.1-1.8
C207.6,36.2,206.5,22.3,192.5,22.3z M192.3,26.5c9.6,0,10.7,9.3,10.7,12.2h-21.6C181.9,33,184.1,26.5,192.3,26.5L192.3,26.5z"/>
<path id="Tracé_5" class="st0" d="M151.4,22.3c-14.4,0-15.6,14.3-15.6,18.6c0,15,10.3,17.2,16.5,17.2c3.9,0.1,7.9-0.7,11.5-2.2
l0.3-0.1v-4.7l-0.7,0.4c-3.4,1.6-7.1,2.4-10.8,2.3c-7,0-12.3-3.6-12.3-11.1h25.5h0.5v-0.5c0.1-0.6,0.1-1.2,0.1-1.8
C166.5,36.2,165.4,22.3,151.4,22.3z M151.2,26.5c9.6,0,10.7,9.3,10.7,12.2h-21.6C140.8,33,143,26.5,151.2,26.5L151.2,26.5z"/>
<rect id="Rectangle_1" x="169.4" y="9.8" class="st0" width="4.4" height="47.9"/>
<path id="Tracé_6" class="st0" d="M227.2,22.2c-7.5,0-16.3,3.1-16.3,18s8.9,18,16.3,18c3.4,0,6.8-0.6,10-1.8l0.3-0.1v-4.4l-0.7,0.3
c-3,1.2-6.1,1.8-9.3,1.8c-8.4,0-12.3-4.3-12.3-13.7s3.9-13.7,12.3-13.7c3.2,0,6.3,0.6,9.3,1.8l0.6,0.2v-4.4l-0.3-0.1
C234,22.9,230.6,22.3,227.2,22.2z"/>
<path id="Tracé_7" class="st0" d="M254.1,22.2c-6.1,0-16.3,2.3-16.3,18s10.2,18,16.3,18s16.3-2.3,16.3-18S260.2,22.2,254.1,22.2z
M266,40.2c0,9.4-3.8,13.8-11.9,13.8c-8,0-11.9-4.5-11.9-13.8s3.9-13.8,11.9-13.8C262.2,26.4,266,30.8,266,40.2L266,40.2z"/>
<path id="Tracé_8" class="st0" d="M310.7,22.2c-4.6,0.1-9.2,1.2-13.3,3.4c-2.5-2.4-5.9-3.6-9.4-3.4c-4.9,0.1-9.7,1.4-14,3.6
l-0.3,0.1v31.7h4.4v-29c3-1.2,6.1-1.9,9.4-1.9c6.1,0,8.9,2.7,8.9,8.5v22.5h4.4V35.1c0-2.1-0.3-4.1-1.1-6c3.3-1.5,6.9-2.4,10.6-2.4
c6,0,8.8,2.7,8.8,8.5v22.5h4.4V35.1C323.7,26.8,319.1,22.2,310.7,22.2z"/>
<path id="Tracé_9" class="st0" d="M133,86.9c0,4-3.1,6.9-9,6.9c-2.7,0-5.4-0.6-7.8-1.8v-2.7c2.4,1.3,5,1.9,7.7,1.9
c3.8,0,6.6-1.4,6.6-4.3c0-7.4-14.1-3.2-14.1-11.9c0-3.5,2.4-6.9,8.5-6.9c2.3,0,4.6,0.5,6.7,1.5V72c-2-1-4.2-1.5-6.5-1.5
c-3.3,0-6.1,1.2-6.1,4.5C118.9,81,133,77.3,133,86.9z"/>
<path id="Tracé_10" class="st0" d="M154.9,78.5v7.6c0,6.8-6.9,7.6-10,7.6c-3.2,0-10.3-1-10.3-7.7c0-7.7,9.6-8,11.9-8
c2,0,4,0.1,5.9,0.5c0-5.2-2.6-7.8-8.2-7.8c-2.4,0-4.8,0.4-7.1,1.1v-2.5c2.3-0.8,4.8-1.2,7.2-1.2C151.7,68.1,154.9,71.7,154.9,78.5z
M152.4,80.7c-2.1-0.3-4.2-0.5-6.3-0.5c-3.1,0-9.1,0.7-9.1,5.7c0,4.6,4.8,5.4,7.8,5.4s7.5-0.8,7.5-5.3v-5.3H152.4z"/>
<path id="Tracé_11" class="st0" d="M157.5,68.5h2.5v24.8h-2.5V68.5z"/>
<path id="Tracé_12" class="st0" d="M182.7,77.2v16.2h-2.6V77.2c0-3.6-1.5-6.6-7.3-6.6c-2.7,0-5.4,0.6-7.9,1.6v21.1h-2.5V70.7
c3.3-1.7,6.9-2.6,10.7-2.7C179.2,68,182.7,71.1,182.7,77.2z"/>
<path id="Tracé_13" class="st0" d="M197.1,90.8v2.4c-1.1,0.3-2.2,0.4-3.3,0.5c-3.1,0.5-6-1.7-6.5-4.8c-0.1-0.5-0.1-1,0-1.6V70.8h-4
v-2.3h4v-7h2.6v7h7.2v2.3h-7.2v16.4c0,3.4,1.9,4.1,4.3,4.1C195.1,91.3,196.1,91.2,197.1,90.8z"/>
<path id="Tracé_14" class="st0" d="M197.8,77.6H208V80h-10.2V77.6z"/>
<path id="Tracé_15" class="st0" d="M234,81c0,0.4,0,0.9,0,1.3h-19.1c0,0.8,0.2,1.5,0.5,2.2c0.7,4.8,4.1,6.7,8.9,6.7
c2.8,0.1,5.6-0.5,8.1-1.7v2.6c-2.6,1.1-5.5,1.6-8.3,1.6c-5.6,0-11.8-2.4-11.8-12.3c0-3.9,1.2-13.3,11.1-13.3
C233.9,68.1,234,79.4,234,81z M214.8,80.1h16.5c0-1.2-0.3-9.6-8.2-9.6C217.8,70.5,215.1,74.1,214.8,80.1L214.8,80.1z"/>
<path id="Tracé_16" class="st0" d="M247.5,90.8v2.4c-1.1,0.3-2.2,0.4-3.3,0.5c-3.1,0.5-6-1.7-6.5-4.8c-0.1-0.5-0.1-1,0-1.6V70.8h-4
v-2.3h4v-7h2.6v7h7.2v2.3h-7.2v16.4c0,3.4,1.9,4.1,4.2,4.1C245.5,91.3,246.5,91.2,247.5,90.8z"/>
<path id="Tracé_17" class="st0" d="M249.4,68.5h2.5v24.8h-2.5V68.5z"/>
<path id="Tracé_18" class="st0" d="M275.9,81c0,0.4,0,0.9-0.1,1.3h-19.1c0,0.8,0.2,1.5,0.5,2.2c0.7,4.8,4.1,6.7,8.9,6.7
c2.8,0.1,5.6-0.5,8.1-1.7v2.6c-2.6,1.1-5.5,1.6-8.3,1.6c-5.6,0-11.8-2.4-11.8-12.3c0-3.9,1.2-13.3,11.1-13.3
C275.9,68.1,275.9,79.4,275.9,81z M256.8,80.1h16.5c0-1.2-0.3-9.6-8.2-9.6C259.7,70.5,257.1,74.1,256.8,80.1L256.8,80.1z"/>
<path id="Tracé_19" class="st0" d="M298.7,77.2v16.2h-2.6V77.2c0-3.6-1.5-6.6-7.3-6.6c-2.7,0-5.4,0.6-7.9,1.6v21.1h-2.5V70.7
c3.3-1.7,6.9-2.6,10.7-2.7C295.2,68,298.7,71.1,298.7,77.2z"/>
<path id="Tracé_20" class="st0" d="M321.4,77.2v16.2h-2.6V77.2c0-3.6-1.5-6.6-7.3-6.6c-2.7,0-5.4,0.6-7.9,1.6v21.1h-2.5V70.7
c3.3-1.7,6.9-2.6,10.7-2.7C317.9,68,321.4,71.1,321.4,77.2z"/>
<path id="Tracé_21" class="st0" d="M345.6,81c0,0.4,0,0.9-0.1,1.3h-19.1c0,0.8,0.2,1.5,0.5,2.2c0.7,4.8,4.1,6.7,8.9,6.7
c2.8,0.1,5.6-0.5,8.1-1.7v2.6c-2.6,1.1-5.5,1.6-8.3,1.6c-5.6,0-11.8-2.4-11.8-12.3c0-3.9,1.2-13.3,11.1-13.3
C345.5,68.1,345.6,79.4,345.6,81z M326.5,80.1H343c0-1.2-0.3-9.6-8.2-9.6C329.4,70.5,326.7,74.1,326.5,80.1L326.5,80.1z"/>
<path id="Tracé_22" class="st0" d="M227,63.7h-4.5l-1.4,2.4h4.3L227,63.7z"/>
<rect id="Rectangle_2" x="157.5" y="63.7" class="st0" width="2.5" height="2.6"/>
<rect id="Rectangle_3" x="249.3" y="63.7" class="st0" width="2.5" height="2.6"/>
<path class="st1" d="M34.5,87.2c-32-3.2-44.3-44.9-17.7-62.8L34.5,87.2z"/>
<path id="Tracé_23_00000023991451360993627420000010892744823994100903_" class="st2" d="M77.3,33.1c33.1,30.4-5.7,78.9-42.9,54
L77.3,33.1z"/>
<path id="Tracé_24_00000045617681601038006970000014471956071051340989_" class="st3" d="M16.7,24.5l60.7,8.8
C71.9,11.4,36.4-1.7,16.7,24.5"/>
<path id="Tracé_25_00000119092817160077528650000017678341370304289974_" class="st4" d="M64.6,72.8c9.4-6.3,15-16.9,14.9-28.2
c0-3.8-0.7-7.8-2.1-11.4C71.6,28.2,64.5,25.4,57,25L64.6,72.8z"/>
<path id="Tracé_26_00000073002330045057858890000009465932439318376606_" class="st5" d="M57,25c-11.9-8.9-28.1-9.1-40.3-0.6
C6,38.9,8.6,59.3,22.4,70.6L57,25z"/>
<path class="st6" d="M34.5,87.2C10.1,69.7,16.7,26.2,57,25C87.5,50.1,62.7,90.8,34.5,87.2z"/>
<path id="Tracé_24_00000158738916861355448350000016955381263352835250_" class="st3" d="M16.7,24.4"/>
<path id="Tracé_29_00000127737031634650328290000013158693351383111350_" class="st7" d="M37.7,89.1V54.2l14.9-8.7v48.3
c3.9,0.5,8.5,0.1,12.7-1.3V38.1l-13-7.7L24.6,46.6v38.3L37.7,89.1z"/>
</svg>

After

Width:  |  Height:  |  Size: 6.7 KiB

0
Global/Informations.md Normal file
View File

BIN
IUT/Auto1/Annales/VHDL.pdf Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,6 @@
******* Archived project restoration attempt on Mon Jan 19 14:58:19 2026
Source archive file: /home/noamh/CITISE1/IUT/Auto1/Ascenseur/lift_ctrl.qar
Archive was extracted into /home/noamh/CITISE1/IUT/Auto1/Ascenseur/lift_ctrl_restored/
- successfully.

Submodule IUT/Auto1/Ascenseur/lift_ctrl_restored added at 3ac60a7212

View File

@@ -0,0 +1,46 @@
LIBRARY ieee;
USE ieee.std_logic_1164.ALL;
use ieee.numeric_std.ALL;
ENTITY BCD7seg is
PORT (
n : IN STD_LOGIC_VECTOR(3 DOWNTO 0);
a : OUT STD_LOGIC;
b : OUT STD_LOGIC;
c : OUT STD_LOGIC;
d : OUT STD_LOGIC;
e : OUT STD_LOGIC;
f : OUT STD_LOGIC;
g : OUT STD_LOGIC
);
END BCD7seg;
ARCHITECTURE archi OF BCD7seg is
SIGNAL segments : STD_LOGIC_VECTOR(6 DOWNTO 0);
BEGIN
WITH n SELECT
segments <= "0000001" WHEN "0000",
"1001111" WHEN "0001",
"0010010" WHEN "0010",
"0000110" WHEN "0011",
"1001100" WHEN "0100",
"0100100" WHEN "0101",
"0100000" WHEN "0110",
"0001111" WHEN "0111",
"0000000" WHEN "1000",
"0000100" WHEN OTHERS;
a <= segments(6);
b <= segments(5);
c <= segments(4);
d <= segments(3);
e <= segments(2);
f <= segments(1);
g <= segments(0);
end archi;

Binary file not shown.

BIN
IUT/Auto1/TP/TP1.odt Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,86 @@
LIBRARY ieee;
USE ieee.std_logic_1164.ALL;
USE ieee.numeric_std.ALL;
ENTITY chiffre IS
PORT (
clk : IN STD_LOGIC;
rst_n : IN STD_LOGIC;
nb_fronts : IN STD_LOGIC_VECTOR(28 DOWNTO 0);
n_max : IN STD_LOGIC_VECTOR(3 DOWNTO 0);
a : OUT STD_LOGIC;
b : OUT STD_LOGIC;
c : OUT STD_LOGIC;
d : OUT STD_LOGIC;
e : OUT STD_LOGIC;
f : OUT STD_LOGIC;
g : OUT STD_LOGIC
);
END chiffre;
ARCHITECTURE archi OF chiffre IS
COMPONENT gen_impuls
PORT (
clk : IN STD_LOGIC;
rst_n : IN STD_LOGIC;
max : IN STD_LOGIC_VECTOR(28 DOWNTO 0);
impuls : OUT STD_LOGIC
);
END COMPONENT;
COMPONENT compteur_max_ena
PORT (
clk : IN STD_LOGIC;
rst_n : IN STD_LOGIC;
max : IN STD_LOGIC_VECTOR(3 DOWNTO 0);
ena : IN STD_LOGIC;
valeur : OUT STD_LOGIC_VECTOR(3 DOWNTO 0)
);
END COMPONENT;
COMPONENT BCD7seg
PORT (
n : IN STD_LOGIC_VECTOR(3 DOWNTO 0);
a : OUT STD_LOGIC;
b : OUT STD_LOGIC;
c : OUT STD_LOGIC;
d : OUT STD_LOGIC;
e : OUT STD_LOGIC;
f : OUT STD_LOGIC;
g : OUT STD_LOGIC
);
END COMPONENT;
SIGNAL impulsion : STD_LOGIC;
SIGNAL nombre : STD_LOGIC_VECTOR(3 DOWNTO 0);
BEGIN
gen_impuls_1 : gen_impuls
PORT MAP(
clk => clk,
rst_n => rst_n,
max => nb_fronts,
impuls => impulsion
);
compteur_max_ena_1 : compteur_max_ena
PORT MAP(
clk => clk,
rst_n => rst_n,
max => n_max,
ena => impulsion,
valeur => nombre
);
BCD7seg_1 : BCD7seg
PORT MAP(
n => nombre,
a => a,
b => b,
c => c,
d => d,
e => e,
f => f,
g => g
);
END archi;

View File

@@ -0,0 +1,82 @@
LIBRARY ieee;
USE ieee.std_logic_1164.ALL;
USE ieee.numeric_std.ALL;
ENTITY chrono_complet IS
PORT (
clk : IN STD_LOGIC;
rst_n : IN STD_LOGIC;
a1, b1, c1, d1, e1, f1, g1, p1 : OUT STD_LOGIC;
a2, b2, c2, d2, e2, f2, g2, p2 : OUT STD_LOGIC;
a3, b3, c3, d3, e3, f3, g3, p3 : OUT STD_LOGIC
);
END chrono_complet;
ARCHITECTURE archi OF chrono_complet IS
COMPONENT chiffre
PORT (
clk : IN STD_LOGIC;
rst_n : IN STD_LOGIC;
nb_fronts : IN STD_LOGIC_VECTOR(28 DOWNTO 0);
n_max : IN STD_LOGIC_VECTOR(3 DOWNTO 0);
a : OUT STD_LOGIC;
b : OUT STD_LOGIC;
c : OUT STD_LOGIC;
d : OUT STD_LOGIC;
e : OUT STD_LOGIC;
f : OUT STD_LOGIC;
g : OUT STD_LOGIC
);
END COMPONENT;
BEGIN
chiffre1 : chiffre
PORT MAP(
clk => clk,
rst_n => rst_n,
nb_fronts => "11101110011010110010011111111",
n_max => "0101",
a => a1,
b => b1,
c => c1,
d => d1,
e => e1,
f => f1,
g => g1
);
chiffre2 : chiffre
PORT MAP(
clk => clk,
rst_n => rst_n,
nb_fronts => "00010111110101111000001111111",
n_max => "1001",
a => a2,
b => b2,
c => c2,
d => d2,
e => e2,
f => f2,
g => g2
);
chiffre3 : chiffre
PORT MAP(
clk => clk,
rst_n => rst_n,
nb_fronts => "00000010011000100101100111111",
n_max => "1001",
a => a3,
b => b3,
c => c3,
d => d3,
e => e3,
f => f3,
g => g3
);
p1 <= '1';
p2 <= '0';
p3 <= '1';
END archi;

View File

@@ -0,0 +1,86 @@
LIBRARY ieee;
USE ieee.std_logic_1164.ALL;
USE ieee.numeric_std.ALL;
ENTITY chiffre IS
PORT (
clk : IN STD_LOGIC;
rst_n : IN STD_LOGIC;
nb_fronts : IN STD_LOGIC_VECTOR(28 DOWNTO 0);
n_max : IN STD_LOGIC_VECTOR(3 DOWNTO 0);
a : OUT STD_LOGIC;
b : OUT STD_LOGIC;
c : OUT STD_LOGIC;
d : OUT STD_LOGIC;
e : OUT STD_LOGIC;
f : OUT STD_LOGIC;
g : OUT STD_LOGIC
);
END chiffre;
ARCHITECTURE archi OF chiffre IS
COMPONENT gen_impuls
PORT (
clk : IN STD_LOGIC;
rst_n : IN STD_LOGIC;
max : IN STD_LOGIC_VECTOR(28 DOWNTO 0);
impuls : OUT STD_LOGIC
);
END COMPONENT;
COMPONENT compteur_max_ena
PORT (
clk : IN STD_LOGIC;
rst_n : IN STD_LOGIC;
max : IN STD_LOGIC_VECTOR(3 DOWNTO 0);
ena : IN STD_LOGIC;
valeur : OUT STD_LOGIC_VECTOR(3 DOWNTO 0)
);
END COMPONENT;
COMPONENT BCD7seg
PORT (
n : IN STD_LOGIC_VECTOR(3 DOWNTO 0);
a : OUT STD_LOGIC;
b : OUT STD_LOGIC;
c : OUT STD_LOGIC;
d : OUT STD_LOGIC;
e : OUT STD_LOGIC;
f : OUT STD_LOGIC;
g : OUT STD_LOGIC
);
END COMPONENT;
SIGNAL impulsion : STD_LOGIC;
SIGNAL nombre : STD_LOGIC_VECTOR(3 DOWNTO 0);
BEGIN
gen_impuls_1 : gen_impuls
PORT MAP(
clk => clk,
rst_n => rst_n,
max => nb_fronts,
impuls => impulsion
);
compteur_max_ena_1 : compteur_max_ena
PORT MAP(
clk => clk,
rst_n => rst_n,
max => n_max,
ena => impulsion,
valeur => nombre
);
BCD7seg_1 : BCD7seg
PORT MAP(
n => nombre,
a => a,
b => b,
c => c,
d => d,
e => e,
f => f,
g => g
);
END archi;

View File

@@ -0,0 +1,36 @@
LIBRARY ieee;
USE ieee.std_logic_1164.ALL;
USE ieee.numeric_std.ALL;
ENTITY compteur is
PORT (
clk : IN STD_LOGIC;
rst_n : IN STD_LOGIC;
max : IN STD_LOGIC_VECTOR(3 DOWNTO 0);
enable : IN STD_LOGIC;
valeur : OUT STD_LOGIC_VECTOR(3 DOWNTO 0)
);
END compteur;
ARCHITECTURE archi OF compteur is
SIGNAL valeur_interne : STD_LOGIC_VECTOR(3 DOWNTO 0);
BEGIN
PROCESS (clk, rst_n)
begin
IF rst_n = '0' THEN
valeur_interne <= (OTHERS => '0');
else
IF rising_edge(clk) AND enable = '1' THEN
IF valeur_interne = max THEN
valeur_interne <= (OTHERS => '0');
else
valeur_interne <= STD_LOGIC_VECTOR(UNSIGNED(valeur_interne) + 1);
END IF;
END IF;
END IF;
END PROCESS;
valeur <= valeur_interne;
END archi;

View File

@@ -0,0 +1,36 @@
LIBRARY ieee;
USE ieee.std_logic_1164.ALL;
USE ieee.numeric_std.ALL;
ENTITY compteur_max_ena is
PORT (
clk : IN STD_LOGIC;
rst_n : IN STD_LOGIC;
max : IN STD_LOGIC_VECTOR(3 DOWNTO 0);
ena : IN STD_LOGIC;
valeur : OUT STD_LOGIC_VECTOR(3 DOWNTO 0)
);
END compteur_max_ena;
ARCHITECTURE archi OF compteur_max_ena is
SIGNAL valeur_interne : STD_LOGIC_VECTOR(3 DOWNTO 0);
BEGIN
PROCESS (clk, rst_n)
begin
IF rst_n = '0' THEN
valeur_interne <= (OTHERS => '0');
else
IF rising_edge(clk) AND ena = '1' THEN
IF valeur_interne = max THEN
valeur_interne <= (OTHERS => '0');
else
valeur_interne <= STD_LOGIC_VECTOR(UNSIGNED(valeur_interne) + 1);
END IF;
END IF;
END IF;
END PROCESS;
valeur <= valeur_interne;
END archi;

View File

@@ -0,0 +1,21 @@
LIBRARY ieee;
USE ieee.std_logic_1164.ALL;
USE ieee.numeric_std.ALL;
ENTITY depassement_niveau is
PORT (
niveau_liquide : IN STD_LOGIC_VECTOR(3 DOWNTO 0);
depassement : OUT STD_LOGIC
);
END depassement_niveau;
ARCHITECTURE archi OF depassement_niveau is
SIGNAL result : STD_LOGIC;
BEGIN
depassement <= '1' WHEN niveau_liquide > "1010" ELSE '0';
end archi;

19
IUT/Auto1/TP/et2/et2.vhd Normal file
View File

@@ -0,0 +1,19 @@
LIRABRY ieee;
USE ieee.std_logic_1166.ALL;
ENTITY et2 IS
PORT (
a : IN STD_LOGIC;
b : IN STD_LOGIC;
S : OUT STD_LOGIC
);
END et2;
ARCHITECTURE archi OF et2 IS
BEGIN
s <= A AND B;
END archi;

View File

@@ -0,0 +1,36 @@
LIBRARY ieee;
USE ieee.std_logic_1164.ALL;
USE ieee.numeric_std.ALL;
ENTITY gen_impuls is
PORT (
clk : IN STD_LOGIC;
rst_n : IN STD_LOGIC;
max : IN STD_LOGIC_VECTOR(28 DOWNTO 0);
impuls : OUT STD_LOGIC
);
END gen_impuls;
ARCHITECTURE archi OF gen_impuls is
SIGNAL valeur_interne : STD_LOGIC_VECTOR(28 DOWNTO 0);
BEGIN
PROCESS (clk, rst_n)
begin
IF rst_n = '0' THEN
valeur_interne <= (OTHERS => '0');
else
IF rising_edge(clk) THEN
IF valeur_interne = max THEN
valeur_interne <= (OTHERS => '0');
-- impuls <= '1';
else
-- impuls <= '0';
valeur_interne <= STD_LOGIC_VECTOR(UNSIGNED(valeur_interne) + 1);
END IF;
END IF;
END IF;
END PROCESS;
impuls <= '1' WHEN valeur_interne = max ELSE '0';
END archi;

View File

@@ -0,0 +1,26 @@
LIBRARY ieee;
USE ieee.std_logic_1164.ALL;
ENTITY maj3 is
PORT (
p : IN STD_LOGIC;
s : IN STD_LOGIC;
t : IN STD_LOGIC;
m : OUT STD_LOGIC;
n : OUT STD_LOGIC
);
END maj3;
ARCHITECTURE archi OF maj3 is
SIGNAL result : STD_LOGIC;
BEGIN
result <= (t AND s) OR (P AND t) OR (p AND s);
m <= result;
n <= NOT(result);
end archi;

Binary file not shown.

Binary file not shown.

BIN
IUT/Auto2/TP/CR1/CR1.pdf Normal file

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 146 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 190 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 269 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
IUT/Elen1/TP N°1.pdf Normal file

Binary file not shown.

BIN
IUT/Elen1/TP N°2.pdf Normal file

Binary file not shown.

BIN
IUT/Elen1/TP N°3.pdf Normal file

Binary file not shown.

BIN
IUT/Elen1/TP N°4.pdf Normal file

Binary file not shown.

BIN
IUT/Elen1/TP N°5.pdf Normal file

Binary file not shown.

BIN
IUT/Elen1/TP N°6.pdf Normal file

Binary file not shown.

BIN
IUT/Elen1/TP/TP1.docx Normal file

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

Some files were not shown because too many files have changed in this diff Show More