est

How do we use the concept of Save and Restore during real developing(debugging)???/

Hi All,

I'm trying to understand checkpoint concept. When I found save and restart concept in cdnshelp, There is just describing about "$save" and "xrun -r "~~~".

and I found also the below link about save restart and it saves your time.

But I can't find any benefits from my experiment from save&restart article( I fully agree..the article)

Ok, So I'v got some experiment  Here.

1. I declared $save and got the below result as I expected within the simple UVM code.

In UVM code...

$display("TEST1");
$display("TEST2");
$save("SAVE_TEST");
$display("TEST3");
$display("TEST4");

And I restart at "SAVE_TEST" point by xrun -r "SAVE_TEST", I've got the below log

xcelium> run
TEST3
TEST4

Ok, It's Good what I expected.(The concept of Save and Restore is simple: instead of re-initializing your simulation every time you want to run a test, only initialize it once. Then you can save the simulation as a “snapshot” and re-run it from that point to avoid hours of initialization times. It used to be inconvenient. I agree..)

2. But The Problem is that I can't restart with modified code. Let's see the below example.

I just modified TEST5 instead of "TEST3"

$display("TEST1");
$display("TEST2");
$save("SAVE_TEST");
$display("TEST5"); //$display("TEST3");
$display("TEST4");

and I rerun with xrun -r "SAVE_TEST", then I've got the same log

xcelium> run
TEST3
TEST4

There is no "TEST5". Actually I expected "TEST5" in the log.From here We know $save can't support partially modified code after $save. 

Actually, through this, we can approach to our goal about saving developing time. 

So I want to know Is there any possible way that instead of re-initializing our simulation every time we want to run a test, only initialize it once and keep developing(debugging) our code ?

If we do, Could you let me know the simple example?




est

How to run a regressive test and merge the ncsim.trn file of all test into a single file to view the waveform in simvision ?

Hi all,

         I want to know how to run a regressive test in cadence and merge all ncsim .trn file of each test case into a single file to view all waveform in simvision. I am using Makefile to invoke the test case.

         eg:-

               test0:

                     irun -uvm -sv -access +rwc $(RTL) $(INTER) $(PKG) $(TOP) $(probe) +UVM_VERBOSITY=UVM_MEDIUM +UVM_TESTNAME=test0

             test1:

                   irun -uvm -sv -access +rwc $(RTL) $(INTER) $(PKG) $(TOP) $(probe) +UVM_VERBOSITY=UVM_MEDIUM +UVM_TESTNAME=test1

          I just to call test0 followed by test1 or parallel both test and view the waveform for both tests case.

        I new to this tool and help me with it

                     




est

latest Specman-Matlab package


Attached is the latest revision of the venerable Specman-Matlab package (Lead Application Engineer Jangook Lee is the latest to have refreshed it for a customer in Asia to support 64 bit mode.  Look for a guest blog post from him on this package shortly.)

There is a README file inside the package that gives a detailed overview, shows how to run a demo and/or validate it’s installed correctly, and explains the general test flow.  The test file included in the package called "test_get_cmp_mdim.e" shows all the capabilities of the package, including:

* Using Specman to initialize and tear down the Matlab engine in batch mode

* Issuing Matlab commands from e-code, using the Specman command prompt to load .m files, initializing variables, and other operational tasks.

* Transfering data to and from the Matlab engine to Specman / an e language test bench

* Comparing data of previously retrieved Matlab arrays

* Accessing Matlab arrays from e-code without converting them to e list data structure

* Convert Matlab arrays into e-lists

Happy coding!

Team Specman

 





est

Regarding Save/Restore Settings for Transient Simulation

Hello,

I am running a transient simulation on my circuit and usually my simulation time took me more than a day (The circuit is quite big). I am usually saving specific nodes to decrease the simulation time. My problem is, since it usually took me one day to finish I need to save my trans simulation just in case something bad happens. I am aware that the transient simulation have the options for save/restore. But, when I tried to use it I have some problem. Whenever I restore the save file, it starts where it ends before (expected function) but my data is incomplete. It doesn't save the previous data. Its kind of my data is incomplete. What I did is set the saveperiod and savefile. I hope someone can help me. Thank you!


