일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- 삼성기출
- 이진탐색
- 코드트리빵
- 순서대로방문하기
- 3Dreconstruction
- 포탑부수기
- 싸움땅
- 조합
- DenseDepth
- 백준
- 마법의숲탐색
- 소프티어
- 왕실의기사대결
- ARM
- 나무박멸
- 루돌프의반란
- 시뮬레이션
- dfs
- 코드트리
- 토끼와 경주
- ISER
- 슈퍼컴퓨터클러스터
- 수영대회결승전
- Calibration
- 구현
- ICER
- 마이크로프로세서
- BFS
- ros
- DP
Archives
- Today
- Total
목록verilog#4bit덧셈기#halfadder#4bitadder (1)
from palette import colorful_colors
[verilog] Full Adder, 4bit Adder 구현
fa.v 파일 (full adder) module fa(s, cout, a, b, cin); //full adder 모듈 input a, b, cin; output s, cout; assign {cout, s} = a + b + cin; //시스템 내의 full adder 계산 endmodule /* 다르게 짜는 방법 1 module fa(s, cout, a, b, cin); input a, b, cin; output s, cout; wire w1, w2, w3; xor u1 (w1, a, b); and u2 (w2, a, b); xor u3 (s, w1, cin); and u4 (w3, w1, cin); or u5 (cout, w3, w2); endmodule */ /* 다르게 짜는 방법 2 modul..
EE 학부과목/verilog
2023. 3. 13. 12:09