Data Flow Modeling is the 3rd level of abstraction in Verilog.
In above keywords assign is known as continious assignment keyword. and using wire keyword we can declare internal connections.
Let us describe a 4X1 MUX using data flow modeling. Write the boolean expression and make a logic circuit diagram.
$$Y = \bar S_1 \bar S_0 I_0 + \bar S_1 S_0 I_1 + S_1 \bar S_0 I_2 + S_1 S_0 I3$$
First, create a module and define input output ports. Declare internal connection using wire keyword.
By usign assign statement write the boolean expression in a single line. Thats it 😀
Click like if you found this useful
This policy contains information about your privacy. By posting, you are declaring that you understand this policy:
This policy is subject to change at any time and without notice.
These terms and conditions contain rules about posting comments. By submitting a comment, you are declaring that you agree with these rules:
Failure to comply with these rules may result in being banned from submitting further comments.
These terms and conditions are subject to change at any time and without notice.
Comments