Regards,

Kiel




est

Mixing It Up in Hardware (an Advantest Case Study in Faster Full-Chip Simulations)

Key Findings: Advantest, in mixed-signal SoC design, sees 50X speedup, 25 day test reduced to 12 hours, dramatic test coverage increase.

Trolling through the CDNLive archives, I discovered another gem. At the May 2013 CDNLive in Munich, Thomas Henkel and Henriette Ossoinig of Advantest presented a paper titled “Timing-accurate emulation of a mixed-signal SoC using Palladium XP”. Advantest makes advanced electronics test equipment. Among the semiconductor designs they create for these products is a test processor chip with over 100 million logic transistors, but also with lots of analog functions.They set out to find a way to speed up their full-chip simulations to a point where they could run the system software. To do that, they needed about a 50X speed-up. Well, they did it!


Figure 1: Advantest SoC Test Products

 

To skip the commentary, read Advantest's paper here

Problem Statement

Software is becoming a bigger part of just about every hardware product in every market today, and that includes the semiconductor test market. To achieve high product quality in the shortest amount of time, the hardware and software components need to be verified together as early in the design cycle as possible. However, the throughput of a typical software RTL simulation is not sufficient to run significant amounts of software on a design with hundreds of millions of transistors.  

Executing software on RTL models of the hardware means long runs  (“deep cycles”) that are a great fit for an emulator, but the mixed-signal content posed a new type of challenge for the Advantest team.  Emulators are designed to run digital logic. Analog is really outside of the expected use model. The Advantest team examined the pros and cons of various co-simulation and acceleration flows intended for mixed signal and did not feel that they could possibly get the performance they needed to have practical runtimes with software testbenches. They became determined to find a way to apply their Palladium XP platform to the problem.

Armed with the knowledge of the essential relationship between the analog operations and the logic and software operations, the team was able to craft models of the analog blocks using reduction techniques that accurately depicted the essence of the analog function required for hardware-software verification without the expense of a continuous time simulation engine.

The requirements boiled down to the following:

• Generation of digital signals with highly accurate and flexible timing

• Complete chip needs to run on Palladium XP platform

• Create high-resolution timing (100fs) with reasonable emulation performance, i.e. at least 50X faster than simulation on the fastest workstations

Solution Idea

The solution approach chosen was to simplify the functional model of the analog elements of the design down to generation of digital signal edges with high timing accuracy. The solution employed a fixed-frequency central clock that was used as a reference.Timing-critical analog signals used to produce accurately placed digital outputs were encoded into multi-bit representations that modeled the transition and timing behavior. A cell library was created that took the encoded signals and converted them to desired “regular signals”. 

Automation was added to the process by changing the netlisting to widen the analog signals according to user-specified schematic annotations. All of this was done in a fashion that is compatible with debugging in Cadence’s Simvision tool.  Details on all of these facets to follow.

The Timing Description Unit (TDU) Format

The innovative thinking that enabled the use of Palladium XP was the idea of combining a reference clock and quantized signal encoding to create offsets from the reference. The implementation of these ideas was done in a general manner so that different bit widths could easily be used to control the quantization accuracy.

 

Figure 2: Quantization method using signal encoding

 

Timed Cell Modeling

You might be thinking – timing and emulation, together..!?  Yes, and here’s a method to do it….

The engineering work in realizing the TDU idea involved the creation of a library of cells that could be used to compose the functions that convert the encoded signal into the “real signals” (timing-accurate digital output signals). Beyond some basic logic cells (e.g., INV, AND, OR, MUX, DFF, TFF, LATCH), some special cells such as window-latch, phase-detect, vernier-delay-line, and clock-generator were created. The converter functions were all composed from these basic cells. This approach ensured an easy path from design into emulation.

