Library Iee1.docx

  • Uploaded by: frandy
  • 0
  • 0
  • October 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Library Iee1.docx as PDF for free.

More details

  • Words: 57
  • Pages: 1
LIBRARY ieee ; USE ieee.std_logic_1164.all ;

ENTITY pap IS PORT(w, clk Q

:IN STD_LOGIC; :OUT STD_LOGIC_VECTOR(1 TO 4));

END pap;

ARCHITECTURE secuencia OF pap IS BEGIN PROCESS(clk) VARIABLE Sreg : STD_LOGIC_VECTOR(1 TO 4); BEGIN IF Clk'EVENT AND Clk = '1' THEN Sreg(4):= w; Sreg(3):= Sreg(4); Sreg(2):= Sreg(3); Sreg(1):= Sreg(2); END IF; Q<= Sreg; END PROCESS; END secuencia;

Related Documents

Library
April 2020 42
Library
November 2019 54
Library
April 2020 35
Library
June 2020 21
Library
November 2019 51
Library
October 2019 51

More Documents from ""