General
NullPointer Exception in Database block
In this case, NullPoiter exception is generated due to which a Database block will have to reference another Database block as the DataStructure_Text of the first database block has extern. When the database block can't be accessed an error will be ...
Error shown when multiple ResourceStatistics are instantiated onto the BDE
When multiple ResourceStatistics are instantiated, the of the blocks must be unique. The following error will be generated when multiple blocks have similar name. VisualSim.kernel.util.IllegalActionException: VisualSim.actor.util.MemoryException: ...
How to genenrate Traffic with Fixed Rate with fixed size
Transaction_Source (Set Distribution to Fixed)
How to generate Clock?
Transaction_Source (or) Clock
How to generate Packet-based network traffic with Variable data size?
Transaction_Sequence (or) Single_Event + Transaction_Trigger + Processing (or Expression List) (generate size and delay to next) + Delay in the loop-back to start next sequence
How to create Multiple instance of any traffic generation
Dynamic Instantiation + (Any combination of blocks inside)
How to Generate Bursty traffic at periodic interval?
Transaction_Sequence (Time_Field) + Delay in the loop-back to start new sequence
How to create Sequence of operations. Eg: Read, Write, read, Read, Eg: 32, 64, 128, 256 Bytes
Transaction_Sequence (Time_Field) + Delay in the loop-back to start new sequence
Custom Distribution
Transaction_Sequence (Time_ and Probability_Field) + Delay in the loop-back to start new sequence
Custom Distribution with variable delay
Transaction_Sequence (Probability_Field) + Delay in the loop-back to start next row
Trace- Network and hardware
Traffic_Reader
Use traffic generated from another model
File_Reader, XML_Task
Read from file and use the content for the delay between transactions
Transaction_Sequence
Start a model execution
Single_Event
Read from csv/Excel file
Database, Traffic_Sequence and Excel_to_DS
Constants or fixed values. Value needs to be changed for each run and stays constant in a single simulation
Parameter
Register or variable
Memory
Flags for setting system condition. Eg. Resource availability
Memory
Storing same states of multiple devices. Eg. Queue length of multi-core
Memory (array type)
Storing intermediate values associated a specific transaction. Eg. Device trace or Time arrived at a port or processor
Data Structure field
Attributes of a transaction. Eg. Data size, priority, source, destination
Data Structure field
Fragment number, last fragment indicator
Data Structure field
Communication information from one part of the system to another instantaneously. Eg. Queue length of an ingress port
Memory
Send notification from one device to the next one
Event (not a block)
Trigger the sending of the next transaction based on completion of prior transaction
Event (not a block)
Temporary License Checkout on FlexLM
To Borrow from FlexlM, the following three steps are to be followed: 1. Initiate license borrowing — Before starting VisualSim Architect or PostProcessor, you must initiate license borrowing on a client system by running the FLEXlm lmborrow utility. ...
Random numbers between simulation runs
System Designer is working on a system that captures statistics on random data generated by a Processing block using the ‘irand’ method. He would like to conduct Monte Carlo simulations and therefore would like the results from each simulation run to ...
Problem opening VirtualMachine model to add custom code
This error occurs with VisualSim Architect 13.1 and Java version 1.7. Please make sure to use Java version 1.6.
License manager will not work if machine name/Host name has "underscore"
We have found that, VisualSim Architect license manager will not work if Machine Name/Host Name has underscore( “_”). If you have underscore in your machine name, then one will get an error saying “VisualSim Time Server could not be contacted”. One ...
File name of VisualSim model that has Verilog_CoSim block
File name of a VisualSim model that has Verilog module as a part of the system should not start with a number/special characters. In addition to this the file name should not contain “_”.
How do i measure the basic default power consumption ?
The basic default power consumption is an input by the designer. If this is an existing sub-system or IP or SoC, you can get this from previous testing. If it is a commercial product such as a Processor, you can get it from the datasheet. If it is ...
How do you prove and explain the accuraccy of your models ?
If it is an existing system, you can compare against the test results on the real system. This would be the foundation to build up further. If it is a completely new system, you will need to check whether the power consumption is within your ...
Port already in use: 1099; nested exception is: java.net.BindException: Address already in use
There can be a couple of reasons. 1.RMIRegistry is already running. This is the usual suspect. By default, RMIRegistry runs on 1099. So, no one will use this port for any other purpose. If this is the case, then comment out the rmiregistry line in ...
How to remove time from display text?
There is a parameter in Display blocks called Append_Time which is a checkbox, just uncheck it to remove time from display text
How to add a newline character to a line of text?
To add a newline character to a line of text, just add “\n” to the text.
control the formatting of numbers
To control the formatting of numbers, the simplest is to add a tab character (“\t”) after the descriptor text. If the descriptor text fits within one tab, or 6-8 characters in length, then numbers should align. If a more sophisticated alignment is ...
How to highlight display output?
There are two possibilities: >> text = "Tuesday" "Tuesday" >> new = text.toUpperCase() "TUESDAY" >> new = text.toLowerCase() "tuesday"
How do i spread Virtual Machine script over multiple lines?
Use "/c" at the end of the line.
Issue with MatLab Interface: Can't load IA 32-bit .dll on a AMD 64-bit platform
Possible error message would appear as below System.load(library): VisualSim/matlab/ptmatlab System.load(libraryPath) FAILED: E:\VisualSim13\VS_AR\VisualSim\matlab\ptmatlab. dll Exception: ...
Animation: "Cannot find the Director. Possibly because this is a Class, not an Instance"
Usually happens when user is trying to animate the module when there is already one instance has animate execution. Please save the stop all animation and retry.
Next page