Why can't I download the example?

In the end of every chapter, there are source code for the given examples which should be download by users.Why the download files are always broken and can’t be open?

Hi and sorry that you are having difficulties downloading the examples.

Some users have reported to us that some combinations of Browser version and Linux ‘tar’ command version may not support the compressed tarballs available for download.

As a workaround, please follow the instructions at the top of the Code Examples page:


   If you click on the filename in your browser then you will prompted to
   either open or save the file. Once saved, the file should be opened with:

   tar -zxf <name_of_file>   OR   gunzip <name_of_file.tgz> ; tar -xf <name_of_file.tar>

   This will create the example directory structure.

Try the second ‘two step’ command - hopefully this workaround will resolve the problem for you.
If you still have difficulties, please send us the exact filename of the file you downloaded to your drive, and the exact size in bytes (e.g. send us an ‘ls -l FILE’ output from your machine) and we will investigate further.

Thanks,

In reply to gordon:

I was able to download, gunzip and untar examples from the UVM Cookbook section using:

    gunzip Uvm_Wb_two_kingdoms_override.gz

tar -xf Uvm_Wb_two_kingdoms_override

But the same process did not work for the example in the UVM Express section:
gunzip Uvm-express-0.88.gz

[i]$ tar -xf uvm-express-0.88
tar: uvm-express-0.88/ovl-2.6: Cannot mkdir: Not a directory
tar: uvm-express-0.88/ovl-2.6/assert_always.vlib: Cannot open: Not a directory
tar: uvm-express-0.88/ovl-2.6/assert_always_on_edge.vlib: Cannot open: Not a directory
tar: uvm-express-0.88/ovl-2.6/assert_change.vlib: Cannot open: Not a directory
tar: uvm-express-0.88/ovl-2.6/assert_cycle_sequence.vlib: Cannot open: Not a directory
tar: uvm-express-0.88/ovl-2.6/assert_decrement.vlib: Cannot open: Not a directory

tar: uvm-express-0.88/README.txt: Cannot open: Not a directory
tar: uvm-express-0.88/release-notes.txt: Cannot open: Not a directory
tar: Exiting with failure status due to previous errors

I am using Cygwin on Windows 7 home premium.

thanks,
Von