- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
in Modelsim what does this command "Force" ? I cannot decode it for the life of me
foreach filename [glob $src_dir/*.$mem_type] { file copy -force $filename $dest_dir/[file tail $filename] We're copying something but I have no idea what Thank youLink Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It forces the copy to occur even if the target file already exists.
www.tcl.tk/man/tcl/tclcmd/file.htm#m10 (www.tcl.tk/man/tcl/tclcmd/file.htm#m10)- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is just a parameter on the file copy command.
Modelsim has an actual "force" command, allowing you to override signal values in a simulation.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page