About this document
CENG355 Advanced Digital Logic Exam by Hadi Sleem is a document available to read on EtoBox.
Here is the VHDL code for the N-bit parallel load up-down counter with synchronous reset: ENTITY counter IS GENERIC(N: INTEGER := 32); PORT( w: IN STD_LOGIC_VECTOR(N-1 DOWNTO 0); direction: IN STD_LOGIC; clock, countload, reset: IN STD_LOGIC; F: OUT STD_LOGIC_VECTOR(N-1 DOWNTO 0) ); END counter; ARCHITECTURE rtl OF counter IS BEGIN PROCESS(clock, reset) BEGIN IF reset =
- Author
- Hadi Sleem
- Language
- EN