B
BB11
Guest
Ada yang bisa silahkan posting kode untuk konversi biner ke BCD dalam VHDL???? sangat membutuhkannya!
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
library IEEE; IEEE.STD_LOGIC_1164.ALL digunakan; ieee.numeric_std.all digunakan; hex_to_bcd entitas adalah port (CLK_in: di std_logic; INPUT: di std_logic_vector (15 downto 0)); hex_to_bcd akhir; Perilaku arsitektur dari hex_to_bcd adalah sinyal bcd_0: std_logic_vector (0 sampai 19); sinyal bcd_1, bcd_2, bcd_3, bcd_4, bcd_5: std_logic_vector (0 sampai 4); sinyal int_1, int_2, int_3, int_4, int_5: kisaran bilangan bulat 0-32; mulai Proses (CLK_in, INPUT ) mulai if (rising_edge (CLK_in)) kemudian bcd_0