摘要:
echo: 用于字符串的输出。命令格式: echo "It is a test" //可以省略双引号; 显示转义字符 echo "\"It is a test\"" //可以省略双引号; 变量 #!/bin/sh read name echo "$name It is a test" read是一个 阅读全文
摘要:
Ch05 基本运算符 原生bash不支持简单的数学运算,但是可以通过其他命令来实现,例如 awk 和 expr,expr 最常用。 expr 是一款表达式计算工具,使用它能完成表达式的求值操作。 #!/bin/bash val=`expr 2 + 2` echo "两数之和为 : $val" 输出结 阅读全文
摘要:
Ch03.传递参数 向脚本传递三个参数,并分别输出,其中 $0 为执行的文件名(包含文件路径) #!/bin/bash # author:菜鸟教程 # url:www.runoob.com echo "Shell 传递参数实例!"; echo "执行的文件名:$0"; echo "第一个参数为:$1 阅读全文
摘要:
菜鸟教程上看到的bash教程:https://www.runoob.com/linux/linux-shell.html Ch01 shell的 "Hello World!",如下: #!/bin/bash echo "Hello World !" 其中,是一个约定的标记,它告诉系统这个脚本需要什么 阅读全文
摘要:
pip 列出所有安装的库 pip list 列出所有过期的库 pip list --outdated 安装pip-review。 pip install pip-review pip-review --local --interactive pip-review ERROR: Could not i 阅读全文
摘要:
前几天在eetop上看到了有人发的华大九天的EDA,本来想自己装着试一下。系统是centOS 7,阿里云下载的。 安装流程:https://wenku.baidu.com/view/2bed58405727a5e9846a6125.html Q1.开机直接是命令行,没有登录界面。 A1:安装的时候选 阅读全文
摘要:
81.A D flip-flop is a circuit that stores a bit and is updated periodically, at the (usually) positive edge of a clock signal. D flip-flops are create 阅读全文
摘要:
知乎上有个详细的解答专栏:https://zhuanlan.zhihu.com/c_1131528588117385216 73.Implement the circuit described by the Karnaugh map below. module top_module( input a 阅读全文
摘要:
66.Create a half adder. A half adder adds two bits (with no carry-in) and produces a sum and carry-out. module top_module( input a, b, output cout, su 阅读全文
摘要:
61.Create a one-bit wide, 2-to-1 multiplexer. When sel=0, choose a. When sel=1, choose b. module top_module( input a, b, sel, output out ); assign out 阅读全文
摘要:
44.Implement the following circuit: in-->out module top_module ( input in, output out); assign out=in; endmodule 45.Implement the following circuit: m 阅读全文
摘要:
[注]这个网站比较神奇的一点就在于,不解出来就不让你看答案。所以经常一个错误卡好久。。不过有大佬在GitHub发过答案了: https://github.com/M-HHH/HDLBits_Practice_verilog 31.Build a 2-to-1 mux that chooses bet 阅读全文
摘要:
16.Given several input vectors, concatenate them together then split them up into several output vectors. There are six 5-bit input vectors: a, b, c, 阅读全文
摘要:
听别人推荐了一个Verilog刷题网站:https://hdlbits.01xz.net/wiki/Main_Page 01.Build a circuit with no inputs and one output. That output should always drive 1 (or lo 阅读全文
摘要:
01.检索: https://www.baiten.cn/ https://www.soopat.com/ https://www.rainpat.com/ http://www.innojoy.com/search/ 02.注意: 1.第2部分和第4部分,一定要写的全面、清楚。 2.英文缩写有中文 阅读全文
摘要:
Chapter10 2020-04-11 20:09:04 程序崩溃可不好,但让用户看到traceback也不是好主意。如果用户怀有恶意,他会通过traceback获悉你不希望他知道的信息。有时候,训练有素的攻击者可根据这些信息判断出可对你的代码发起什么样的攻击。 try-except 代码块 执行 阅读全文
摘要:
Chapter07 用户输入和while 循环 input() age = input("How old are you? ") print(age) #默认为字符串 age = int(age) print(age) #强制类型转换 while current_number = 1 while c 阅读全文
摘要:
目的主要是提取下TFT的电学模型,应用于Hspice的仿真。基于level61或level62或者verilog-A编辑的模型。 2020.04.06 建个数据库: utmost4 user Manuel:2.2 Creating a Database On Windows, you can dou 阅读全文
摘要:
参考资料: https://www.runoob.com/linux/linux-tutorial.html https://baijiahao.baidu.com/s?id=1635968681987520772&wfr=spider&for=pc .PS:准备把旧电脑系统换成Ubuntu,先屯一 阅读全文
摘要:
参考文献: (1)HSPICE® User Guide:Simulation and Analysis-Chapter29 Using Verilog-A (2)Verilog-AMS Language Reference ManualAnalog & Mixed-Signal Extensions 阅读全文