Question: the topic is about wrting vhdl code, Please provide general information about the attached diagram that I can include in my report just information no

the topic is about wrting vhdl code, Please provide general information about the attached diagram that I can include in my report just information no need for code, given requirment is "If reset is 1,
the count value becomes 00.
Otherwise:
If enable is 1,
When the rising edge of the clk signal occurs,
If up_down is 1,the count value increments,
If up_down is 0,the count value decrements.
Note:
*)The counted value can be held as an intermediate value. After defining it,the initial value can be assigned as follows:
signal count: std_logic_vector(7downto 0):="00000000";
*)For the rising edge of the clk signal, you can use if(rising_edge(clk)).
*)To convert std_logic_vector to integer, use the conv_integer(...)function.
*)To convert an integer to std_logic_vector, use the conv_std_logic_vector(...,4)function.
*)To find the tens place of the counted value, divide by 10:
bcd10=conv_std_logic_vector((conv_integer(input_value)/10),4);
*)To find the units place of the counted value, take the modulus 10in base 10:
bcd1=conv_std_logic_vector((conv_integer(input_value)mod 10),4);"
the topic is about wrting vhdl code, Please

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!