The solution was made parameterizable to handle varying needs for accuracy.  Single bit inputs need to be translated into transitions at offset zero or a high or low coding depending on the previous state.  Single bit outputs deliver the final state of the high-resolution output either at time zero, the next falling, or the next rising edge of the grid clock, selectable by parameter. Output transitions can optionally be filtered to conform to a configurable minimum pulse width.

Timed Cell Structure

There are four critical elements to the design of the conversion function blocks (time cells):

                Input conditioning – convert to zero-offset, optional glitch preservation, and multi-cycle path

                Transition sorting – sort transitions according to timing offset and specified precedence

                Function – for each input transition, create appropriate output transition

                Output filtering – Capability to optionally remove multiple transitions, zero-width, pulses, etc.

Timed Cell Caveat

All of the cells are combinational and deliver a result in the same cycle of an input transition. This holds for storage elements as well. For example a DFF will have a feedback to hold its state. Because feedback creates combinational loops, the loops need a designation to be broken (using a brk input conditioning function in this case – more on this later). This creates an additional requirement for flip-flop clock signals to be restricted to two edges per reference clock cycle.

Note that without minimum width filtering, the number of output transitions of logic gates is the sum of all input transitions (potentially lots of switching activity). Also note that the delay cell has the effect of doubling the number of output transitions per input transition.

 

Figure 3: Edge doubling will increase switching during execution

 

SimVision Debug Support

The debug process was set up to revolve around VCD file processing and directed and viewed within the SimVision debug tool. In order to understand what is going on from a functional standpoint, the raw simulation output processes the encoded signals so that they appear as high-precision timing signals in the waveform viewer. The flow is shown in the figure below.

 

Figure 4: Waveform post-processing flow

 

The result is the flow is a functional debug view that includes association across representations of the design and testbench, including those high-precision timing signals.

 

Figure 5: Simvision debug window setup

 

Overview of the Design Under Verification (DUV)

Verification has to prove that analog design works correctly together with the digital part. The critical elements to verify include:

• Programmable delay lines move data edges with sub-ps resolution

• PLL generates clocks with wide range of programmable frequency

• High-speed data stream at output of analog is correct

These goals can be achieved only if parts of the analog design are represented with fine resolution timing.

 

Figure 6: Mixed-signal design partitioning for verification

 

How to Get to a Verilog Model of the Analog Design

There was an existing Verilog cell library with basic building blocks that included:

- Gates, flip-flops, muxes, latches

- Behavioral models of programmable delay elements, PLL, loop filter, phase detector

With a traditional simulation approach, a cell-based netlist of the analog schematic is created. This netlist is integrated with the Verilog description of the digital design and can be simulated with a normal workstation. To use Palladium simulation, the (non-synthesizable) portions of the analog design that require fine resolution timing have to be replaced by digital timing representation. This modeling task is completed by using a combination of the existing Verilog cell library and the newly developed timed cells.

Loop Breaking

One of the chief characteristics of the timed cells is that they contain only combinational cells that propagate logic from inputs to outputs. Any feedback from a cell’s transitive fanout back to an input creates a combinational loop that must be broken to reach a steady state. Although the Palladium XP loop breaking algorithm works correctly, the timed cells provided a unique challenge that led to unpredictable results.  Thus, a process was developed to ensure predictable loop breaking behavior. The user input to the process was to provide a property at the loop origin that the netlister recognized and translated to the appropriate loop breaking directives.

Augmented Netlisting

Ease of use and flow automation were two primary considerations in creating a solution that could be deployed more broadly. That made creating a one-step netlisting process a high-value item. The signal point annotation and automatic hierarchy expansion of the “digital timing” parameter helped achieve that goal. The netlister was enriched to identify the key schematic annotations at any point in the hierarchy, including bit and bus signals.

Consistency checking and annotation reporting created a log useful in debugging and evolving the solution.

Wrapper Cell Modeling and Verification

The netlister generates a list of schematic instances at the designated “netlister stop level” for each instance the requires a Verilog model with fine resolution timing. For the design in this paper there were 160 such instances.

