Creating lists using OCEAN

Discussion in 'Cadence' started by sarathcvk, Feb 21, 2007.

  1. sarathcvk

    sarathcvk Guest


    Is there any way to generate a list from, say 100 to 500 in steps of 1
    instead of declaring the same as
    test_list=list(100 101 102 103 104....498 499 500)?
    sarathcvk, Feb 21, 2007
  2. linRg is the function you are looking for:

    test_list = linRg(100 500 1)

    Suresh Jeevanandam, Feb 22, 2007
  3. sarathcvk

    sarathcvk Guest

    Thanks. It worked fine.
    sarathcvk, Feb 22, 2007
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.