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

📄 ex_2_3_4_consolw_io.vhd

📁 This is the course for VHDL programming
💻 VHD
字号:
use std.textio.all;entity console is end console;architecture beh of console isbegin  process 	variable LOUT, LIN : LINE ;	variable N: integer;  begin   write(LOUT,string'("Please enter a number"));--Form ASCII string at LOUT   writeline(OUTPUT, LOUT) ; --Give prompt message to console	readline(INPUT, LIN);	--Wait for user input	read(LIN,N);			--Convert LINE buffer to integer at N    write(LOUT, string'("You typed "));	-- Form ASCII string at LOUT   write(LOUT, N);		--Convert N to ASCII string at LOUT   writeline (OUTPUT, LOUT) ; --Send LOUT to console   wait;  end process;end beh;

⌨️ 快捷键说明

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