본문 바로가기
728x90
반응형

HW Design/1. Verilog HDL Basic54

[Using Continuous Assignment] 1. 연속 할당 in 베릴로그 assign 키워드 사용 continuous Assignment in Verilog verilog net types 에서 data를 구동시키기 위해 사용 즉, combinational logic circuits 모델링에 사용 continuous aasignment 사용에 대한 2가지 방법 explicit continuous assignment 보편적인 방법 implicit continuous assignment net declaration assignment 로도 부름 Explicit Continuous Assignment assign 키워드 일반적인 구문 assign = ; 데이터를 할당할 신호의 이름 net type 변수에만 사용 가능 고정 값 or 연산자를 이용한 표현 variable, net ty.. 2024. 1. 10.
[Verilog Tutorial] level-3 Verilog Operators 모음 Verilog Operators 1. 비트 연산자 2024.01.04 - [Verilog/Basic] - [Verilog Operator] 1. 비트 연산자 [Verilog Operator] 1. 비트 연산자 Operator (연산자) 에 대해서 배울 예정 디지털 데이터를 처리하는 방법을 제공 대부분의 경우 verilog operators를 사용할 때 합성을 원하는 boolean 표현식, 논리회로를 생성 synthesizable code에 쓸 수 없는 han-pu.tistory.com 2. 산술 연산자 2024.01.04 - [Verilog/Basic] - [Verilog Operator] 2. 산술 연산자 [Verilog Operator] 2. 산술 연산자 == 산술 연산자 변수를 이용해 수학적 함수를.. 2024. 1. 4.
[Verilog Operator] 8. 예제 풀이 1. 베릴로그에서 logic gates를 모델링할 때 사용하는 연산자는? 더보기 bit-wise operators 2. arithmetic operators 중 두 개는 aynthesizable code와 사용해서는 안된다. 무엇인가? 더보기 - ** (지수) - % (모듈러스) - / (나눗셈) 중 2가지 3. bit-wise 와 logical operation의 차이는? 더보기 The bit wise operators work on individual bits whereas the logical operators are used to combine logical expressions. 4. logical shift operators 와 arithmetic shift operators 의 차이는? 더보.. 2024. 1. 4.
[Verilog Operator] 7. Concatenation and Replication Operator 글 제목은 원래 한글로 적나, 한글을 모르겠음요 Concatenation 연결 연산자 ?? 합체 연산자 ?? 벡터, 배열, 숫자 표현을 의미 데이터끼리 붙이는 연산자 Replication 복제 연산자 두 경우 모두 연산자의 output은 vector type input은 single bit, vector type 둘 다 가능 Concatenation Operator Table 연산자 표현 {} Concatenation operator {{}} Replication operator c = { 2'b00, 2'11 }; 2 bit 00과 2bit 11을 concatenation 각 신호의 구분은 , c = 0011b Replication Operator 벡터의 여러 비트에 동일한 값을 할당할 .. 2024. 1. 4.
728x90
반응형