Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F10707538
multiplier2.v
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Size
397 B
Referenced Files
None
Subscribers
None
multiplier2.v
View Options
module
multiplier2
#(
parameter
BITWIDTH
=
2
)
(
A
,
B
,
P
);
// Input and Output Declarations
input
[
BITWIDTH
-
1
:
0
]
A
;
// A is an input of size BITWIDTH
input
[
BITWIDTH
-
1
:
0
]
B
;
// B is an input of size BITWIDTH
output
[
2
*
BITWIDTH
-
1
:
0
]
P
;
// P is an output of size 2*BITWIDTH
// Multiply A and B
assign
P
=
A
*
B
;
// Calculate the product
endmodule
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, May 31, 4:53 PM (1 d, 16 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
329045
Default Alt Text
multiplier2.v (397 B)
Attached To
Mode
R231 SoC_I-Edge_yosys_nem_optimization
Attached
Detach File
Event Timeline
Log In to Comment