2019年11月4日
摘要: 图一 全减器原理图 图一是用VHDL语言描述全减器的原理图。全减器依然用到了例化语句。其程序如下: library ieee;use ieee.std_logic_1164.all;entity f_jq isport(x,y,sub_in:in std_logic;diffr,sub_out:ou 阅读全文
posted @ 2019-11-04 21:42 李好123 阅读(4024) 评论(0) 推荐(0)
摘要: 这是一个双二选1多路选择器的原理图,用VHDL语言描述,需要用到元器件例化语句。 首先编写2选一多路选择器。 entity mux21a is port(a,b,c:in bit; y:out bit ); end; architecture bhv of mux21a is begin proce 阅读全文
posted @ 2019-11-04 17:57 李好123 阅读(5201) 评论(0) 推荐(0)