본문 바로가기
HW Design/1. Verilog HDL Basic

[Verilog Tutorial] level-9 Function and Task 모음

by 한PU 2024. 1. 16.
728x90
반응형

2024.01.16 - [Verilog/Basic] - [Function and Task] 1. 베릴로그 함수

 

[Function and Task] 1. 베릴로그 함수

subprograms tasks functions reusable한 코드를 작성할 수 있음. 최대한 reusable하게 만드는것이 좋음. function과 task의 차이점. 차이점 1 function을 작성하면 계산을 수행하여 단일 값을 반환 task는 여러 개의

han-pu.tistory.com

728x90

2024.01.16 - [Verilog/Basic] - [Function and Task] 2. Task

 

[Function and Task] 2. Task

reusable한 작은 코드 섹션을 작성할 때 사용 time consuming constructs 사용 가능. wait posedge delays (#) blocking, non-blocking 할당 모두 사용 가능. 입출력의 개수 제한이 없음. 함수는 single value만 반환 가능 설

han-pu.tistory.com

반응형

2024.01.16 - [Verilog/Basic] - [Function and Task] 3. 예제 풀이

 

[Function and Task] 3. 예제 풀이

1. task 와 function의 두 가지 차이점은? 더보기 A task can have ore than one output but a function can only have one. A function can not consume time but a task can. 2. normal 함수와 automatic 함수의 차이점은? 더보기 Normal verilog

han-pu.tistory.com

 

728x90
반응형

'HW Design > 1. Verilog HDL Basic' 카테고리의 다른 글

[Reusable Code] 2. 생성문  (0) 2024.01.16
[Reusable Code] 1. 매개변수  (0) 2024.01.16
[Function and Task] 3. 예제 풀이  (0) 2024.01.16
[Function and Task] 2. Task  (0) 2024.01.16
[Function and Task] 1. 베릴로그 함수  (0) 2024.01.16