SHMIDCAT(1) Shared Memory Trampoline SHMIDCAT(1)NAME
shmidcat - Copies stdin/file to a shared memory block for gtkwave(1)SYNTAX
shmidcat [VCDFILE]
DESCRIPTION
Copies either the file specified at the command line or stdin (if no file specified) line by line to a shared memory block. stdout will
contain a shared memory ID which should be passed on to gtkwave(1).
EXAMPLES
To run this program the standard way type:
cat whatever.vcd | shmidcat
The shared memory ID is emitted to stdout.
shmidcat whatever.vcd | gtkwave -v -I whatever.sav
GTKWave directly grabs the ID from stdin.
LIMITATIONS
This program is mainly for illustrative and testing purposes only. Its primary use is for people who wish to write interactive VCD dumpers
for gtkwave(1) as its source code may be examined, particularly the emit_string() function. It can also be used to test if an existing VCD
file will load properly in interactive mode. Note that it can also be used to redirect VCD files which are written into a pipe to gtk-
wave(1) in a non-blocking fashion.
AUTHORS
Anthony Bybell <bybell@rocketmail.com>
SEE ALSO gtkwave(1)Anthony Bybell 3.0.8 SHMIDCAT(1)
Check Out this Related Man Page
RTLBROWSE(1) File Viewing RTLBROWSE(1)NAME
rtlbrowse - Allows hierarchical browsing of Verilog HDL sourcecode and library design files.
SYNTAX
rtlbrowse <stemsfilename>
DESCRIPTION
Allows hierarchical browsing of Verilog HDL sourcecode and library design files. Navigation through the hierarchy may be done by clicking
open areas of the tree widget and clicking on the individual levels of hierarchy. Inside the sourcecode, selecting the module instantia-
tion name by double clicking or selecting part of the name through drag-clicking will descend deeper into the RTL hierarchy. Note that it
performs optional source code annotation when called as a helper application by gtkwave(1) and when the primary marker is set. Source
code annotation is not available for all supported dumpfile types. It is directly available for LXT2, VZT, FST, and AET2. For VCD, use
the -o,--optimize option of gtkwave(1) in order to optimize the VCD file into FST. All other dumpfile types (LXT, GHW) are unsupported at
this time.
EXAMPLES
To run this program the standard way type:
rtlbrowse stemsfile
The RTL is then brought up in a GTK tree viewer. Stems must have been previously generated with vermin(1) or some other tool capa-
ble of generating compatible stemsfiles. Note that gtkwave(1) will bring up this program as a client application for sourcecode
annotation. It does that by bringing up the viewer with the shared memory ID of a segment of memory in the viewer rather than using
a stems filename.
AUTHORS
Anthony Bybell <bybell@rocketmail.com>
SEE ALSO vermin(1)gtkwave(1)Anthony Bybell 3.3.28 RTLBROWSE(1)
My supervisor keep getting "stdin not tty" or something like that when he pipe or redirect input into a program. Others
don't seem to get this message. Is there some way I can help him to fix or turn this off?
Thx in advance (1 Reply)
hi,
how does a program know whether some data are available from stdin?
I would like to make a program which could read its data from stdin
and _if_there_is_nothing_at_stdin_ from a file which name is given
as an argument. If there is nothing in stdin and no filename is given as
argument,... (2 Replies)
I am writing a more command for my class, and have it most of the way done, but with my current implimentation when I pipe stdin to my code it doesnt use my non-canonical/non echo settings I set for the terminal window. Do I need to specify a different terminal in order for this to work ? It works... (1 Reply)
Hi,
Program A: uses pipe()
I am able to read the stdout of PROGAM B (stdout got through system() command) into PROGRAM A using:
* child
-> dup2(fd, STDOUT_FILENO);
-> execl("/path/PROGRAM B", "PROGRAM B", NULL);
* parent
-> char line;
-> read(fd, line, 100);
Question:
---------... (1 Reply)
hay guys
I want to use shared memory for communication between multiple processes, each one can write and read. I am unable to build the logic, should I go for each process has shared memory with other or should I create one block of memory and shared between all of them.
Second is better but I... (0 Replies)
Hi,
Program A: uses pipe()
I am able to read the stdout of PROGAM B (stdout got through system() command) into PROGRAM A using:
* child
-> dup2(fd, STDOUT_FILENO);
-> execl("/path/PROGRAM B", "PROGRAM B", NULL);
* parent
-> char line;
-> read(fd, line, 100);
Question:
---------... (3 Replies)
Hi all
I've run into a snag in a program of mine where part of what I entered in at the start of run-time, instead of the current value within printf() is being printed out.
After failing with fflush() and setbuf(), I tried the following approach
void BufferFlusher()
{
int in=0;... (9 Replies)
Hi ,
I am working on AIX 5.3 server.I have small program which stores the from database to a particaular shared memory.But while retreiving the valus from the same shared memory, i am getting wrong values.
Please help..... (1 Reply)
Hi,
i know how to
a) redirect stdout and stderr to one file,
b) and write to two files concurrently with same output using tee command
Now, i want to do both the above together.
I have a script and it should write both stdout and stderr in one file and also write the same content to... (8 Replies)
Hi,
I am working on a project where I have to generate and execute nasm code on-the-fly. I generate the code in a file program.asm and then execute it.This output is to stdout which i redirect to an output file which i read back to compare results:
system("nasm -f elf program.asm >... (5 Replies)
Looking for the proper way to bring a string into the stdin. I have a string that I would like to grep and awk. Each have to be run separately, not piped together. So far, the only way I could figure out how is to echo the string and pipe it:
echo 'This is my string' | grep my (3 Replies)
i have to shared a variable between two different c programs with shared memory and i do these:
int main() {
int a=5,b=7;
int buffer;
int *point;
int shmid;
shmid=shmget(IPC_PRIVATE , sizeof(buffer),0666);
point=(int *)shmat(shmid,NULL,0);
point=a;
... (21 Replies)
Hi,
This is a vcd file.A vcd file may have 'n' modules.
1) I need to capture the data in bold,i.e. the module names (shown in bold)
2) Also i need to capture the data inside each individual module,say for tst_bench_top ,i need to capture data from line 4 to line 20 ...
I just want one... (2 Replies)
Oracle Linux 5.6 64-bit (derivative of RHEL)
Dear Ann Landers,
This is about as bizarre as anything I've ever seen.
I have a little test script I've been working with. When I redirect stdout to a file, no file. Make a copy of the script to another name. Execute it and redirect stdout, and... (4 Replies)