The library of timed cells was created; these cells were actually “wrapper” cells comprised of the primitives for timed cell modeling described above. A new verification flow was created that used the behavior of the primitive cells as a reference for the expected behavior of the composed cells. The testing of the composed cells included had the timing width parameter set to 1 to enable direct comparison to the primitive cells. The Cadence Incisive Enterprise Simullator tool was successfully employed to perform assertion-based verification of the composed cells versus the existing primitive cells.

Mapping and Long Paths

Initial experiments showed that inclusion of the fine resolution timed cells into the digital emulation environment would about double the required capacity per run. As previously pointed out, the timed cells having only combinational forward paths creates a loop issue. This fact also had the result of creating some such paths that were more than 5,000 steps of logic. A timed cell optimization process helped to solve this problem. The basic idea was to break the path up by adding flip-flops in strategic locations to reduce combinational path length. The reason that this is important is that the maximum achievable emulation speed is related to combinational path length.

Results

Once the flow was in place, and some realistic test cases were run through it, some further performance tuning opportunities were discovered to additionally reduce runtimes (e.g., Palladium XP tbrun mode was used to gain speed). The reference used for overall speed gains on this solution was versus a purely software-based solution on the highest performance workstation available.

The findings of the performance comparison were startlingly good:

• On Palladium XP, the simulation speed is 50X faster than on Advantest’s fastest workstation

• Software simulation running 25 days can now be run in 12 hours -> realistic runtime enables long-running tests that were not feasible before

• Now have 500 tests that execute once in more than 48 hours

• They can be run much more frequently using randomization and this will increase test coverage dramatically

Steve Carlson




est

Automatically Reusing an SoC Testbench in AMS IP Verification

The complexity and size of mixed-signal designs in wireless, power management, automotive, and other fast growing applications requires continued advancements in a mixed-signal verification methodology. An SoC, in these fast growing applications, incorporates a large number of analog and mixed-signal (AMS) blocks/IPs, some acquired from IP providers, some designed, often concurrently. AMS IP must be verified independently, but this is not sufficient to ensure an SoC will function properly and all scenarios of interaction among many different AMS IP blocks at full chip / SoC level must be verified thoroughly. To reduce an overall verification cycle, AMS IP and SoC verification teams must work in parallel from early stages of the design. Easier said than done! We will outline a methodology than can help.

AMS designers verify their IP meets required specifications by running a testbench they develop for standalone / out of-context verification. Typically, an AMS IP as analog-centric, hierarchal design in schematic, composed of blocks represented by transistor, HDL and behavioral description verified in Virtuoso® Analog Design Environment (ADE) using Spectre AMS Designer simulation. An SoC verification team typically uses UVM SystemVerilog testbech at full chip level where the AMS IP is represented with a simple digital or real number model running Xcelium /DMS simulation from the command line.

Ideally, AMS designers should also verify AMS IP function properly in the context of full-chip integration, but reproducing an often complex UVM SystemVerilog testbench and bringing over top-level design description to an analog-centric environment is not a simple task.

Last year, Cadence partnered with Infineon on a project with a goal to automate the reuse of a top-level testbench in AMS verification. The automation enabled AMS verification engineers to automatically configure setup for verification runs by assembling all necessary options and files from the AMS IP Virtuoso GUI and digital SoC top-level command line configurations. The benefits of this method were:

  • AMS verification engineers did not need to re-create complex stimuli representing interaction of their IP at the top level
  • Top-level verification stays external to the AMS IP verification environment and continues to be managed by the SoC verification team, but can be reused by the AMS IP team without manual overhead
  • AMS IP is verified in-context and any inconsistencies are detected earlier in the verification process
  • Improved productivity and overall verification time

For more details, please see Infineon’s CDNLlive presentation.




est

Start Your Engines: AMSD Flex – Your Instant Access to Latest Spectre Features!

This blog talks about how to enable the AMS Designer flex mode.(read more)



  • mixed signal design
  • AMS Designer
  • AMSD
  • AMSD Flex Mode
  • mixed-signal verification

