- 2
- 0
- 约3.38千字
- 约 37页
- 2023-01-18 发布于上海
- 举报
讲基本输入输出函数会计学提纲第1页/共37页基本input/output文件测试程序(Testbenches)ASSERT语句文件对象第2页/共37页VHDL的对象包括信号变量常量文件通过引入文件类型,使得我们可以定义和使用文件对象文件定义第3页/共37页文件可以通过它所存储的内容来进行区分type text 是字符串文件;type IntegerFileType 是整数型文件;VHDL 1987中的文件定义file infile: text is in “inputdata.txt”;file outfile: text is out “outputdata.txt”;VHDL 1993中的文件定义file infile: text open read_mode is “inputdata.txt”;file outfile: text open write_mode is “outputdata.txt”;文件定义:二进制I/O文件(VHDL 1993)第4页/共37页文件定义:二进制I/O文件(VHDL 1993)第5页/共37页VHDL支持read(f,value), write(f, value)和 endfile(f)操作;VHDL 93支持File_Open()和File_Close()操作;直接和间接的文件打开操作;文件定义:二进制I/O文件(VHDL 1987)第
原创力文档

文档评论(0)