• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC Design
  3. Digital vector file

Stats

  • Locked Locked
  • Replies 10
  • Subscribers 125
  • Views 11521
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Digital vector file

rtyuy
rtyuy over 2 years ago

Hi, i am new to the cadence . can  anyone  please help what is the first step to create  vector file

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 2 years ago

    By "Digital Vector File" I assume you mean a file used for digital stimulus with Spectre? If so, the best place is to read the documentation. 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 2 years ago

    By "Digital Vector File" I assume you mean a file used for digital stimulus with Spectre? If so, the best place is to read the documentation. 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • rtyuy
    rtyuy over 2 years ago in reply to Andrew Beckett

    thank you for the response , well i am talking about the .vec file . if there are less number of input then it is easier to write the tabular vector data. However i have 1024 inputs in my schematics (i.e 1024 rows) which i want to turn on 1 by 1 .

    Does i need to write  1000000 upto 1024

                                       01000000 upto 1024

    for Vname I1 I2 I3 I4.....................................................I1024

    is there anyway or i have to write it manually all?

    sorry for my english.  i am talking about this file(  https://www.bioee.ee.columbia.edu/courses/cad/html/vec.html)

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • rtyuy
    rtyuy over 2 years ago in reply to Andrew Beckett

    well i am talking about .vec file in ultrasim.

    it is easier to write the tabular vector data for lesser number of input . However if  my schematic has 1024 input then does i manually need to write

    1 vname I1 I2 I3...........upto  I1024

    2  tabular format

       10000000000...upto 1024

       010000000....... upto 1024 bit and so on

       001000000......

    is there any other way . but ir is difficult to write for large number of input

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 2 years ago in reply to rtyuy

    A couple of ways - you could use a digital stimulus block in this case (written in Verilog) and then do a mixed-signal simulation. That digital stimulus block would then just be a 1024 bit shift register, and that would be very easy to code - simpler than a flat file.

    Or you could do a digital simulation of such a shift register (using xrun in XCELIUM) and save a VCD file, and then use a VCD input instead for your spectre simulation.

    Having to hand-produce a vector file which only has a single bit enabled is going to be cumbersome of course. That said, writing a simple python or perl script to generate it wouldn't exactly be difficult either.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • rtyuy
    rtyuy over 2 years ago in reply to Andrew Beckett

    THANK YOU, is there no  way in the vector file to compress that long bit pattern ?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 2 years ago in reply to rtyuy

    You could do it in hexadecimalso so that will make the bit patterns 4 times shorter at least.

    Andrew 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • rtyuy
    rtyuy over 2 years ago in reply to Andrew Beckett

     yea it has save my time. thank you @Andrew Beckett                                                                              

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • rtyuy
    rtyuy over 2 years ago in reply to rtyuy

    In my schematic i have given input via vector file, However i have given some  some dc input directly in the schematics. when i am checking its transient node voltage for that given dc input , it is showing "?" . do i have to give all  the inputs  through vector file only if i am using ultrasim or some other problem is there?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 2 years ago in reply to rtyuy

    I'm not sure what you mean by 'showing "?"', but you can't set an input both with a DC source and a vector file as these would be conflicting.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 2 years ago in reply to Andrew Beckett

    I should clarify - you don't have to specify all inputs through the vector file, but for any input specified in the vector file you cannot also drive it by a voltage source on the schematic.

    Andrew 

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information