subject

Write a vhdl process for an up/down binary counter with asynchronous reset, clock enable and external load capability. you need a direction bit to choose counting up or counting down. include testbench code

process (clock, reset)

begin

if reset='1' then

count < = (others => '0');

elsif (clock='1' and clock'event) then

if clock_enable='1' then

if load_enable='1' then

count < = input;

else

if count_direction='1' then

count < = count + 1;

else

count < = count ‐ 1;

end if;

end if;

end if;

end if;

end process;

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 01:50
Free points just awnser this. what should i watch on netflix
Answers: 2
question
Computers and Technology, 23.06.2019 09:30
Facial expressions and gestures are examples of messages.
Answers: 3
question
Computers and Technology, 23.06.2019 20:10
Leo is a recruitment executive for a large company. he has identified new labor resource requirements in both the marketing and production departments. what should be his first step in recruiting candidates for the positions? a. conduct background checks of candidates b. make job offers c. arrange interviews d. conduct reference checks e. place job ads on job sites
Answers: 1
question
Computers and Technology, 24.06.2019 06:30
Ineed to know the anwser to all these questions
Answers: 2
You know the right answer?
Write a vhdl process for an up/down binary counter with asynchronous reset, clock enable and externa...
Questions
Questions on the website: 13722363