est

News18 Urdu: Latest News Mysore

visit News18 Urdu for latest news, breaking news, news headlines and updates from Mysore on politics, sports, entertainment, cricket, crime and more.




est

News18 Urdu: Latest News Bijnor

visit News18 Urdu for latest news, breaking news, news headlines and updates from Bijnor on politics, sports, entertainment, cricket, crime and more.




est

News18 Urdu: Latest News Bagpat

visit News18 Urdu for latest news, breaking news, news headlines and updates from Bagpat on politics, sports, entertainment, cricket, crime and more.




est

News18 Urdu: Latest News Warangal

visit News18 Urdu for latest news, breaking news, news headlines and updates from Warangal on politics, sports, entertainment, cricket, crime and more.




est

News18 Urdu: Latest News Bulandshehar

visit News18 Urdu for latest news, breaking news, news headlines and updates from Bulandshehar on politics, sports, entertainment, cricket, crime and more.




est

News18 Urdu: Latest News Rajauri

visit News18 Urdu for latest news, breaking news, news headlines and updates from Rajauri on politics, sports, entertainment, cricket, crime and more.




est

News18 Urdu: Latest News Andaman

visit News18 Urdu for latest news, breaking news, news headlines and updates from Andaman on politics, sports, entertainment, cricket, crime and more.




est

News18 Urdu: Latest News Haridwar

visit News18 Urdu for latest news, breaking news, news headlines and updates from Haridwar on politics, sports, entertainment, cricket, crime and more.




est

News18 Urdu: Latest News Jind

visit News18 Urdu for latest news, breaking news, news headlines and updates from Jind on politics, sports, entertainment, cricket, crime and more.




est

News18 Urdu: Latest News South 24 Parganas

visit News18 Urdu for latest news, breaking news, news headlines and updates from South 24 Parganas on politics, sports, entertainment, cricket, crime and more.




est

News18 Urdu: Latest News Hardoi

visit News18 Urdu for latest news, breaking news, news headlines and updates from Hardoi on politics, sports, entertainment, cricket, crime and more.




est

News18 Urdu: Latest News Nalgonda

visit News18 Urdu for latest news, breaking news, news headlines and updates from Nalgonda on politics, sports, entertainment, cricket, crime and more.




est

News18 Urdu: Latest News Kalhandi

visit News18 Urdu for latest news, breaking news, news headlines and updates from Kalhandi on politics, sports, entertainment, cricket, crime and more.




est

News18 Urdu: Latest News Jalandhar

visit News18 Urdu for latest news, breaking news, news headlines and updates from Jalandhar on politics, sports, entertainment, cricket, crime and more.




est

News18 Urdu: Latest News Anantpur

visit News18 Urdu for latest news, breaking news, news headlines and updates from Anantpur on politics, sports, entertainment, cricket, crime and more.




est

News18 Urdu: Latest News Bhadoi

visit News18 Urdu for latest news, breaking news, news headlines and updates from Bhadoi on politics, sports, entertainment, cricket, crime and more.




est

News18 Urdu: Latest News Lakhimpur Khedi

visit News18 Urdu for latest news, breaking news, news headlines and updates from Lakhimpur Khedi on politics, sports, entertainment, cricket, crime and more.




est

News18 Urdu: Latest News Mahendragarh

visit News18 Urdu for latest news, breaking news, news headlines and updates from Mahendragarh on politics, sports, entertainment, cricket, crime and more.




est

News18 Urdu: Latest News Prakasam

visit News18 Urdu for latest news, breaking news, news headlines and updates from Prakasam on politics, sports, entertainment, cricket, crime and more.




est

News18 Urdu: Latest News Vadodara

visit News18 Urdu for latest news, breaking news, news headlines and updates from Vadodara on politics, sports, entertainment, cricket, crime and more.




est

News18 Urdu: Latest News Lahaul Spiti

visit News18 Urdu for latest news, breaking news, news headlines and updates from Lahaul Spiti on politics, sports, entertainment, cricket, crime and more.




est

News18 Urdu: Latest News Thane

visit News18 Urdu for latest news, breaking news, news headlines and updates from Thane on politics, sports, entertainment, cricket, crime and more.




est

News18 Urdu: Latest News Muzaffarpur

visit News18 Urdu for latest news, breaking news, news headlines and updates from Muzaffarpur on politics, sports, entertainment, cricket, crime and more.




est

News18 Urdu: Latest News Allahabad

visit News18 Urdu for latest news, breaking news, news headlines and updates from Allahabad on politics, sports, entertainment, cricket, crime and more.




est

News18 Urdu: Latest News Mandsaur

visit News18 Urdu for latest news, breaking news, news headlines and updates from Mandsaur on politics, sports, entertainment, cricket, crime and more.




est

News18 Urdu: Latest News Chaibasa

visit News18 Urdu for latest news, breaking news, news headlines and updates from Chaibasa on politics, sports, entertainment, cricket, crime and more.




est

News18 Urdu: Latest News South Goa

visit News18 Urdu for latest news, breaking news, news headlines and updates from South Goa on politics, sports, entertainment, cricket, crime and more.




est

News18 Urdu: Latest News Jaipur

visit News18 Urdu for latest news, breaking news, news headlines and updates from Jaipur on politics, sports, entertainment, cricket, crime and more.




est

News18 Urdu: Latest News Zunheboto

visit News18 Urdu for latest news, breaking news, news headlines and updates from Zunheboto on politics, sports, entertainment, cricket, crime and more.




est

News18 Urdu: Latest News Samastipur

visit News18 Urdu for latest news, breaking news, news headlines and updates from Samastipur on politics, sports, entertainment, cricket, crime and more.




est

News18 Urdu: Latest News Karimganj

visit News18 Urdu for latest news, breaking news, news headlines and updates from Karimganj on politics, sports, entertainment, cricket, crime and more.




est

News18 Urdu: Latest News Sonepur

visit News18 Urdu for latest news, breaking news, news headlines and updates from Sonepur on politics, sports, entertainment, cricket, crime and more.




est

News18 Urdu: Latest News Ambedkarnagar

visit News18 Urdu for latest news, breaking news, news headlines and updates from Ambedkarnagar on politics, sports, entertainment, cricket, crime and more.




est

News18 Urdu: Latest News Hamirpur

visit News18 Urdu for latest news, breaking news, news headlines and updates from Hamirpur on politics, sports, entertainment, cricket, crime and more.




est

News18 Urdu: Latest News Shravati

visit News18 Urdu for latest news, breaking news, news headlines and updates from Shravati on politics, sports, entertainment, cricket, crime and more.




est

News18 Urdu: Latest News Shooji Maharaj

visit News18 Urdu for latest news, breaking news, news headlines and updates from Shooji Maharaj on politics, sports, entertainment, cricket, crime and more.




est

News18 Urdu: Latest News Sawai Madhopur

visit News18 Urdu for latest news, breaking news, news headlines and updates from Sawai Madhopur on politics, sports, entertainment, cricket, crime and more.




est

News18 Urdu: Latest News West

visit News18 Urdu for latest news, breaking news, news headlines and updates from West on politics, sports, entertainment, cricket, crime and more.




est

News18 Urdu: Latest News Anantnag

visit News18 Urdu for latest news, breaking news, news headlines and updates from Anantnag on politics, sports, entertainment, cricket, crime and more.




est

News18 Urdu: Latest News Sikar

visit News18 Urdu for latest news, breaking news, news headlines and updates from Sikar on politics, sports, entertainment, cricket, crime and more.




est

News18 Urdu: Latest News Gumla

visit News18 Urdu for latest news, breaking news, news headlines and updates from Gumla on politics, sports, entertainment, cricket, crime and more.




est

News18 Urdu: Latest News Udaipur

visit News18 Urdu for latest news, breaking news, news headlines and updates from Udaipur on politics, sports, entertainment, cricket, crime and more.