Commit 4dcfd3d8 authored by Oran Garrity's avatar Oran Garrity
Browse files

Patch Lab 4 installed

parent 7268c79c
From 50d52c498fe529687c4b2072f4401fac1b011c06 Mon Sep 17 00:00:00 2001
From: Johann Faerber <johann.faerber@hs-augsburg.de>
Date: Tue, 23 Mar 2021 11:13:40 +0100
Subject: [PATCH] de1_cntupen_step KEY1 connected to en_pi of cntupen
---
src/de1_cntupen_step_structure.vhd | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/src/de1_cntupen_step_structure.vhd b/src/de1_cntupen_step_structure.vhd
index 8b9f81f..87ebfb8 100644
--- a/src/de1_cntupen_step_structure.vhd
+++ b/src/de1_cntupen_step_structure.vhd
@@ -63,15 +63,13 @@ BEGIN
-- KEY(1) ist low-active
long_pulse <= KEY(1);
- -- enable signal en_pi has to be connected via a falling edge detector
- single_pulse_generator : ENTITY work.falling_edge_detector(rtl)
- PORT MAP (
-
-- connecting device under test with peripheral elements
DUT : ENTITY work.cntupen(rtl)
PORT MAP (
-
+ clk_i => clk_i,
+ rst_ni => rst_ni,
+ en_pi => long_pulse,
-- connecting count value to HEX display
count_value : ENTITY work.binto7segment(truthtable)
--
2.20.1
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment