Dismiss
InnovationQ will be updated on Sunday, Oct. 22, from 10am ET - noon. You may experience brief service interruptions during that time.
Browse Prior Art Database

Method for displaying text messages in logic simulation waveform viewer using message named message bus

IP.com Disclosure Number: IPCOM000012682D
Original Publication Date: 2003-May-20
Included in the Prior Art Database: 2003-May-20
Document File: 3 page(s) / 52K

Publishing Venue

IBM

Abstract

Disclosed is a merged text and waveform viewer. Waveform data and text messages are normally viewed in different domains. This disclosure allows text messages to be view in the waveform domain.

This text was extracted from a PDF file.
At least one non-text object (such as an image or picture) has been suppressed.
This is the abbreviated version, containing approximately 54% of the total text.

Page 1 of 3

  Method for displaying text messages in logic simulation waveform viewer using message named message bus

In the logic simulation environments, simulation languages execute command and simulate actual logic functionality. The simulation commands generally support displaying data and supporting input and output from the simulation environment.

One common display is a formatted print such as the $display command in Verilog. The is like the formatted display statement , printf, in the C programming language where a text string defines text constants and format commands for a list of variable values. The arguments to the printf and $display functions consist of a control text string and a list of variables that are associated with the format commands in the format string.

By replacing the $display function with $display of a formatted string, and $display_bus command to deposit the formatted message onto a message bus two outputs are generated. The message bus is an 8 bit wide bus that when displayed in the waveform viewer in ASCII format displays the same formatted text string that the original $display function generated for the text log file.

Figure 1 below indicates the standard $display function generating a text output in some text log file. Figure 2 below indicated the $display function generating the text output to a log file as well as generating a message on the message bus named bus[127:0]. The bus , bus[127:0] consists of a 128 bits of data which when displayed in ASCII format reads as a text message. A 128 bit bus is supported by most simulation tools and longer messages are formed by displaying the first 16 characters then delaying some time and displaying the next 16 characters and so on until the complet...