Í need help with this VHDL problem. Font Paragraph Styles Modify the 4 bit binar
ID: 3743578 • Letter: #
Question
Í need help with this VHDL problem.
Font Paragraph Styles Modify the 4 bit binary counter model so that it becomes a binary coded decimal (BCD) counter. A BCD counter will count from 0 to 9 and then back to 0. While at the maximum count of 9 it will generate a carry out. All other program behavior should remain the same. entity FourBitCounteris Port (T_H: in STD_LOGIC;--Carry-in from a previous counter stage PH: in STD LOGIC;.. count enable Q H: inout STD_LOGIC_VECTOR (3 downto o);- - Counter count bit D-H: inout STD-LOGIC VECTO R (3 downto 0);valor to be loaded cout-H: out STD-LOGIC;-Carry-out indicates this counter is at its highest count and will - overflow on the nextcount RST L: in STD_LOGIC;--Resets the counterto its initial all zeros state (st_0), this change is synchronized LD_ H: in STD LOGIC;-Load will allow the counterto load the D inputs into its a count outputs on the next clock edge CLK_H:in STD_LOGIC; establishes period of time between one count and the next end FourBitCounter architecture Behavioral of FourBitCounteris signal Q _internalinteger: 0-ais counter register holding the count value begin QH CONV-STD-LOGIC-VECTOR(Q-internal-41-convert the countervalue to SLV Cout-HExplanation / Answer
hope this helpa if any queries please do comment thank you
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.