- 博客(2)
- 收藏
- 关注
原创 如何理解system verilog 中的virtual函数
举一个例子:class bird;//定义一个基类virtual function print() display("I am a bird!");endfunction//定义一个virtual函数endclass:birdclass red_bird extends bird;//定义一个子类function print() display("I am a red bird...
2018-09-20 10:25:43 7457 1
翻译 如何理解system verilog 中的automatic function和task.
//有 "automatic"module tryfact;// define the functionfunction automatic integer factorial (input [31:0] operand);if (operand >= 2)factorial = factorial (operand - 1) * operand;elsefactorial ...
2018-09-20 10:02:16 11739 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人