上一页 1 2 3 4 5 6 7 8 ··· 30 下一页
摘要: 参考:SystemVerilog | 五花八门的随机约束 - 知乎 (zhihu.com) 上一篇文章《SystemVerilog | 暗藏玄机的随机化方法》介绍了SystemVerilog的各种随机化方法,本文将在其基础上引入SystemVerilog的随机约束方法(constraints)。通过 阅读全文
posted @ 2023-07-04 17:07 burlingame 阅读(624) 评论(0) 推荐(0) 编辑
摘要: 1,sv dist 转自: https://zhidao.baidu.com/question/1705149255835699740.htmlSystemverilog中权重分布由操作符dist实现,百有两种形式:“:=”或“:/”。“:=”表示值的权重是相等的,“:/”表示值的权重是均分度的。权 阅读全文
posted @ 2023-07-04 16:31 burlingame 阅读(370) 评论(0) 推荐(0) 编辑
摘要: 1,文件系统和设备驱动之间的关系 1)应用程序和VFS之间是系统调用; 2)VFS与文件系统以及设备文件之间的接口是file_operations结构体成员函数,这个结构体可以对文件进行打开,读写,定位,控制等操作;如下图所示: 3)由于字符设备的上层没有类似磁盘的ext2等文件系统,所以字符设备的 阅读全文
posted @ 2023-06-25 17:05 burlingame 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 1,代码 1 /* 2 * a simple kernel module supporting parameters 3 * 4 * Copyright (C) 2014 Barry Song (baohua@kernel.org) 5 * 6 * Licensed under GPLv2 or l 阅读全文
posted @ 2023-06-06 21:16 burlingame 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 1,源代码如下所示: 1 /* 2 * a simple kernel module: hello 3 * 4 * Copyright (C) 2014 Barry Song (baohua@kernel.org) 5 * 6 * Licensed under GPLv2 or later. 7 * 阅读全文
posted @ 2023-06-06 20:24 burlingame 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 转载:posix是什么都不知道,还好意思说你懂Linux? (qq.com) Linux开发者越来越多,但是仍然有很多人整不明白POSIX是什么。本文就带着大家来了解一下到底什么是POSIX,了解他的历史和重要性。 一、什么是posix? 1. 概念 POSIX:可移植操作系统接口(Portable 阅读全文
posted @ 2023-06-06 14:50 burlingame 阅读(81) 评论(0) 推荐(0) 编辑
摘要: 1,Linux中的Terminator终端使用教程 - 知乎 (zhihu.com) Terminator 是一个终端模拟器,如 xterm、gnome-terminal、konsole 等一样。具有以网格状结构排列;拖放终端重新排序;大量的键盘快捷键;通过 GUI 首选项编辑器保存多个布局和配置文 阅读全文
posted @ 2023-06-05 15:50 burlingame 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 1,Tmux 使用教程 Tmux 使用教程 - 阮一峰的网络日志 (ruanyifeng.com) Tmux 是一个终端复用器(terminal multiplexer),非常有用,属于常用的开发工具。 本文介绍如何使用 Tmux。 一、Tmux 是什么? 1.1 会话与进程 命令行的典型使用方式是 阅读全文
posted @ 2023-06-05 15:37 burlingame 阅读(1506) 评论(0) 推荐(0) 编辑
摘要: 转载:一篇文章搞定Python多进程(全) - 知乎 (zhihu.com) 一篇文章搞懂Python多线程简单实现和GIL - https://mp.weixin.qq.com/s/Hgp-x-T3ss4IiVk2_4VUrA一篇文章理清Python多线程同步锁,死锁和递归锁 - https:// 阅读全文
posted @ 2023-06-01 17:03 burlingame 阅读(26) 评论(0) 推荐(0) 编辑
摘要: 转载:(15条消息) python获取threading多线程的return返回值_python threading 返回值_星火燎愿的博客-CSDN博客 我们正常使用 threading 模块创建的线程是无法获取它所执行方法的返回值的; 如: w = threading.Thread(target 阅读全文
posted @ 2023-05-31 18:21 burlingame 阅读(1233) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 30 下一页