上一页 1 ··· 3 4 5 6 7 8 9 10 11 12 下一页
摘要: 1. 作用 $test$plusargs是verilog在仿真运行时调用的系统函数, 可以根据仿真选项不同, 创建不同的运行分支. 2. 举例 module tb; logic clk; initial begin #0 clk = 0; forever begin #5 clk = ~clk; e 阅读全文
posted @ 2022-01-29 11:14 编程驴子 阅读(459) 评论(0) 推荐(0) 编辑
摘要: flask入门实例 1. 什么是flask flask是个轻量级的web应用框架. flask是使用python编写的. 2. 第一个实例 2.1 编写app.py app.py #导入flask相关模块 from flask import Flask from flask import rende 阅读全文
posted @ 2022-01-08 14:51 编程驴子 阅读(880) 评论(0) 推荐(0) 编辑
摘要: 内容主要来自: https://www.sqlite.net.cn/tutorial/2.html [TOC] # 1. SQLite入门 ## 1.1 开始 在官网(https://www.sqlite.org/download.html)的Windows 区下载预编译的二进制文件(Precomp 阅读全文
posted @ 2021-12-02 13:51 编程驴子 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 目录1. vcs2. ncverilog2.1 ncsim接口2.2 指定某几个inst为blackbox3. cell只dump端口信号, 不dump单元内部信号 仿真工具 1. vcs 调用方式 simv -ucli -do xxx.tcl tcl脚本内容 # pin相关操作 # 查找某个pin 阅读全文
posted @ 2021-12-01 09:54 编程驴子 阅读(1588) 评论(0) 推荐(1) 编辑
摘要: 1 libmap的作用 主要两个作用: 解决module名重复问题: 比如有两个IP, IP0和IP1, 它们都例化了一个叫ADD的module, 而且它们的filelist中都包含add.v. 这时会引起编译错误, 这时可以: (1) 指定IP0中的add.v编译到库lib0中, IP1中的add 阅读全文
posted @ 2021-11-19 15:33 编程驴子 阅读(1378) 评论(0) 推荐(0) 编辑
摘要: gvim操作 1. 匹配和搜索 1.1 只在指定的特定行中搜索 /pattern\%>27l # 搜索pattern, 搜索范围是27行以后, 其中l表示按行搜索 /pattern\%>27l\%<40l # 搜索pattern, 搜索范围是27行以后40行以前, 其中l表示按行搜索 注意, 不要在 阅读全文
posted @ 2021-09-26 15:06 编程驴子 阅读(910) 评论(0) 推荐(0) 编辑
摘要: vector介绍 标准库类型vector表示对象的集合, 其中所有对象的类型都相同. vector也常被称为容器(container). vector是一个类模板. 因为引用不是对象, 所以不存在包含引用的vector. 在遍历vector对象时, 循环体中不能改变该vector对象的大小. 数组与 阅读全文
posted @ 2021-08-19 16:52 编程驴子 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 一维map基本操作 #include <iostream> #include <string> #include <map> //#include <utility> // 使用pair, 需要include utility, 如果使用make_pair则不需要include. int main() 阅读全文
posted @ 2021-08-19 15:24 编程驴子 阅读(152) 评论(0) 推荐(0) 编辑
摘要: #include <string> #include <iostream> int main() { using std::cin; using std::cout; using std::endl; using std::string; //string初始化, // 使用等号(=), 执行拷贝初 阅读全文
posted @ 2021-08-09 15:33 编程驴子 阅读(77) 评论(0) 推荐(0) 编辑
摘要: 1. 导入模块 import os import openpyxl # import处理excel的模块 2. 创建Workbook对象 if os.path.exists('test.xlsx'): o_workbook = openpyxl.load_workbook(filename='tes 阅读全文
posted @ 2021-08-06 14:54 编程驴子 阅读(43) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 12 下一页