This is still the picture today . Recently, I have been thinking about how integrated circuits can be combined with several other frontier fields .
Today we'll talk about Python.
Python It's not artificial intelligence 、 The language of neural networks , There are also many applications in the field of chip design and verification .
Here are some open source projects :
RTL Automatic generation :
https://github.com/nvdla/hw/blob/master/tools/bin/epython
Automatic generation of register default type :
https://github.com/SystemRDL/systemrdl-compiler
Simulation script 、 Regression script :
https://github.com/zhajio1988/YASA
https://mp.weixin.qq.com/s/SvWRJBGggg0lqiD8YjEZ3Q
RISCV Core Simulation script for :
https://github.com/google/riscv-dv
because Python Compared with other languages such as Perl,Tcl Lower learning costs 、 More information 、 Easier to use , So use... In actual projects python More and more . Of course not Perl、Tcl There's no need to learn , The old project still needs to be maintained .
however , After opening the code of big guy , But a face muddled .
Here is Google RISCV Core Verify the script for the project run.py Screenshot , Big guys like to use Class To pretend to be forced , This for Python Zero basics or beginners are unfriendly . Functions haven't been learned yet , You told me to use class? Watching all day UVM It's enough of a headache , alas .
Even verify the script of big brother Jiong ... And a lot of import, be terrified by the sight of sb . or sth 、 look and step back .
This article is from WeChat official account. - ExASIC(ExASIC)
The source and reprint of the original text are detailed in the text , If there is any infringement , Please contact the [email protected] Delete .
Original publication time : 2020-11-12
Participation of this paper Tencent cloud media sharing plan , You are welcome to join us , share .