EE 4755- Elaboration and generate statements

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
full-widthPodcast
1

1/11

encourage image

There are no tags or description

Looks like no tags are added yet.

12 Terms

1
New cards

What is elaboration?

The process of resolving parameters, generate statements, and module instances to construct the design structure before simulation.

2
New cards

What is an elaboration-time constant?

A value known while elaborating the design, such as a module parameter or genvar-derived localparam.

3
New cards

What is the difference between a parameter and a port?

A parameter configures hardware at elaboration; a port carries signals during operation.

4
New cards

What does a generate if statement do?

Selects which hardware structure is elaborated based on an elaboration-time constant.

5
New cards

What does a procedural if statement do?

Selects which procedural statements execute based on a condition evaluated during execution.

6
New cards

Can a generate if condition depend on a changing input port?

No. Its condition must be an elaboration-time constant expression.

7
New cards

What does generate for do?

Creates repeated design structures during elaboration.

8
New cards

What is genvar?

A variable used during elaboration to control generate loops.

9
New cards

What does a procedural for loop do?

Repeats statements inside a procedural block; synthesis may unroll it into parallel hardware.

10
New cards

What is a key difference between generate for and procedural for?

Generate for can instantiate modules; procedural for cannot instantiate modules in its body.

11
New cards

What is recursive module construction?

A module instantiates smaller versions of itself until an elaboration-time base case is reached.

12
New cards

What does generate if (w > 1) mean when w is a parameter?

The contained structure is elaborated only for instances whose parameter w is greater than 1.