how to assign values to wire in verilog

Status
Not open for further replies.

badari259

Newbie level 2
Joined
Apr 10, 2015
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Location
Bengaluru, INdia
Activity points
12
i know that initially it's value will be z. but this makes my mac unit not to add and accumulate. the adder is adding the multiplied result to the wire whose initial value is z. what should i do? please help me. thanks.
 

i know that initially it's value will be z. but this makes my mac unit not to add and accumulate. the adder is adding the multiplied result to the wire whose initial value is z. what should i do? please help me. thanks.

You should show the code for your mac unit.

Not sure if you should actually be using an assign, but since you ask for it and show no code to base better advice on ... https://www.asic-world.com/verilog/synthesis3.html
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…