find the name of all the primary inputs of a netlist in Modelsim using tcl

Status
Not open for further replies.

ifforums

Newbie level 6
Joined
Nov 5, 2010
Messages
14
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,502
Hi,

I have a gate-level verilog netlist. In modelsim, I need to write a simple tcl code to find the name of all the primary inputs of the netlist. Then,on top of this list, I wanna randomly generate a logic value and assign it to each primary input that are obtained in the previous step.
I am wondering if there is any way to do this process in modelsim?


Thanks
 

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