⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ex_p2_16.vhd

📁 This is the course for VHDL programming
💻 VHD
字号:
entity INV is
   port (A: in BIT; B: out BIT);
end INV;
architecture A1 of INV is
begin
   B <= not A after 10 ns;
end A1;
architecture A2 of INV is
   constant R: real:= 1.5E4;
   constant C: real:= 0.1E-12;
	constant PD:time:= integer(3.0*R*C*1.0E12) *1 ps;
begin
   B <= not A after PD;
end A2;
architecture A3 of INV is
	type CAP is range 1 to 1E9
		units
			ff;
		   pf=1000 ff;
			nf=1000 pf;
			uf=1000 nf;
		end units;
   type RES is range 1 to 1E9
	   units
		   ohms;
		   Kohms=1000 ohms;
		   Mohms=1000 Kohms;
	   End units;
constant R: RES:= 15 Kohms;
constant C: CAP:= 100 ff;
constant PD: time:= (R/ 1 ohms)*(C/1 ff)/1000 *3 ps;
begin
   B <= not A after PD;
 end A3;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -